Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-25 Thread James Strachan
We maybe need to introduce some clean shutdown mechanism into consumers; so we can tell all the consumers we're about to shutdown; then they can gracefully stop processing the current route's message - then we actually stop the consumers (then the endpoints components etc). Stopping routes midway

Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-25 Thread Claus Ibsen
On Wed, Mar 25, 2009 at 10:02 AM, James Strachan james.strac...@gmail.com wrote: We maybe need to introduce some clean shutdown mechanism into consumers; so we can tell all the consumers we're about to shutdown; then they can gracefully stop processing the current route's message - then we

Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-25 Thread James Strachan
2009/3/25 Claus Ibsen claus.ib...@gmail.com: On Wed, Mar 25, 2009 at 10:02 AM, James Strachan james.strac...@gmail.com wrote: We maybe need to introduce some clean shutdown mechanism into consumers; so we can tell all the consumers we're about to shutdown; then they can gracefully stop

Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-25 Thread Claus Ibsen
On Wed, Mar 25, 2009 at 10:49 AM, James Strachan james.strac...@gmail.com wrote: 2009/3/25 Claus Ibsen claus.ib...@gmail.com: On Wed, Mar 25, 2009 at 10:02 AM, James Strachan james.strac...@gmail.com wrote: We maybe need to introduce some clean shutdown mechanism into consumers; so we can

Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-25 Thread Claus Ibsen
Hi Created a ticket for better graceful shutdown in Camel https://issues.apache.org/activemq/browse/CAMEL-1483 On Wed, Mar 25, 2009 at 11:06 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Wed, Mar 25, 2009 at 10:49 AM, James Strachan james.strac...@gmail.com wrote: 2009/3/25 Claus Ibsen

Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-24 Thread Markus Reil
Hi, thanks for your help. But I am still experiencing the same problem. The sleep does not get interrupted (2.0-M1). Do you have any idea why this happens? Let me know if you need more information. Thanks, Markus -- View this message in context:

Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-24 Thread Claus Ibsen
On Tue, Mar 24, 2009 at 3:42 PM, Markus Reil gistenju...@gmx.de wrote: Hi, thanks for your help. But I am still experiencing the same problem. The sleep does not get interrupted (2.0-M1). Do you have any idea why this happens? Let me know if you need more information. Can you show the

Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-16 Thread Markus Reil
Hi, thanks for your reply. Claus Ibsen-2 wrote: If you do NOT way any error handling in camel just set the error handler to no error handler :) Yeah maybe we need a nicer DSL for disabling it errorHandler(noErrorHandler()); That works. Thanks. Claus Ibsen-2 wrote: Setting up a

Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-16 Thread Markus Reil
Claus Ibsen-2 wrote: Which version of Camel are you using? And are you sure there is a message in delay in Camel, while you shutdown? Are you also using JMS? I'm using 1.5.0 at the moment and I'm sure the message is in delay: [15:27:03.598] [DEBUG] [DelayRoutes] Save exchange to

Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-16 Thread Claus Ibsen
On Mon, Mar 16, 2009 at 3:34 PM, Markus Reil gistenju...@gmx.de wrote: Claus Ibsen-2 wrote: Which version of Camel are you using? And are you sure there is a message in delay in Camel, while you shutdown? Are you also using JMS? I'm using 1.5.0 at the moment and I'm sure the message

Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-14 Thread Claus Ibsen
On Fri, Mar 13, 2009 at 5:56 PM, Markus Reil gistenju...@gmx.de wrote: Hi, does anyone have an idea here please? I tried to configure a global errorHandler like errorHandler(loggingErrorHandler(com.kekaya.activemq)); or errorHandler(deadLetterChannel(direct:err).maximumRedeliveries(0));

Re: Delayer: Transport disposed at JVM-Shutdown

2009-03-13 Thread Markus Reil
Hi, does anyone have an idea here please? I tried to configure a global errorHandler like errorHandler(loggingErrorHandler(com.kekaya.activemq)); or errorHandler(deadLetterChannel(direct:err).maximumRedeliveries(0)); but the Exception still gets processed by camel's default DeadLetterChannel.