Re: Restarting an Endpoint from an ErrorHandler

2016-12-16 Thread souciance
You can use the controlbus to stop and start routes from another route so in theory if you use the control bus then it should work. On Fri, Dec 16, 2016 at 1:55 PM, sa_james [via Camel] < ml-node+s465427n5791563...@n5.nabble.com> wrote: > Does something like the following make sense? > > onExcept

Re: Restarting an Endpoint from an ErrorHandler

2016-12-16 Thread Taariq Levack
Hi Guess it depends on your case if restarting can fix the connection problem, but try the control bus to stop/start. https://camel.apache.org/controlbus.html Cheers On 16 Dec 2016 14:56, "sa_james" wrote: > Does something like the following make sense? > > onException(*ConnectionException.cla