activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <>
Subject Re: Is bidirectional bridging of two brokers possible?
Date Fri, 18 Jan 2008 18:10:45 GMT

On Jan 18, 2008, at 4:13 PM, Viktor Matić wrote:

> Hi,
> I have installed two brokers (ActiveMQ 4.x)  on which producers are  
> creating queues with identical names. At some point I need to  
> interconnect these two brokers to enable message flow between them.  
> My idea is to create a queue in the first one eq. out1.queue which  
> is bridged to the other message broker and named eg. in2.queue. This  
> can be easily done with bridging and everything works as it should.  
> I also need to send messages in opposite direction, from second  
> broker to the first one. I have tried to use same approach to solve  
> this but I have failed. Logically, problem arise while trying to  
> start message brokers because first one started complains with  
> exception Could not connect to broker URL: tcp://
> I have read posts that suggests using network of brokers to resolve  
> situations described above. But as I can understand in that case all  
> queues propagate through whole network of brokers. Which in my case  
> would lead to queue name collision since these to brokers contain  
> queues with same names.
> I am new to JMS technology so my apologies if I am asking to simple  
> question.
> What is best approach to bidirectionally interconnect to brokers?
> Viktor
Hi Viktor,

I suggest you upgrade to ActiveMQ 5 - and read this:
You can configure your brokers to use networks that only forward to  
certain destinations (inclusive filters) or exlude certain  
destinations (exclusive filters)



Rob Davies
'Go further faster with Apache Camel!'

View raw message