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

camel-test-blueprint - Possibility to configure Camel Context creation timeout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.12.0
    • 2.11.2, 2.12.1, 2.13.0
    • camel-test
    • None
    • Patch Available
    • Unknown

    Description

      Currently, during startup CamelBlueprintTestSupport waits 30 sec for Camel Context to be ready. Sometimes (quite often for us) this time is not enough even when everything goes well. The value of 30 seconds cannot be easily changed now. The patch that Ive prepared introduces possibility to customize this value, in two ways:

      • Globally, by setting org.apache.camel.test.blueprint.camelContextCreationTimeout system property.
      • Locally for each test, by overriding getCamelContextCreationTimeout method.

      In both cases timeout is set in milliseconds.

      Attachments

        1. TimeoutCustomization.patch
          9 kB
          Ievgen Tarasov

        Activity

          People

            njiang Willem Jiang
            eugene.tarasov Ievgen Tarasov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: