You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Matthias Vetter <ma...@atos.net> on 2013/01/29 12:57:04 UTC

slave broker forwarding dead master's messages to another broker?

The following scenario:
Master and slave share a datastore. Master fails, slave takes over. 
Is it possible to define a forwarding connection from this slave to another
(master) broker, with the result that the slave broker finds the stored
messages sent to the failed master, and automatically sends them to another
broker, that has consumers and subscribers as the failed broker?
The slave itself has no clients attached.

Is this forwarding of stored messages possible? Or would the forwarding of
messages from the slave to the connected broker only work for newly arrived
messages?





--
View this message in context: http://activemq.2283324.n4.nabble.com/slave-broker-forwarding-dead-master-s-messages-to-another-broker-tp4662387.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re:slave broker forwarding dead master's messages to another broker?

Posted by SuoNayi <su...@163.com>.
yes, you can achieve the requirement by setting up a combination of network and master/slave brokers.
The slave can forward messages sent to the failed master broker to another master brokers, not only 
for the newly messages.





At 2013-01-29 19:57:04,"Matthias Vetter" <ma...@atos.net> wrote:
>The following scenario:
>Master and slave share a datastore. Master fails, slave takes over. 
>Is it possible to define a forwarding connection from this slave to another
>(master) broker, with the result that the slave broker finds the stored
>messages sent to the failed master, and automatically sends them to another
>broker, that has consumers and subscribers as the failed broker?
>The slave itself has no clients attached.
>
>Is this forwarding of stored messages possible? Or would the forwarding of
>messages from the slave to the connected broker only work for newly arrived
>messages?
>
>
>
>
>
>--
>View this message in context: http://activemq.2283324.n4.nabble.com/slave-broker-forwarding-dead-master-s-messages-to-another-broker-tp4662387.html
>Sent from the ActiveMQ - User mailing list archive at Nabble.com.