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-5491) Cannot access blueprint property placeholder values from velocity
Date Mon, 13 Aug 2012 11:16:38 GMT

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

Claus Ibsen commented on CAMEL-5491:
------------------------------------

This would apply to the other template components such as freemarker etc. as well.

There is some logic in camel-core that prepares a Map with the data those template engines
can access. The trick is that we dont know which properties exists, and thus can get it populated
in a map. And thus would need some way of runtime access it as a function of some sort, and
thus would rely on the API from those frameworks whether they would support that.

But it would be nice addition.
                
> Cannot access blueprint property placeholder values from velocity
> -----------------------------------------------------------------
>
>                 Key: CAMEL-5491
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5491
>             Project: Camel
>          Issue Type: Improvement
>          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

        

Mime
View raw message