activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kar <>
Subject ActiveMQ 5.5: Not able to get the DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY value
Date Tue, 03 May 2011 16:30:33 GMT

I am not able to get the reason of exception from the message that is in the
These are the steps i have followed:-

1. Message is sent to a 'Sample' Queue.

2. The Message Listener throws a Runtime Exception in the onMessage
Function.(throw new RuntimeException("Exception Reason Test");)

3. The message goes to the DLQ.

4. I am trying to access the Exception reason via two approaches(i pass the
DLQ Name and the JMS Message ID in both):-
- Spring JMSTemplate browseSelected function


- JMX QueueViewMBean browse function via the composite data map

Map&lt;String,String&gt; datamap = 

In both cases i am getting a null value for the property

Please help.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message