activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bastian Preindl <>
Subject Re: Broker Clustering
Date Wed, 03 Sep 2008 10:04:08 GMT


on one of the both machines (config file follows) it states:

INFO  DemandForwardingBridge         - Network connection between
vm://localhost2#24 and tcp://localhost/ has been

The question is if messages are exchanged in both directions or only from
this machine to the other one. 'cause it doesn't work from the other one to
this machine (whereas the output of the other one doesn't say anything at

Config file of machine #2 (belonging to the machine which establishes the

     <broker xmlns=""
brokerName="localhost2" dataDirectory="${activemq.base}/data">
      <transportConnector uri="tcp://localhost:62002"/>

      <networkConnector uri="static:(tcp://localhost:62001)"/>

            <amqPersistenceAdapter syncOnWrite="false"
directory="${activemq.base}/data" maxFileLength="20 mb"/>


Config file of machine #1:

   <broker xmlns=""
brokerName="localhost" dataDirectory="${activemq.base}/data">
        <!-- Use the following to configure how ActiveMQ is exposed in JMX
            <managementContext createConnector="false"/>
            <amqPersistenceAdapter syncOnWrite="false"
directory="${activemq.base}/data" maxFileLength="20 mb"/>
        <!-- The transport connectors ActiveMQ will listen to -->
            <transportConnector name="openwire" uri="tcp://localhost:62001"
            <transportConnector name="ssl" uri="ssl://localhost:61617"/>
            <transportConnector name="stomp" uri="stomp://localhost:61613"/>
            <transportConnector name="xmpp" uri="xmpp://localhost:61222"/>

Machine #1 shall reliably forward all messages to machine #2, even if broker
#2 fails for some reason (then it should cache the messages until #2 is back
up again).

Thanks a lot!

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message