activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Co <...@exist.com>
Subject Re: Basic configuration of peering two machines
Date Wed, 19 Mar 2008 02:26:44 GMT
Are you using failover for the clients?
http://activemq.apache.org/failover-transport-reference.html

uma_rk@comcast.net wrote:
> Env: Jre: 1.6, Activemq 4.1.1:
>
> I am connecting two machines A and B using external brokers as follows:
>
> Machine A:
>       External broker at 61616
>       Tcp Network connector to B
>       Configuration:
>
>        <transportConnectors>
>         <transportConnector name="openwire" uri="tcp://localhost:61616"
>         />
>      </transportConnectors>
>
>      <networkConnectors>
>        <networkConnector
>              name="remote-broker"
>              uri="static://(tcp://A:61616)"
>        />
>      </networkConnectors>
>
>
> Machine B: (symmetric to A):
>       External broker at 61616
>       Tcp Network connector to B
>       Configuration:
>
>        <transportConnectors>
>         <transportConnector name="openwire" uri="tcp://localhost:61616"
>         />
>      </transportConnectors>
>
>      <networkConnectors>
>        <networkConnector
>              name="remote-broker"
>              uri="static://(tcp://B:61616)"
>        />
>      </networkConnectors>
>
> The need is for A to be usable even if B is unavailable.
> However, if B is down, ActiveMQ's clients in A freeze while attempting to obtain a transport
connection.
>
> How do configure both to make sure that A continues to work independent of B and vice
versa?
>
> Thanks in advance for any suggestions,
>
> /Ur
>
>   


Mime
View raw message