Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3074

Expose TransportConnection.stopping

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.4.2
    • 5.6.0
    • Broker
    • None
    • Patch Available

    Description

      Pleas expose the boolean broker.TransportConnection.stopping.

      When an exception occurs on a TransportConnection (aka client closes or drops connection to server), there is no visibility into the fact that the connection is broken until the async stop process stops. Often this gets delayed by other processing. The 'stopping' variable gets set immediately on exception and so processes that are doing work with the connection can check it and get immediate feedback.

      Attachments

        1. amq-3074.patch
          0.6 kB
          Adam Sussman

        Activity

          People

            tabish Timothy A. Bish
            asussman Adam Sussman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: