[jboss-jira] [JBoss JIRA] (JGRP-2306) Calling disconnect on StompConnection leads to logging an Error

Eric Nichols (Jira) issues at jboss.org
Fri Oct 19 18:33:00 EDT 2018


Eric Nichols created JGRP-2306:
----------------------------------

             Summary: Calling disconnect on StompConnection leads to logging an Error
                 Key: JGRP-2306
                 URL: https://issues.jboss.org/browse/JGRP-2306
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 3.6.9
         Environment: Linux, Oracle Java
            Reporter: Eric Nichols
            Assignee: Bela Ban


When disconnect() is called in StompConnection it will change running to false and close the connections which can result in an uncaught IOException in the run loop which is logged as an Error.

We desire to log errors, but if disconnect() has been called and running is no longer true then this should not be an unexpected error?

Probably has been a thing for long time, looks like this loop has been in the code for many versions.





--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list