Jesse Sightler created CAMEL-16065:
--------------------------------------

             Summary: Camel Undertow Starter causes configuration issues with 
DirtiesContext
                 Key: CAMEL-16065
                 URL: https://issues.apache.org/jira/browse/CAMEL-16065
             Project: Camel
          Issue Type: Bug
          Components: camel-undertow
            Reporter: Jesse Sightler


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to