activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shekhar Naidu" <simplysek...@gmail.com>
Subject Re: ActiveMQ to ActiveMQ bridge
Date Tue, 08 Jul 2008 12:58:07 GMT
thank you james.. thank you very much for the reply


Thank You
Shekhar

On Tue, Jul 8, 2008 at 6:11 PM, James Strachan <james.strachan@gmail.com>
wrote:

> 2008/7/8 Shekhar Naidu <simplysekhar@gmail.com>:
>  > Hi We have requirement to transfer messages from one ActiveMQ to
> another
> > ActiveMQ, meaning we want to have a bridge which autometically transfers
> > messages from one queue to another queue. Source Server Queue to
> Destination
> > server queue.... Is this facility available in ActiveMQ??? ...
>
> Its easiest to do this with Camel...
>
> http://activemq.apache.org/enterprise-integration-patterns.html
>
> <camelContext xmlns="http://activemq.apache.org/camel/schema/spring">
>  <route>
>    <from uri="activemq:com.acme.MyQueue"/>
>    <to uri="activemq2:com.acme.SomeOtherQueue"/>
>  </route>
> </camelContext>
>
> you just need to configure a second activemq component
> http://activemq.apache.org/camel/activemq.html
>
>  <bean id="activemq2"
> class="org.apache.activemq.camel.component.ActiveMQComponent">
>    <property name="brokerURL" value="tcp://somehost:61616"/>
>  </bean>
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>



-- 
Shekhar
simplysekhar@gmail.com
simplysekhar@hotmail.com
shekharnaidu@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message