Can we using this implementation to pull message from a remote queue to a
local queue and guarantee no message loss even when the connection between
two message broker is not stable?




James.Strachan wrote:
> 
> 2008/7/8 Shekhar Naidu <[EMAIL PROTECTED]>:
>> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ActiveMQ-to-ActiveMQ-bridge-tp18337032p18354779.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to