On Tue, Sep 29, 2009 at 10:54 PM, Allen Lau <[email protected]> wrote:
> Hi,
>
> Been getting a lot of these types of messages from the
> DefaultMessageListenerContainer when I try to refresh or shutdown a camel
> route inside of an OSGi container.   I know that I can tune the
> recoveryInterval( in the JmsConfiguration component) to a shorter period
> like 1000 or lower to alleviate the problem.
>
> Is there a way to configure the JmsComponent to stop connection recovery
> when a camel route is being stopped?

Its the JmsConsumer that is stopping. Check its doStop method.
Its basically delegating to the spring DMLC to stop as well. So its
spring that writes this LOG message.

In the Camel trunk code we have recently improved the shutdown of
Camel routes. That could beforehand cause e.g. when using JMS it as
appearing it was kinda hanging or taking a long time to shutdown. Now
its much snappier.

You could try with latest code to see how it goes now.




>
> Thanks,
> Allen
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to