Github user jbertram commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1134#discussion_r108462405
  
    --- Diff: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/remoting/server/impl/RemotingServiceImpl.java
 ---
    @@ -626,7 +626,12 @@ public void bufferReceived(final Object connectionID, 
final ActiveMQBuffer buffe
              ConnectionEntry conn = connections.get(connectionID);
     
              if (conn != null) {
    -            conn.connection.bufferReceived(connectionID, buffer);
    +            try {
    +               conn.connection.bufferReceived(connectionID, buffer);
    +            } catch (RuntimeException e) {
    +               ActiveMQServerLogger.LOGGER.warn("Failed to decode buffer, 
disconnect immediately.", e);
    --- End diff --
    
    This should be done through a custom method on ActiveMQServerLogger.LOGGER 
rather than through the generic warn() method.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to