activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuconic <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #1350: ARTEMIS-1240 Disconnect at client side ...
Date Wed, 21 Jun 2017 14:25:22 GMT
Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1350#discussion_r123263581
  
    --- Diff: artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java
---
    @@ -1140,7 +1140,17 @@ public void bufferReceived(final Object connectionID, final ActiveMQBuffer
buffe
              RemotingConnection theConn = connection;
     
              if (theConn != null && connectionID.equals(theConn.getID())) {
    -            theConn.bufferReceived(connectionID, buffer);
    +            try {
    +               theConn.bufferReceived(connectionID, buffer);
    +            } catch (final RuntimeException e) {
    +               ActiveMQClientLogger.LOGGER.disconnectOnErrorDecoding(e);
    --- End diff --
    
    thanks! 👍 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message