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

Camel Undertow Starter causes configuration issues with DirtiesContext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.8.0
    • camel-undertow
    • None
    • Unknown

    Description

      Sample project demonstrating the issue:

      https://github.com/jsight/camel-undertow-configbug

       

      If the tests are run all together, DirtiesContext will cause the configuration to be reloaded between each test. This will work fine for the first test that runs, but will fail for subsequent tests.

       

      Why is this? Well, it turns out that the camel undertow component registers a type converter that causes non-bean-reference Strings to get converted to null. For some reason, this only happens on the second test within an execution.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jsightle@redhat.com Jesse Sightler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: