topic
サブスクライブしているWebsphere MQでメッセージを受信していますstrictly ordered
か?
つまり、 と同様にqueue
、接続が維持されている場合、topic
送信されたのと同じ順序でメッセージを受信することが保証されますか?
JMS仕様による
JMS defines that messages sent by a session to a destination must be received
in the order in which they were sent. This defines a partial ordering
constraint on a session’s input message stream.
JMS does not define order of message receipt across destinations or across
a destination’s messages sent from multiple sessions. This aspect of a
session’s input message stream order is timing-dependent. It is not under
application control.
また
Although clients loosely view the messages they produce within a session
as forming a serial stream of sent messages, the total ordering of this stream
is not significant. The only ordering that is visible to receiving clients is
the order of messages a session sends to a particular destination.
Several things can affect this order like message priority,
persistent/non persistent etc.
したがって、あなたの質問に答えるにはnot really JMS provider specific
、メッセージが受信される順序です。それらは、上記の情報とともに送信されたのと同じ順序で受信されます。ただし、メッセージがサーバーに配信される順序は、メッセージの優先度、永続的/非永続的などの制限によって制約されます。