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

Aaron Crickenberger commented on CAMEL-195:
-------------------------------------------

Thanks for this!

One comment... it looks like the <setHeader> syntax requires a child processor? 
I don't believe it does in the Java DSL.  I would expect the syntax to look 
more like it does for <convertBodyTo>, eg:
{code}
    <route>
      <from uri="seda:a"/>
      <setHeader headerName="oldBodyValue">
        <simple>body</simple>
      </setHeader>
      <to uri="mock:b"/>     
    </route>
{code}

> support convertBody() intercept() setHeader() into the XML DSL
> --------------------------------------------------------------
>
>                 Key: CAMEL-195
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-195
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: James Strachan
>            Assignee: Jonathan Anstey
>             Fix For: 1.4.0
>
>         Attachments: camel-195.patch
>
>
> See the discussion: : 
> http://www.nabble.com/How-to-do-that-in-Camel-XML-%28again%29---tf4647505s22882.html#a13276113
> we need to add more of the built in Java processors to the XSD...

-- 
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