activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vjpatel <>
Subject Async messaging - needs a way to know if message is failed to send
Date Mon, 23 Feb 2015 12:47:59 GMT

In my application, I am communicating using queue. Producer sends messages
asynchronously. When any message is failed due to any exception, I need to
know which message is failed.

For this I registered ExceptionListener with ActiveMQConnectionFactory and I
am able to catch the exception. But it does not contain any information
based on which I can identify the message which got failed.

Please help me out with any alternate way to find out failed messages with
asynchronous messaging. It is easy to handle it with synchronous messaging,
but it is not feasible for me to use. 

I found a related post :;cid=1424685174991-313#a2370030
But looks like it is auto-created by jira and so I have not used it for my

Note: In my case, javax.jms.ResourceAllocationException is thrown because of
throttling. And in such case I need to find out what messages are throttled

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

View raw message