Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9449

Allow to specify custom exit code when camel exits due to expired Duration

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.17.0
    • camel-core
    • None
    • 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.

      Attachments

        Activity

          People

            lb Luca Burgazzoli
            njaiswal Nishant Jaiswal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: