[ 
https://issues.apache.org/jira/browse/AMQ-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully resolved AMQ-4637.
-----------------------------

    Resolution: Fixed

http://svn.apache.org/r1504423

cause property of a DLQ message is now propagated with the redelivery policy 
that was exceeded. From code use : 
ActiveMQMessage.DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY

Actual property and sample value
{code}dlqDeliveryFailureCause = 
java.lang.Throwable: Exceeded redelivery policy limit:RedeliveryPolicy 
{destination = null, collisionAvoidanceFactor = 0.15, maximumRedeliveries = 2, 
maximumRedeliveryDelay = -1, initialRedeliveryDelay = 100, 
useCollisionAvoidance = false, useExponentialBackOff = false, backOffMultiplier 
= 5.0, redeliveryDelay = 1000}{code}
                
> Add cause property to DLQ message that exceed redelivery policy, ref the 
> policy
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-4637
>                 URL: https://issues.apache.org/jira/browse/AMQ-4637
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.8.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>              Labels: DLQ, cause, property, redelivery
>             Fix For: 5.9.0
>
>
> To aid browsing messages in the dlq, populate the cause property for messages 
> that fail a redelivery policy. add a ref to the policy so see detail of what 
> failed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to