You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by catshout <ge...@web.de> on 2016/05/01 21:24:50 UTC

setHeader with dynamic headerName?

Dear community,

is it possible to set the headerName dynamically in the manner

<setHeader headerName="${exchangeProperty.parameterName_0}">
...

Thanks for any reply.

Best
- Gerald



--
View this message in context: http://camel.465427.n5.nabble.com/setHeader-with-dynamic-headerName-tp5782041.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: setHeader with dynamic headerName?

Posted by Claus Ibsen <cl...@gmail.com>.
Yes from 2.17 onwards.

See release notes for Camel 2.17.
http://camel.apache.org/camel-2170-release.html

On Sun, May 1, 2016 at 9:24 PM, catshout <ge...@web.de> wrote:
> Dear community,
>
> is it possible to set the headerName dynamically in the manner
>
> <setHeader headerName="${exchangeProperty.parameterName_0}">
> ...
>
> Thanks for any reply.
>
> Best
> - Gerald
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/setHeader-with-dynamic-headerName-tp5782041.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2