[
https://issues.apache.org/jira/browse/CAMEL-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119798#comment-15119798
]
Claus Ibsen commented on CAMEL-9540:
------------------------------------
A git grep "resolveMandatoryResourceAsInputStream" indicate that a few
components uses it to configure on component level which you configure using
old school getter/setter. So it can benefit there. But most others are
endpoints and data formats which already do property placeholder now out of the
box.
> ResourceHelper.resolveMandatoryResourceAsInputStream - Should support ENV and
> properties
> ----------------------------------------------------------------------------------------
>
> Key: CAMEL-9540
> URL: https://issues.apache.org/jira/browse/CAMEL-9540
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Luca Burgazzoli
> Priority: Minor
> Fix For: 2.17.0
>
>
> So you can refer to ENV or {{ }} placeholders.
> What needs to be done is to let the properties placeholder execute the input
> string first.
> eg call
> org.apache.camel.CamelContext#resolvePropertyPlaceholders
> See nabble
> http://camel.465427.n5.nabble.com/Camel-beanio-mapping-file-outside-the-war-tp5776784.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)