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?
>
> onException(*ConnectionException.class*).
>
> *process( ...stop and restart myendpoint here ...) *
> from("myendpoint").to("log:test-exception")
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/Restarting-an-Endpoint-
> from-an-ErrorHandler-tp5791563.html
> To start a new topic under Camel - Users, email
> ml-node+s465427n465428...@n5.nabble.com
> To unsubscribe from Camel - Users, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=>
> .
> NAML
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://camel.465427.n5.nabble.com/Restarting-an-Endpoint-from-an-ErrorHandler-tp5791563p5791568.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to