I have a setup for two brokers. The configuration is as follows:

<amq:broker id="jmsBroker" persistent="false" start="true">
            <amq:transportConnectors>
              <amq:transportConnector uri="tcp://0.0.0.0:61615"
discoveryUri="multicast://default" />
            </amq:transportConnectors>
            <amq:networkConnectors >
                <amq:networkConnector name="nexus-network-connector"
uri="multicast://default" duplex="true">           
                </amq:networkConnector>
            </amq:networkConnectors>
</amq:broker>

The other broker is the same configuration, but the transport connector
listens on port 61616. I successfully see TextMessages between the two
brokers using a topic named "HEALTH.STATUS". If I connect both clients to
the same broker, I receive the Advisory messages for Connections and the
topic publisher. However, I do not seem to be getting Advisory messages when
I use a client with each broker. (The advisory message from remote broker is
never received.) 

I tried adding a destination filter and dynamicallyIncludedDestinations, but
there was no change in the behavior. For reference, my changes were:

<amq:networkConnector name="nexus-network-connector"
uri="multicast://default" duplex="true"
destinationFilter="Topic.HEALTH.STATUS,ActiveMQ.Advisory.Producer.Topic,ActiveMQ.Advisory.Producer.Topic.HEALTH.STATUS">
                        <amq:dynamicallyIncludedDestinations>
                            <amq:topic
physicalName="ActiveMQ.Advisory.Producer.Topic"></amq:topic>
                            <amq:topic
physicalName="HEALTH.STATUS"></amq:topic>
                            <amq:queue
physicalName="HEALTH.STATUS"></amq:queue>
                        </amq:dynamicallyIncludedDestinations>
           </amq:networkConnector>

How do I get either the remote broker to forward Advisory messages or the
local broker to send them to the consumer for the local client?




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-Advisory-Remote-Brokers-tp4710771.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to