Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.11.0
-
None
-
Novice
Description
A timeout of 0 won't timeout in the instant, the time will go negative.
camelcontext.stopRoute(routeId, 0, TimeUnit.SECONDS, false);
[org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -1 seconds.
[org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -2 seconds.
[org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -3 seconds.
Found a post related to it there : http://camel.465427.n5.nabble.com/Forcefully-shutting-down-routes-td5722447.html
Attachments
Attachments
Issue Links
- is cloned by
-
CAMEL-9196 CLONE - DefaultShutdownStrategy shutdown timeout of 0 will never timeout and go in negative time
- Resolved