[
https://issues.apache.org/jira/browse/CAMEL-11925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16216543#comment-16216543
]
ASF GitHub Bot commented on CAMEL-11925:
----------------------------------------
oscerd commented on issue #2056: CAMEL-11925: Migrate atmos properties file
configuration to component properties
URL: https://github.com/apache/camel/pull/2056#issuecomment-338918377
@davsclaus I guess it would be useful to backport to 2.20.x too. WDYT?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Atmos component fails to load atmos.properties in a modular class loading
> environment
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-11925
> URL: https://issues.apache.org/jira/browse/CAMEL-11925
> Project: Camel
> Issue Type: Bug
> Components: camel-atmos
> Affects Versions: 2.20.0
> Reporter: James Netherton
> Assignee: James Netherton
> Fix For: 2.20.1, 2.21.0
>
>
> The atmos component has a AtmosPropertyManager class which attempts to do:
> {code}
> AtmosPropertyManager.class.getResource("/atmos.properties");
> {code}
> This assumes the resource is available to the ClassLoader of
> AtmosPropertyManager. This may not be the case in OSGi or JavaEE containers.
> I see there's a [TODO
> comment|https://github.com/apache/camel/blob/master/components/camel-atmos/src/main/java/org/apache/camel/component/atmos/util/AtmosPropertyManager.java#L26]
> at the top of this class. So maybe we remove this class and make it so we
> configure these properties on the component instead?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)