On 02/11/2007, Viswanath Durbha <[EMAIL PROTECTED]> 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