Multiple receivers on one queue - how to filter a right message?
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alicja_Matusewicz
Posted On:   Monday, November 26, 2001 10:18 PM


There is one common queue and severals consumers attached to it. Each of consumer should receive only a message dedicated for it.



How to achieve this goal?

Messages are sent from native MQSeries application and no JMS properties can be set (i.e. message selector).

I consider the solution with committing the right message and rollbacking the message that is not dedicated for a receiver. Is it OK?

Re: Multiple receivers on one queue - how to filter a right message?

Posted By:   steeven_lee  
Posted On:   Tuesday, December 4, 2001 06:51 AM

1. browser?
2. why not try topic?
3. no auto-acknollege?

Re: Multiple receivers on one queue - how to filter a right message?

Posted By:   Tom_Barnes  
Posted On:   Sunday, December 2, 2001 02:25 PM

How about a dedicated queue per consumer? These can be temporary queues if they need only exist for the life of the consumer.

Re: Multiple receivers on one queue - how to filter a right message?

Posted By:   Alicja_Matusewicz  
Posted On:   Tuesday, November 27, 2001 08:35 PM

Here is my proposed solution.

I will introduce an additional app and additional queue. That additional app would listen to a common queue (connected to MQSeries native app), identify somehow the message and put the message selector to the header of the message. Then this enhanced message will be sent to a queue to which multiple consumers are attached. Each consumer will filter the messages with different message selector so it only receives the message dedicated for it.
About | Sitemap | Contact