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

Camel Undertow Starter causes configuration issues with DirtiesContext

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.8.0
    • Component/s: camel-undertow
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: