activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbutalia <sbuta...@gmail.com>
Subject Pulling Messages via CorrelationID
Date Tue, 29 Sep 2009 00:43:53 GMT

I would like to put messages into a queue and retrieve them via a
correlationID when an event is invoked by a user. example:

1. I try to create a record
2. The system finds a duplicate and queues up the duplicate in  the
"duplicate queue" id=123
3. I resolve the duplicate
3. The system fires the topic "Duplicate Resolved" id=123
4. The system now needs to grab the duplicate item from "duplicate queue"
via the correlationID 123...

How I perform the last step once? and pull the item from the queue that
matches the id 123?

I would like to avoid setting up a dynamic long running listener because if
the server restarts then there goes my listener. Or may be there is a way to
persist my listener? 

Thanks.
-- 
View this message in context: http://www.nabble.com/Pulling-Messages-via-CorrelationID-tp25655190p25655190.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message