Check for shutdown before issuing log warnings
----------------------------------------------
Key: AMQ-3800
URL: https://issues.apache.org/jira/browse/AMQ-3800
Project: ActiveMQ
Issue Type: Improvement
Components: Transport
Affects Versions: 5.x
Environment: N/A
Reporter: Andy Gumbrecht
Priority: Minor
Fix For: 5.6.0
Transports should check for a valid shutdown before logging connection warnings.
This is not just related to FailoverTransport as I am sure have seen these
warnings for other transports.
2012-04-05 11:20:56,522 INFO [org.apache.activemq.broker.BrokerService]
(ActiveMQResourceAdapter stop) ActiveMQ Message Broker (spectrum,
ID:SPECTRUMSERVER-49194-1333606444606-0:1) is shutting down
2012-04-05 11:20:58,487 WARN
[org.apache.activemq.transport.failover.FailoverTransport] (ActiveMQ NIO Worker
218) Transport (null) failed, reason: java.io.EOFException, attempting to
automatically reconnect
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira