two camel instances and jms failover on a topic

2013-10-07 Thread salemi
Hi All,

I like to start two instances of camel. Both of them have a from element
that connects to a jms topic. I like one of the Camel connections to be
active at the time and if one of them fails the other camel instance will
take it over.

How would you implement this in Camel?

Thanks,
Ali



-
Alireza Salemi
--
View this message in context: 
http://camel.465427.n5.nabble.com/two-camel-instances-and-jms-failover-on-a-topic-tp5741060.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: two camel instances and jms failover on a topic

2013-10-07 Thread Willem jiang
Please don't send the question across the mailing list.
Here is the the answer[1] to activemq user mailing list.


[1]http://activemq.2283324.n4.nabble.com/How-to-implement-two-consumers-on-a-topic-Camel-One-of-consumers-is-inactive-until-the-active-one-fa-td4672355.html

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
  http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Tuesday, October 8, 2013 at 6:12 AM, salemi wrote:

 Hi All,
  
 I like to start two instances of camel. Both of them have a from element
 that connects to a jms topic. I like one of the Camel connections to be
 active at the time and if one of them fails the other camel instance will
 take it over.
  
 How would you implement this in Camel?
  
 Thanks,
 Ali
  
  
  
 -
 Alireza Salemi
 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/two-camel-instances-and-jms-failover-on-a-topic-tp5741060.html
 Sent from the Camel - Users mailing list archive at Nabble.com 
 (http://Nabble.com).