If you need a simple example for restarting a route from another route, I
have an example on Github below:
https://github.com/runstache/camel-restart-routes

There are 2 routes, the Maintenance route will restart the other routes
based on a file drop.

On Tue, Jan 14, 2020 at 6:38 AM Claus Ibsen <claus.ib...@gmail.com> wrote:

> Hi
>
> Yeah likely, see the FAQ
>
> https://camel.apache.org/manual/latest/faq/how-can-i-stop-a-route-from-a-route.html
>
> On Tue, Jan 14, 2020 at 11:45 AM Damien Nicolas <dmn.nico...@gmail.com>
> wrote:
> >
> > Hello,
> >
> > I need to restart the camel context with a quartz at fixed interval.
> > But when I do context.stop() and then context.start() inside quartz
> > processing; the context stop but doesnt start again...
> > Also, when I remotely invoke the JMX camel restart, it works.
> > Is this a normal behaviour?
> >
> > Thanks.
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>

Reply via email to