Multiple Subscribers
1 posts in topic
Flat View  Flat View

Posted By:   Nuno_Martins
Posted On:   Thursday, June 5, 2003 12:45 PM

If subscriber1 and subscriber2 are listening to topic1, and a message arrives to this topics, I just want that subscriber1 get this message and lock it. When subscriber2 get message, it will
see that Message is lock and will discard it.

Another way is a subscriber notify all subscribers that are listening same topic that a message will be processed by this subscriber. Is This possible?

A just to implement a message lock mechanism.

Any ideias?

Nuno Martins

Re: Multiple Subscribers

Posted By:   Nick_Maiorano  
Posted On:   Thursday, June 5, 2003 07:06 PM


If you really want to 1 message consumed by only 1 subscriber, why not just use JMS queues instead of topics? Topics are designed for multiple subscribers while queues are for single subscribers.

About | Sitemap | Contact