Re: suppress error from Camel Route on slave

2015-12-30 Thread Quinn Stevenson
I had a similar setup in ActiveMQ 5.11.2 - but the route was a simple timer that wrote a log statement (amount other things). When I ran this configuration in a Master/Slave configuration with a KahaDB store, the routes were only active one ActiveMQ instance at a time. Can you post the camel.x

Re: suppress error from Camel Route on slave

2015-12-29 Thread Tim Bain
Nope, never; I've only read about it here and on the wiki. (I've used Camel, but never embedded in a broker.) Sorry. But others on this list have, so hopefully they can share first-hand knowledge. On Dec 29, 2015 10:22 AM, "Quinn Stevenson" wrote: > Have you tried using the Broker Camel Compon

Re: suppress error from Camel Route on slave

2015-12-29 Thread Quinn Stevenson
Have you tried using the Broker Camel Component ( http://activemq.apache.org/broker-camel-component.html )? I thought that it wouldn’t start the route unless the broker was running. Quinn Stevenson qu...@pronoia-solutions.com (801) 244-

Re: suppress error from Camel Route on slave

2015-12-29 Thread Tim Bain
I was suggesting that as an enhancement (for which a JIRA enhancement request would need to be submitted if you think it would be useful). I don't know of a currently-implemented way to do that, though if one exists then hopefully someone else will share how to do it. Your original question was a

Re: suppress error from Camel Route on slave

2015-12-29 Thread mtod
That's what I would like to happen but the question is how? Thanks Mike -- View this message in context: http://activemq.2283324.n4.nabble.com/suppress-error-from-Camel-Route-on-slave-tp4705457p4705478.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: suppress error from Camel Route on slave

2015-12-29 Thread Tim Bain
Maybe the broker should automatically suspend all embedded Camel routes when it becomes a slave, and resume them when it becomes a master? On Dec 28, 2015 4:18 PM, "mtod" wrote: > I'm running ActiveMQ 5.13 on a leveldb cluster. > My ActiveMQ.xml config contains a Camel route in an include file. >