activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastjan Trepca" <tre...@gmail.com>
Subject Delivering messages to one consumer only
Date Tue, 07 Aug 2007 16:24:19 GMT
Hi all,

I'm a newbie in ActiveMQ world and as I noticed in examples messages
get delivered to all consumers by default? I want to deliver only to
consumer that first receives the message and consumes it.

So the work flow would go like this:

1. get message
2. mark it as read(unreadable by other consumers)
3. process message
4. mark it as processed(remove from queue)

And ideas how to implement this?

Thanks, Sebastjan

Mime
View raw message