So i can do sth like the following,assuming the JmsException stops the route? 
thanks
onException("JmsException.class").to("controlbus:route?routeId=id1&action=start");

    On Monday, November 25, 2019, 10:08:56 PM EST, Tadayoshi Sato 
<sato.tadayo...@gmail.com> wrote:  
 
 You may use Control Bus EIP to start/stop routes from another route.
https://camel.apache.org/components/latest/controlbus-component.html
You may also use JMX to manually start/stop routes. With Hawtio
https://hawt.io this would be easier.
https://camel.apache.org/manual/latest/jmx.html

On Tue, Nov 26, 2019 at 9:37 AM Bing Lu <mfcp...@yahoo.com.invalid> wrote:

>  Hi, is there a way to restart the app in case a route was stopped for
> some reason? thanks



-- 
Tadayoshi Sato
  

Reply via email to