You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/01/20 18:22:00 UTC
[jira] [Commented] (CAMEL-16065) Camel Undertow Starter causes
configuration issues with DirtiesContext
[ https://issues.apache.org/jira/browse/CAMEL-16065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268760#comment-17268760 ]
Claus Ibsen commented on CAMEL-16065:
-------------------------------------
Try with 3.7.1
> 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
> Priority: Major
>
> 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)