Message Delivery with concurrent QueueReceivers and message selectors
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gary_Moselen
Posted On:   Sunday, May 2, 2004 09:55 PM

The JMS specification says how messages are distributed to multiple concurrent QueueReceiver s on a single Queue is undefined. If, however, each of the QueueReceiver s are constructed with a message selector expression so that each message on the queue is unambigously destined for a single QueueReceiver is it guaranteed that those messages are delivered to the appropriate QueueReceiver . ie. If I have a first receiver with a message selector "PROPERTY='A'" and then create a second receiver with a message selector "PROPERTY='B'" and then put a message with "PROPERTY='B'" on to the queue can I guarantee that my second   More>>

The JMS specification says how messages are distributed to multiple
concurrent QueueReceiver s on a single Queue is undefined. If,
however, each of the QueueReceiver s are constructed with
a message selector expression so that each message on the queue is
unambigously destined for a single QueueReceiver is it
guaranteed that those messages are delivered to the appropriate
QueueReceiver .


ie. If I have a first receiver with a message selector "PROPERTY='A'"
and then create a second receiver with a message selector
"PROPERTY='B'" and then put a message with "PROPERTY='B'" on to the
queue can I guarantee that my second concurrent receiver will receive
the message? Or could the vendor implementation choose to have the
first receiver skip the message and then not bother looking for
additional concurrent receivers at all.

   <<Less
About | Sitemap | Contact