camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Reil <gistenju...@gmx.de>
Subject Delayer: "Transport disposed" at JVM-Shutdown
Date Wed, 25 Feb 2009 12:52:29 GMT

Hi,

I frequently get a "Transport disposed" error for delayed messages when I
shutdown Tomcat.
My route is configured like this:
from(queue).delayer(30000L).bean(customRouterBean).recipientList(HEADER_TARGET_ROUTE);
Depending on some internal state my customRouterBean decides where the
message goes.

When I shutdown Tomcat while a message is being delayed the router cannot
deliver the message finally because a queue (or the broker?) isn't available
anymore.

Can I find out in the router if a queue is still usable?
And is it possible to interrupt the delay at this point because delaying the
message also delays the server shutdown?

Thanks in advance for any help.

Cheers,
Markus

-- 
View this message in context: http://www.nabble.com/Delayer%3A-%22Transport-disposed%22-at-JVM-Shutdown-tp22202167p22202167.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.


Mime
View raw message