[ 
https://issues.apache.org/jira/browse/CAMEL-15239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino reassigned CAMEL-15239:
----------------------------------------

    Assignee: Andrea Cosentino

> camel-velocity header option does not conform to documentation
> --------------------------------------------------------------
>
>                 Key: CAMEL-15239
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15239
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-velocity
>    Affects Versions: 3.4.0
>            Reporter: John Yin
>            Assignee: Andrea Cosentino
>            Priority: Minor
>
> The example given in the documentation does not work in 3.4.0:
> from("direct:in"). 
> setHeader("CamelVelocityResourceUri").constant("path/to/my/template.vm"). 
> to("velocity:dummy");
> One has to use the allowTemplateFromHeader in the endpoint:
> from("direct:in"). 
> setHeader("CamelVelocityResourceUri").constant("path/to/my/template.vm"). 
> to("velocity:dummy?allowTemplateFromHeader=true");
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to