Forums Register Login

Message order

+Pie Number of slices to send: Send
Pg 452 says that the order in which messages are delivered is not guaranteed. And as an example it is said that the CancelOrder message could be delivered to an MDB before the PlaceOrder message is delivered. I assume this is in the context of two beans listening to two different ques. But, within the same que is message delivery order guaranteed? Will two PlaceOrder messages msg1 and msg2 be delivered to the beans in the same order they are placed in the que?

Arun N.
+Pie Number of slices to send: Send
First of all the page number of which book ? I presume its HFEJB

Pls see ejb 2.0 specification section 15.4.6
Concurrency of message processing
The specification says that though the container should attempt to process the message in order it receives but there is no gurantee.
So the Order2 can come before Order1.
+Pie Number of slices to send: Send
Yes I meant the HFEJB book and thanks for the reply.
Every snowflake is perfect and unique. And every snowflake contains a very tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 780 times.
Similar Threads
Why would the container create more instances of the same MDB
duplicate messages JMS
Syslog with Jboss
A Question in xyzws mock exam
Doubt in Ordering of JMS queue messages
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 20:18:00.