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

Advisory broker replay of destination advisories needs to distinguish temp destination from regular destination

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.5.1
    • 5.6.0
    • Broker

    Description

      By default an activemq connection registers an advisory consumer for temp destinations. This is configurable via: jms.watchTopicAdvisories. This allow the client to respond to a request to a deleted temp destination without a round trip to the broker and avoid a possible auto creation.
      At the moment, that advisory consumer gets notified of all destinations, not just temp destinations. So if there are large amounts of destinations, there is an unnecessary flood of advisories on the initial subscribe.
      The workaround, for clients who don't use temps is to disable this advisory monitor, using jms.watchTopicAdvisories=false on the connection factory broker url or setting the corresponding property on the connection factory or connection.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: