[
https://issues.apache.org/jira/browse/CAMEL-7218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13906024#comment-13906024
]
Henryk Konsek commented on CAMEL-7218:
--------------------------------------
In the following commits I improved some class loading related issues in
{{PlatformHelper}}:
9477c5775c59756649f69c7866a5e185eb191ae3
8b9d4c625202455309a84c8ca492177ea28b2327
Finally I removed {{PlatformHelper}} calls from {{CamelNamespaceHandler}} in
order to avoid possible regressions in camel-spring (OSGi detection in this
module is not covered by the unit tests) - commit
667443aee325b406e57b16d4c70d1971fb001294 . For now we will use
{{PlatformHelper}} only in components that should adjust their behavior to the
OSGi environment (like camel-bean-validator).
> Extract OSGi-detection logic into utility class
> -----------------------------------------------
>
> Key: CAMEL-7218
> URL: https://issues.apache.org/jira/browse/CAMEL-7218
> Project: Camel
> Issue Type: Improvement
> Components: camel-core, camel-spring
> Reporter: Henryk Konsek
> Assignee: Henryk Konsek
> Fix For: 2.13.0
>
>
> {{CamelNamespaceHandler}} from camel-spring contains some useful logic
> detecting if the caller is running in the OSGi environment.
> We should extract this logic into some utility class and keep it in
> camel-core as it may be useful for components developers.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)