ActiveMQ
  1. ActiveMQ
  2. AMQ-3800

Check for shutdown before issuing log warnings

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Not a Problem
    • Affects Version/s: 5.x
    • Fix Version/s: 5.9.0
    • Component/s: Transport
    • Labels:
    • Environment:

      N/A

      Description

      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

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Andy Gumbrecht
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development