[
https://issues.apache.org/jira/browse/CAMEL-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433999#comment-13433999
]
Claus Ibsen commented on CAMEL-5491:
------------------------------------
Yeah notice that properties on Exchange and the properties placeholder is not
the same thing.
I assume you want access to the latter from the templates, eg to use values
from a .properties file etc.
And for that you need to use the API from CamelContext such as the
resolvePropertyPlaceholders method, that is possible the easiest.
You would then need to fund a hook into velocity, so you can call the
resolvePropertyPlaceholders with the value, and return the result to velocity.
> Cannot access blueprint property placeholder values from velocity
> -----------------------------------------------------------------
>
> Key: CAMEL-5491
> URL: https://issues.apache.org/jira/browse/CAMEL-5491
> Project: Camel
> Issue Type: New Feature
> Components: camel-blueprint, camel-freemarker, camel-velocity
> Affects Versions: 2.10.0
> Reporter: Alan Foster
> Priority: Minor
> Fix For: 2.11.0, Future
>
>
> There isn't a way within velocity to access properties set within the
> blueprint property-placeholder.
> Currently you can only access the exchange's properties according to the
> documentation at http://camel.apache.org/velocity.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira