You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Netlancer <ne...@mobigraph.co> on 2014/03/21 04:16:29 UTC
Message forwarding on two brokers not working for MQTT
Hi ,
I have setup two brokers A(sender) and B(receiver). both the brokers
have been configured with transport connector for mqtt protocol. only
broker A has been setup for network connector.AdvisorySupport is enabled.
I have 2 clients ( producer) connecting to broker A and consumer
connecting to Broker B. The topic is hierarchical in nature ( c.d ) .
since i am using mqtt protocol, both producer and consumer uses the
topic format ( c/d)
Scenario 1
when broker A is configured with empty dynamicallyIncludedDestination,
the consumer in broker B is able to get the message.
when broker A is configured with dynamicallyIncludedDestination as "c.*"
or "c.>" , the consumer in broker B is not able to get any message. The
message is never forwarded from broker A to B.
broker A configuration:
<networkConnectors>
<networkConnector name="brokerA"
uri="static:(tcp://localhost:61617)" userName="brokerAusr">
<dynamicallyIncludedDestinations>
<topic physicalName="C1/#"/> or <topic
physicalName="C1.*"/> or <topic physicalName="C1.> "/>
</dynamicallyIncludedDestinations>
</networkConnector>
</networkConnectors>
I am using 5.10-SNAPSHOT.
Please, can you let me know if there is anything wrong in the way i have
configured.
Thanks,
nl
Re: Message forwarding on two brokers not working for MQTT
Posted by netlancer <ne...@mobigraph.co>.
Hi,
Please, can you let me know if this wildcard given is correct? As mentioned
earlier, in the absence of dynamicallyIncludedDestination, the messages are
received by the consumer.
Thanks,
nl
--
View this message in context: http://activemq.2283324.n4.nabble.com/Message-forwarding-on-two-brokers-not-working-for-MQTT-tp4679388p4679448.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.