Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
See CAMEL-6685
And also
http://camel.465427.n5.nabble.com/Discussion-around-the-bug-CAMEL-6685-tp5738305.html
If shutting down camel context and a timeout is hit, and there is still inflight message, then we could add a new option so end users can turn off any logging after camel context state = stopped. Then any inflight messages that may gets rejected or whatnot will not be logged.
This requires that we pass on camel context to various exceptionhandler and error handler, camel logger etc so they can check the state of camel context before logging.