GitHub user pimlottc opened a pull request:

    https://github.com/apache/camel/pull/575

    add VELOCITY_SUPPLEMENTAL_CONTEXT header

    Add a header to specify a Map of supplementary variables to the
    default velocity context entries.  Entries in this map will override
    the default pre-defined values when using the same key, e.g. "body".
    
    This provides a simpler way to pre-defined variables than providing
    a custom context that completely replaces the default, while still
    allowing values to be "returned" from the template via headers.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pimlottc/camel CAMEL-9002

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/575.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #575
    
----
commit 0956377dd0ae4374a295a924d9328ceb3374f7da
Author: Chris Pimlott <ch...@spartansoftwareinc.com>
Date:   2015-07-29T00:54:00Z

    add VELOCITY_SUPPLEMENTAL_CONTEXT header
    
    Add a header to specify a Map of supplementary variables to the
    default velocity context entries.  Entries in this map will override
    the default pre-defined values when using the same key, e.g. "body".
    
    This provides a simpler way to pre-defined variables than providing
    a custom context that completely replaces the default, while still
    allowing values to be "returned" from the template via headers.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to