Details
-
Type:
New Feature
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.17.0
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity:Novice
Description
When java main class exits where duration is expired then it should be allowed to exit with a different exit code than 0.
Currently when java main class exists after setDuration() is set to say 60 seconds, it always does that with exit code 0
This does not give flexibility to the parent process to know if camel process exited because it was successful or because Duration limit was it.