[ 
https://issues.apache.org/jira/browse/ARTEMIS-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975521#comment-16975521
 ] 

Justin Bertram commented on ARTEMIS-2553:
-----------------------------------------

Version 1.6 (which you noted in the "Affects Version/s") is quite old. Can you 
try the latest release (i.e. 2.10.1) and see if you still observe the same 
behavior?

> On connection failure, not receiving JMS ExceptionListener message
> ------------------------------------------------------------------
>
>                 Key: ARTEMIS-2553
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2553
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>         Environment: Amazon linux on Tomcat 9.0, JDK 1.8
>            Reporter: Mitchell Ackerman
>            Priority: Major
>
> On a connection failure, artemis detects the failure:
> 2019-11-14 05:00:58,970 [Thread-13691 
> (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@23e9e1b6)]
>  WARN [RemotingConnectionImpl.fail() 198] - AMQ212037: Connection failure has 
> been detected: AMQ119014: Did not receive data from /10.94.80.72:37708 within 
> the 60,000ms connection TTL. The connection will now be closed. 
> [code=CONNECTION_TIMEDOUT]
>  
> we have a JMS Exception listener added:
> connection.setExceptionListener(new ExceptionListener() 
> \{connection.setExceptionListener(new ExceptionListener() { @Override public 
> void onException(JMSException exception) { 
> log.info(LogFactory.getJsonLogger("connection has failed, message: " + 
> exception.getMessage())); consumer.accept(exception); } });
> but never receive any event
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to