activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From corcorda <dave.corco...@gmail.com>
Subject Redelivery behaviour
Date Mon, 17 Sep 2007 13:57:30 GMT

I'm a bit confused about redelivery in ActiveMQ, any help would be great.

What I want to happen is as follows:
Worker takes a message off the queue.
If worker fails and calls rollback() the message goes back onto the queue
for another worker to try.
If more than X workers fail the message is sent to the DLQ.

What seems to actually happen is:
Worker calls rollback. 
After a wait time same worker receives same message.
After maximumRedeliveries the message disappears but doesn't appear on DLQ.
Also, which is very strange, other workers calling rollback on the message
don't seem to change its redeliveryCounter.

Am I using redelivery in the wrong way?


-- 
View this message in context: http://www.nabble.com/Redelivery-behaviour-tf4466896s2354.html#a12736398
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message