activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shahzad Bhatti <>
Subject Setting redelivery policy
Date Fri, 27 Feb 2009 19:22:57 GMT

I am using ActiveMQ with Hibernate and Spring. In my listener when I throw a
runtime-exception, the message is sent back to the queue as expected. But I
don't see it's redelivered to the listener. I think by default the maximum
redlivery is 6 before it sends the message to DLQ, e.g.

maximumRedeliveries 	6 	Sets the maximum number of times a message will be
redelivered before it is considered a poisoned pill and returned to the
broker so it can go to a Dead Letter Queue (use value -1 to define infinite
number of redeliveries)

I would appreciate any help with setting up redelivery policy and DLQ.
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message