Re: Graceful shutdown not working
Tested, it works :) -- View this message in context: http://camel.465427.n5.nabble.com/Graceful-shutdown-not-working-tp5733697p5735648.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Graceful shutdown not working
Helper.process(AsyncProcessor, Exchange, AsyncCallback) > line: > 73 > InstrumentationProcessor(DelegateAsyncProcessor).processNext(Exchange, > AsyncCallback) line: 99 > InstrumentationProcessor(DelegateAsyncProcessor).process(Exchange, > AsyncCallback) line: 90 > InstrumentationProcessor.process(Exchange, AsyncCallback) line: 72 > AsyncProcessorHelper.process(AsyncProcessor, Exchange, AsyncCallback) > line: > 73 > SedaConsumer.sendToConsumers(Exchange) line: 275 > SedaConsumer.doRun() line: 183 > SedaConsumer.run() line: 139 > > RejectableThreadPoolExecutor(ThreadPoolExecutor).runWorker(ThreadPoolExecutor$Worker) > line: 1110 > ThreadPoolExecutor$Worker.run() line: 603 > Thread.run() line: 636 > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Graceful-shutdown-not-working-tp5733697p5733763.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - www.camelone.org: The open source integration conference. Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
Re: Graceful shutdown not working
3 SedaConsumer.run() line: 139 RejectableThreadPoolExecutor(ThreadPoolExecutor).runWorker(ThreadPoolExecutor$Worker) line: 1110 ThreadPoolExecutor$Worker.run() line: 603 Thread.run() line: 636 -- View this message in context: http://camel.465427.n5.nabble.com/Graceful-shutdown-not-working-tp5733697p5733763.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Graceful shutdown not working
Sounds a bit odd. If the splitter only logs What Camel version do you use? On Mon, Jun 3, 2013 at 3:01 PM, miljenko wrote: > Hi, > > I've got graceful shutdown issue that can be reproduced with this route: > > > errorHandler(deadLetterChannel("direct:queue2") > .maximumRedeliveries(1) > ); > > from("seda:queue1") > .log("Checkpoint 1") > .split(body()) > .log("Checkpoint 2") > .end() > .log("Checkpoint 3"); > > > from("direct:queue2") > .log("Checkpoint 4"); > > > If ".maximumRedeliveries(1)" is commented out, it works as expected, but > with this line, message stays in flight and "Checkpoint 2" is never reached. > > Is this a Camel bug, if not, how can it be fixed? > > Best regards, > Miljenko > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Graceful-shutdown-not-working-tp5733697.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - www.camelone.org: The open source integration conference. Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
Graceful shutdown not working
Hi, I've got graceful shutdown issue that can be reproduced with this route: errorHandler(deadLetterChannel("direct:queue2") .maximumRedeliveries(1) ); from("seda:queue1") .log("Checkpoint 1") .split(body()) .log("Checkpoint 2") .end() .log("Checkpoint 3"); from("direct:queue2") .log("Checkpoint 4"); If ".maximumRedeliveries(1)" is commented out, it works as expected, but with this line, message stays in flight and "Checkpoint 2" is never reached. Is this a Camel bug, if not, how can it be fixed? Best regards, Miljenko -- View this message in context: http://camel.465427.n5.nabble.com/Graceful-shutdown-not-working-tp5733697.html Sent from the Camel - Users mailing list archive at Nabble.com.