camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quinn Stevenson <qu...@pronoia-solutions.com>
Subject Re: How to stop a dynamic route
Date Fri, 03 Jun 2016 15:13:28 GMT
You could use the control bus to stop the route ( http://camel.apache.org/controlbus.html <http://camel.apache.org/controlbus.html>
)

> On Jun 2, 2016, at 5:06 AM, Daniel Pompa <pompadaniel@gmail.com> wrote:
> 
> If you see, I have a do-while monitoring the value of the var
> CamelBatchComplete, then when is true, stop and remove the route from Camel
> Context. I don't like this.
> 
> My question is, there a better way to stop and remove the route when the
> Batch finish? Using the RouteBuilder for example.
> 
> Thanks.
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-stop-a-dynamic-route-tp5783385p5783389.html
> Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message