Hi

For stopping routes see this FAQ
http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html

And <stop> just mean stop continue routing the *current* message.
Camel and the bundle will keep running.


On Sun, Jul 13, 2014 at 10:37 PM, Naveen Raj <naveenra...@gmail.com> wrote:
> Hi Guys,
>               CamelContext.stop() stops your route where your route  is  not
> available right. What is the equivalent in spring configuration .
>
> I am confused with <stop/> where as in the documentation it is mentioned
> here  http://camel.apache.org/intercept.html
> <http://camel.apache.org/intercept.html>   as it will stop the further
> execution .
>
> Will this make the bundle no longer valid exception any time . Will the
> <stop/> tag act like CamelContext.stop() any way.
>
>
> Thanks in advance.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Hot-to-stop-a-route-using-spring-configuration-and-confused-with-the-stop-tag-for-it-tp5753760.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to