camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <>
Subject Re: Delayer: "Transport disposed" at JVM-Shutdown
Date Wed, 25 Mar 2009 09:02:39 GMT
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 through (eg cancelling timers) could lead
to other kinds of warning messages. I guess the downside of this could
make shutdown take a while to complete - also if routes invoke other
routes you still could have issues where one route wants to send to
another route which is now closed.

So its always gonna be pretty hard to shut down Camel cleanly without
any error messages at all. Maybe we just hide error messages once
shutdown starts? :)

On 25/03/2009, Claus Ibsen <> wrote:
> On Tue, Mar 24, 2009 at 3:42 PM, Markus Reil <> 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 complete route? And point out where the message is
> when you shutdown.
>> Thanks,
>> Markus
>> --
>> View this message in context:
>> Sent from the Camel - Users (activemq) mailing list archive at
> --
> Claus Ibsen
> Apache Camel Committer
> Open Source Integration:
> Blog:


Open Source Integration

View raw message