See this page
http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html
And use the searchbox on the front page of the Camel website to type
in keywords, such as "shutdown" and you can find those relevant links
about graceful shutdown. And the link how to configure it in xml
I found that link too but unfortunately little of it uses the XML
configuration like we do.
I got it to work...the bean is auto loaded via magic (wish there was less
magic). I set our timeout to 30 which works great as when the problem
occurs we only have to wait 30 seconds instead of 300 for the
There's a bit of info at this link:
http://camel.apache.org/graceful-shutdown.html
On 26 February 2016 at 14:20, David Hoffer wrote:
> I found a doc that says I can add the following to my camel context. I
> tried it and it worked but then took it out and it still works so this
> problem is ra
How do I inject the defaultShutdownStrategy bean into the camelContext?
On Fri, Feb 26, 2016 at 1:20 PM, David Hoffer wrote:
> I found a doc that says I can add the following to my camel context. I
> tried it and it worked but then took it out and it still works so this
> problem is random it d
I found a doc that says I can add the following to my camel context. I
tried it and it worked but then took it out and it still works so this
problem is random it doesn't happen all the time, no idea what is
triggering it yet.
shutdownRoute="Default" shutdownRunningTask="CompleteCurrentTaskOnly"
Are you using camel-disruptor? I had a lot of problems like that.
You could also configure your own DefaultShutdownStrategy and set a smaller
timeout. For example:
On 26 February 2016 at 13:55, David Hoffer wrote:
> For some reason we are getting the following message from
> the DefaultS