Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2091

ActiveMQ NetworkConnector support forward all message for a virtual topics using staticallyIncludedDestinations

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • JBoss A-MQ 6.3
    • broker

      We have the following setup for networkConnector: [1] the wildcard thing works (I've verified) when the queue is for other queues, but when it comes to virtualTopics messages are not forwarded (also been verified).

      The work around is to list all the consumer instead of wildcard *

      <queue physicalName="Consumer.A.VirtualTopic.T" />
      <queue physicalName="Consumer.B.VirtualTopic.T" />
      

      We would like

        <staticallyIncludedDestinations>
               <queue physicalName="Consumer.*.T" />
        </staticallyIncludedDestinations>
      

      to work

      [1]

      <networkConnector uri="static${activemq.event.uri})?initialReconnectDelay=${node.id}500&amp;useExponentialBackOff=false&amp;maxReconnectDelay=5000"
                                 name="${activemq.broker.name}-node${node.id}-event-network-connection"
                                      staticBridge="true"
                                      userName="${activemq.event.jmx.user}" password="${activemq.event.jmx.password}"
                                      useCompression="true"
                                      advisoryForFailedForward="true"
                                      conduitSubscriptions="true"
                                      prefetchSize="1000"
                                      messageTTL="-1"
                                      consumerTTL="1">
                                      <staticallyIncludedDestinations>
                                              <queue physicalName="Consumer.*.T" />
                                      </staticallyIncludedDestinations>
                              </networkConnector>
      

              Unassigned Unassigned
              rhn-support-whui Roger Hui
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: