michaelandrepearce edited a comment on issue #2655: ARTEMIS-2327 
ExceptionListener invoked when connection level exception
URL: https://github.com/apache/activemq-artemis/pull/2655#issuecomment-488258690
 
 
   So as i said, the code is doing this for others, and in this case because 
spring wasnt notified on the exception listener it doesnt let go of what became 
a stale connection  when this specific issue occurred. 
   
   As per here, it is meant to be notified of a critical connection exception 
async, and in this side case it wasn't
   https://docs.oracle.com/javaee/6/api/javax/jms/ExceptionListener.html
   
   As said all other ActiveMQConnectionX exceptions seem to be making it to it, 
apart from this one flow found after debugging why spring never got informed. 
Even a timeout caused in other places (such as the pinger) invoke the exception 
listeners, so either the whole of artemis client is doing it fundamentally 
wrong in all places...i find this very hard to believe..., or simply this is 
just a missed exception not making it to the exception listener.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to