You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by chris135 <ch...@web.de> on 2015/11/17 14:46:11 UTC

Messages between Brokers

Hi there,

i have 2 Broker. One on my PC another on a Virtual Machine. I publish and
subscribe some messages with mqtt on each of them. Now i want to know how
the messages can be transfered from one broker to the other, that a
subscriber on the first broker can get messages from a publisher on the
other. 



--
View this message in context: http://activemq.2283324.n4.nabble.com/Messages-between-Brokers-tp4704003.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: Messages between Brokers

Posted by chris135 <ch...@web.de>.
Thank you for your answer. It was very helpful.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Messages-between-Brokers-tp4704003p4704103.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: Messages between Brokers

Posted by artnaseef <ar...@artnaseef.com>.
There are two approaches I would recommend.

First is the "network of brokers," which is the simpler one to setup, but
introduces race conditions and caveats (e.g. reduced reliability of temp
destination and topic message flow):

http://activemq.apache.org/networks-of-brokers.html

Second is the use of "static routing," in which you setup the brokers with
bridges that always move messages for specific destinations in one
direction.  There's more than one way to accomplish this:

a. "Pure static networks" section of the network-of-brokers page
b. JMS bridges in ActiveMQ
c. Camel routes
d. other

Note this is not in any particular order.




--
View this message in context: http://activemq.2283324.n4.nabble.com/Messages-between-Brokers-tp4704003p4704065.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.