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

Virtual destination consumers can create invalid demand for Virtual Topics

    XMLWordPrintableJSON

Details

    Description

      When testing out Virtual topics over a network bridge that has the virtual destination consumers feature enabled I noticed that the consumer advisories were wrong. The destinations sent as part of the consumer advisories to create demand over the bridge are using the name of the Virtual Topic.

      This is causing extra demand to flow across the network bridge in some cases because by default the VirtualTopic name is "VirtualTopic.>" . So once one Virtual Topic is created on a remote broker then any messages sent to "VirtualTopic.>" on the local broker will be forwarded over to the other broker even if there is no VirtualTopic matching.

      The solution is to make sure to use the actual topic that the VirtualTopic is subscribed to as part of the advisory messags.

      Attachments

        Activity

          People

            cshannon Christopher L. Shannon
            cshannon Christopher L. Shannon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: