camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Unable to stop the route
Date Mon, 16 Dec 2013 07:41:48 GMT
Then set a low timeout value so the route is stopped quicker and
forced being stopped.

See details at
http://camel.apache.org/graceful-shutdown.html


On Sat, Dec 14, 2013 at 1:48 PM, srikanthsettivari
<srikanth.settivari@gmail.com> wrote:
> Hi,
> I have configured the route,  like
>
> from("jms:queue:queue1")
>                         .transacted()
>                         .process(new Processmyprocess())
>                         .to("jms:queue:queue2");
>
> At the time of processing the messages from queue1 to end queue2, if we try
> to stop the route, it is not stopping, until all the messages reach to the
> queue2.
> I am using camelContext.stopRoute(routeName), it is not working.
> I want to stop the route irrespective of processing the messages. The route
> should stop immediately.
>
> Could you please any one help on this one?
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Unable-to-stop-the-route-tp5744772.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message