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

Enhance the InactivityMonitor shutdown logic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 5.5.1
    • 5.6.0
    • Transport
    • None

    Description

      The read and write check methods in AbstractInactivityMonitor should be checking the monitorStarted value to ensure that they don't attempt to execute unnecessary read and write check events into the ASYNC_TASKS executor. The effect of the extra checks during shutdown doesn't break anything but can result in a longer time to shutdown the transport and more logging for no reason.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: