[
https://issues.apache.org/activemq/browse/CAMEL-746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44488#action_44488
]
Claus Ibsen commented on CAMEL-746:
-----------------------------------
Jonathan, great patch.
I am wondering if we can improve the tag for the attribute only solution as
below:
+ <setOutHeader headerName="theHeader" value="the value">
+ <expression/>
+ </setOutHeader>
It requires the empty expression tag that is a bit confusing for end-users.
Wold be great with:
+ <setOutHeader headerName="theHeader" value="the value"/>
But I guess its declare in the XSD file.
If not maybe we should not support the value attribute and force the child
expression tag
+ <setOutHeader headerName="theHeader">
+ <constant>the value</constant>
+ </setOutHeader>
> Support setOutHeader in Spring DSL
> ----------------------------------
>
> Key: CAMEL-746
> URL: https://issues.apache.org/activemq/browse/CAMEL-746
> Project: Apache Camel
> Issue Type: Sub-task
> Components: camel-core, camel-spring
> Affects Versions: 1.4.0
> Reporter: Jonathan Anstey
> Fix For: 1.5.0
>
> Attachments: setOutHeaderType.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.