camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11925) Atmos component fails to load atmos.properties in a modular class loading environment
Date Fri, 20 Oct 2017 09:33:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16212413#comment-16212413
] 

Claus Ibsen commented on CAMEL-11925:
-------------------------------------

Yeah sure you are welcome to work on a patch

> 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
>             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)

Mime
View raw message