You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by kms <sh...@gmail.com> on 2009/04/16 06:46:22 UTC

distributed configuration with intermittent network connection

I am trying to configure a system as follows:-

publisher -> AMQ on m1 --> AMQ on m2 --> subscriber
where m1 and m2 are connected over a WAN and the connection is intermittent.
Also, m1 does not have a public IP, and hence m2 cannot pull messages from
m1.
m1 has to sense that the network connection is up and push the messages to
m2.

I could not figure out the right configuration to use for this.

pointers in the right direction (and even more so, configuration samples)
would be highly
appreciated.

Thanks
-- 
View this message in context: http://www.nabble.com/distributed-configuration-with-intermittent-network-connection-tp23071355p23071355.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: distributed configuration with intermittent network connection

Posted by Andreas Gies <ag...@progress.com>.
Hi there,

if I am not missing the point, you could do that with a static route  
from m1 to m2.
You should enable duplex = true, so that messages can go in both  
directions.

This is important as the advisory messages need to go from m1 to m2  
and vice versa.

I have attached 2 files that contain a simple configuration for  
establishing a static route.


Best regards
Andreas




-------------------------------------------------------
Progress Software GmbH
Sitz der Gesellschaft: Agrippinawerft 26, 50678 Koeln;
Niederlassung: Fuerstenrieder Str. 279, 81377 Muenchen
Amtsgericht Koeln, HRB 15620; 
Geschaeftsfuehrung: David Ireland
-------------------------------------------------------