One problem with the control bus is you won’t be able to remove the route - 
only stop it.

I’m not sure I understand exactly why you need to removed the route.  Would it 
be possible to use the same “route”, but dynamically configure it to process a 
batch and then stop?  So when you trigger it again, it will process a new batch.

Just thinking out loud - it may not apply

> On Jun 6, 2016, at 8:30 AM, Brad Johnson <brad.john...@mediadriver.com> wrote:
> 
> Personally I'd still be tempted to simply use the flags on the endpoint
> input if possible and not worry about enabling or disabling the route but
> the control bus is the way to go, as Quinn pointed out, if you really want
> that fine a control.
> 
> 
> On Sun, Jun 5, 2016 at 12:07 PM, Daniel P22 <pompadan...@gmail.com> wrote:
> 
>> Once only, and then the route stop and remove from the camel context.
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/How-to-stop-a-dynamic-route-tp5783385p5783477.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>> 

Reply via email to