amel.apache.org
Subject: RE: Only trigger route if condition is fulfilled?
Thankx Souciance. I guess I was a bit optimistic in my thinking that this might
already be available out-of-the-box in Camel :)
I will go with the first solution you mentioned, although I think that a
RoutePolicy is more
016 1:19 PM
To: users@camel.apache.org
Subject: Re: Only trigger route if condition is fulfilled?
I think if you want to have that kind of fine tuning of the route stop/start
mechanism it is better to have that control outside of the route. That is,
control the route stop/start from another
, even when the file component (the entry point of the
> route) has delete=true set?
>
> /Jimi
>
> -Original Message-
> From: souciance [mailto:[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5784115&i=0>]
> Sent: Thursday, June 16, 2016 12:41 PM
>
mi
-Original Message-
From: souciance [mailto:souciance.eqdam.ras...@gmail.com]
Sent: Thursday, June 16, 2016 12:41 PM
To: users@camel.apache.org
Subject: Re: Only trigger route if condition is fulfilled?
Hi,
Depends, if you want to stop the route completely maybe use the controlbus
c
Hi,
Depends, if you want to stop the route completely maybe use the
controlbus component to send a stop action.
If you use the java dsl, after your condition == true you can add
something like this:
.to("controlbus:route?routeId=&action=stop")
If you just want to stop the route from proceeding