activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From corcorda <>
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:
Sent from the ActiveMQ - User mailing list archive at

View raw message