[
https://issues.apache.org/jira/browse/CAMEL-9636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15163736#comment-15163736
]
Grzegorz Grzybek commented on CAMEL-9636:
-----------------------------------------
Fix for 2.15.x:
https://github.com/apache/camel/commit/28bf2484c88fcbd33774aad4c67745f7901f0a03
Fix for 2.16.x:
https://github.com/apache/camel/commit/a1acec615e400a008d6d083d6a84ad68ebb7ab43
FIx for 2.17.x:
https://github.com/apache/camel/commit/e15603a977b825a89fcad20b8da0a8ba59d982d3
The fix is to detect problems early and do not simply fail on timeout while
waiting for CamelContext OSGi service. One of the failures of Blueprint may be
inability to resolve property placeholders. We've provided
{{ConfigAdminNoDefaultValuesBlueprintCreationTest}} to show this problem.
> CamelBlueprintTestSupport - initialization error in case of empty
> cm:property-placeholder
> -----------------------------------------------------------------------------------------
>
> Key: CAMEL-9636
> URL: https://issues.apache.org/jira/browse/CAMEL-9636
> Project: Camel
> Issue Type: Bug
> Components: camel-blueprint, camel-test
> Affects Versions: 2.15.5, 2.16.2
> Reporter: Paolo Antinori
> Assignee: Grzegorz Grzybek
> Fix For: 2.15.6, 2.16.3, 2.17.0
>
>
> Test execution hangs with the specific use case of passing a configuration
> similar to:
> {code:xml}
> <cm:property-placeholder persistent-id="my-placeholders"
> update-strategy="reload">
> </cm:property-placeholder>
> {code}
> The will pass value for that {{pid}} only at Test level inside the method
> {{useOverridePropertiesWithConfigAdmin}}
> The fix makes the attached test case succeed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)