camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: JMS connections survive undeployment
Date Sun, 02 Mar 2014 17:59:49 GMT
The servlet listener ought to have callbacks for start|stop you can
hook into and do what you need to do.

And stopping the pool after camel is best, as during shutdown of camel
there is maybe inflight jms messaging occurring.

On Sun, Mar 2, 2014 at 4:43 PM, helander <> wrote:
> Hi Claus,
> in order to stop it, I need to know when it is time to stop it. What would
> be an appropriate way to do this? Currently I create/start the pool as part
> of a custom camel component. Can I register something that gets executed
> when the camel context stops, or could I have a destructor on my custom
> component, or ...?
> /Lasse
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:
Make your Camel applications look hawt, try:

View raw message