activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Turner <steventurner...@gmail.com>
Subject Re: ExceptionListener not getting fired on the client side when using JmsTemplate
Date Tue, 29 Oct 2013 08:46:05 GMT
This issue seems to be happening even if I use the raw ActiveMQ API instead
of using the Spring's JmsTemplate. If I just set ExceptionListener on the
ActiveMQ connection or connectionfactory, it is not getting invoked for
exceptions as part of ActiveMQConnection.start().

It looks to me from the code also that The ExceptionListener is not
invoked/triggered when exception occurs as part of starting the connection.
ActiveMQConnection.start() calls ensureConnectionInfoSent() which calls
syncSendPacket. If the response has an exception here, why is the exception
handler not getting invoked?

Isn't this a bug?

-Steven



--
View this message in context: http://activemq.2283324.n4.nabble.com/ExceptionListener-not-getting-fired-on-the-client-side-when-using-JmsTemplate-tp4673285p4673287.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message