activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: broker1-->q1 to broker2-->q2
Date Fri, 02 Nov 2007 08:52:16 GMT
On 02/11/2007, Viswanath Durbha <Viswanath.Durbha@gmail.com> wrote:
>
> Hi,
>
> I am using activemq 5.0. I have a question regarding forwarding messages
> from two pre-configured queues on different broker instances.
>
> Let's say I'm running two brokers broker1 and broker2. broker1 will have a
> queue q1 and broker2 will have a queue q2. How do I configure these brokers
> so that any message put in broker1-->q1 will be forwarded to broker2-->q2?

If they are the same queue name you use a network of brokers.

If you want to use different queues then using a Camel route is the simplest...
http://activemq.apache.org/camel/

<route>
  <from uri="activemq:q1"/>
  <to uri="remoteBroker:q2"/>
</route>

-- 
James
-------
http://macstrac.blogspot.com/

Open Source SOA
http://open.iona.com

Mime
View raw message