activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ttmdev <joe.fernan...@ttmsolutions.com>
Subject Re: Configure ActiveMQ as a broker and a bridge at the same time
Date Thu, 08 Nov 2007 14:26:40 GMT

By default, a forwarding bridge does not support message flow in both
directions. However, if you're using a relatively recent AMQ 5.0 SNAPSHOT,
you can override this default behavior by setting the networkConnector
element's 'duplex' attribute to true as follows. This will create a two-way
or full-duplex bridge.  

<networkConnector uri="static:(tcp://localhost:61617)">
           name="duplexbridge"
           duplex="true"                  	      	
</networkConnector> 

Hope this helps 
 


ranjan santa wrote:
> 
> Hi
> 
> I am putting messages in a queue and forward them over two bridges in a
> row to a broker, all ActiveMQ instances on different machines. This works
> well.
> 
> But also I want to send messages back on another queue. So as I
> understand, I have to configure the broker also as a bridge, the middle
> bridge to forward in the other direction and the first bridge to be a
> broker too.
> 
> This is not working, the messages are not beeing forwarded from the other
> end. I am not sure if this is the right way to do this.
> Are there any suggestions?
> Thanks, Ranjan
> 

-- 
View this message in context: http://www.nabble.com/Configure-ActiveMQ-as-a-broker-and-a-bridge-at-the-same-time-tf4771076s2354.html#a13647924
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message