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

camel-core - Add possibility to set some condition for Camel to wait during startup before continuing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.9.0
    • camel-core
    • None
    • Unknown

    Description

      We should have some kind of API for end users to plugin custom code, and also have out of the box easy configurations to set some condition before Camel continue booting. This should happen very early.

      For example to wait for a ENV variable to exist or match a value. Or to wait for a file to exist, etc. 

      And there should be a timeout value and fail if not meet.

      This should be configurable something easily in camel.main.xxx,  maybe such as

      camel.main.boot-condition.environment-variable=FOO_BAR

      camel.main.boot-condition-timeout=10000

       

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: