On Mon, Mar 16, 2009 at 1:48 PM, Markus Reil <gistenju...@gmx.de> wrote: > > 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 custom ExceptionListener did not change anything. >> What do you mean? A onException or what? >> > Right. I implemented ExceptionListener.onException() and set it as the > JmsComponent's exceptionListener. > > Do you have an idea for my original problem? I only get the "Transport > disposed" error beause the messages are delayed. It seems like the sleep > doesn't get interrupted on shutdown. You have to try out Camel 2.0M1 or SNAPSHOT as the fix is in there.
> > Thanks, > Markus > > -- > View this message in context: > http://www.nabble.com/Delayer%3A-%22Transport-disposed%22-at-JVM-Shutdown-tp22202167p22537092.html > Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/