AFAIK, expired messages are not sent to DLQ. You can raise a jira for this if you want this feature added :)
  http://issues.apache.org/activemq/secure/Dashboard.jspa

Regards,
Jonas

Christopher_Ong wrote:
Sorry, what do you meant you don't believe expired messages are sent to DLQs
though? Does it mean that u oso facing the problem to automatically send the
dead msg to DLQ?

jlim wrote:
Hi,

Messages are automatically sent to DLQ when they hit their redelivery maximum. I don't believe expired messages are sent to DLQs though.
Regards,
Jonas


Christopher_Ong wrote:
Is it when the message expire then it will auto been sent to DLQ? Or I
have
to manually send it to the DLQ?


jlim wrote:
Oh btw, here is an example on using them :

https://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/RedeliveryPolicyTest.java



Jonas Lim wrote:
hi,

It's the destination name for the dead letter queue. You can have a consumer listen to this queue and should be able to get the message(if any) off the DLQ .

Regards,
Jonas

Christopher_Ong wrote:
May I know what is ActiveMQ.DLQ?

Reply via email to