Re: Graceful shutdown not working

2013-07-15 Thread miljenko
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

2013-06-04 Thread miljenko

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

2013-06-04 Thread Claus Ibsen
(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


Graceful shutdown not working

2013-06-03 Thread miljenko
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.


Re: Graceful shutdown not working

2013-06-03 Thread Claus Ibsen
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 miljenko.br...@2e-systems.com 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