Okay, I figured out some things since my last post.

But I'm still unable to make messages pass from Broker A to Broker B.

I have the following activemq.xml:

  <broker brokerName="brokerA" ....

    <transportConnectors>
       <transportConnector name="inFromProducer" uri="tcp://localhost:8881"
/>
    </transportConnectors>

    <networkConnectors>      
      <networkConnector name="outToBrokerB"
uri="static://(tcp://localhost:9991)" dynamicOnly="true" networkTTL="5" />
    </networkConnectors>
    ....

So, I have a producer publishing messages to brokerA and then I'm trying to
forward those messages to broker B. BrokerB has the following config:

<broker brokerName="brokerB" ....
    <transportConnectors>
       <transportConnector name="inFromBrokerA" uri="tcp://localhost:9991"
/>
           <transportConnector name="inFromConsumer" uri="tcp://localhost:9992" 
/>
    </transportConnectors>
    ...

On BrokerB I have a consumer connected to port:9992

I can't receive messages through BrokerA. If I send messages directly to
BrokerB then my consumer receives the messages.

Can someone help me?

Thanks.
-Willy
-- 
View this message in context: 
http://www.nabble.com/Network-of-Brokers---Broker-A-talking-to-Broker-B-tp15510192s2354p15550385.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to