Per Jørgen Walstrøm created CAMEL-6196:
------------------------------------------
Summary: setting DefaultShutdownStrategy.setTimeout(0L) may cause
infinite timeout
Key: CAMEL-6196
URL: https://issues.apache.org/jira/browse/CAMEL-6196
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.10.4
Reporter: Per Jørgen Walstrøm
Priority: Trivial
defaultShutdownStrategy.setTimeout(0L);
may give the following when shutting down and inflight exchanges do not complete
[Camel (camel) thread #2 - ShutdownTask] INFO
org.apache.camel.impl.DefaultShutdownStrategy - Waiting as there are still 2
inflight and pending exchanges to complete, timeout in 0 seconds.
[Camel (camel) thread #2 - ShutdownTask] INFO
org.apache.camel.impl.DefaultShutdownStrategy - Waiting as there are still 2
inflight and pending exchanges to complete, timeout in -1 seconds.
[Camel (camel) thread #2 - ShutdownTask] INFO
org.apache.camel.impl.DefaultShutdownStrategy - Waiting as there are still 2
inflight and pending exchanges to complete, timeout in -2 seconds.
[...]
[Camel (camel) thread #2 - ShutdownTask] INFO
org.apache.camel.impl.DefaultShutdownStrategy - Waiting as there are still 2
inflight and pending exchanges to complete, timeout in -323 seconds.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira