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

Claus Ibsen resolved CAMEL-893.
-------------------------------

      Assignee: Jonathan Anstey
    Resolution: Duplicate

Jonathan did some improvements already on this. See CAMEL-746.

<setHeader name="foo", value="bar"/> is @deprecated. You should use a 
<constant> child. See CAMEL-746 for sample.

> In XML route, <setHeader> element should not require children
> -------------------------------------------------------------
>
>                 Key: CAMEL-893
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-893
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: Aaron Mulder
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> In the XML, you can use <setHeader headerName="foo" value="bar" /> but that 
> is not valid -- it requires a child element like <el>, <groovy>, etc.  It 
> doesn't seem like a child should be required if the "value" attribute is used 
> (e.g. if you want to set a header to a constant value).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to