Either use a topic and durable subscriptions for each consumer or use
virtual topics to achieve the same kind of thing but allowing you to
use queues to consume

http://activemq.org/site/new-features-in-41.html

On 8/22/06, Sandeep Chayapathi <[EMAIL PROTECTED]> wrote:
Hi,
 I have a system where multiple consumers need to process the same
message. For eg: one consumer, generates a email based on the message
and another consumer applies some business rule on the same message, and
so on.

 Initially I had a topic so that all the consumers would receive the
message. However I need to ensure that if a consumer had to be stopped &
restarted, it would process all the message that it missed.  I could
setup a queue for each consumer, but since the consumers can be
added/removed dynamically, it is ruled out. Any idea on how I should
setup activemq for this ? Thanks.

- Sandeep



--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to