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.

Reply via email to