I add two JMS messages in the same destination sequentially. Will both of these messages be received in the same order in which I added them, or is there a chance of reverse ordering, that is, when the message is first received at the destination, it will be received first.
I add to the destination as:
producer.send(Msg1);
producer.send(Msg2);
Msg1and Msg2will be added sequentially in all cases (for example, network failures and latency, etc.)?
source
share