[
https://issues.apache.org/activemq/browse/CAMEL-746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44490#action_44490
]
Jonathan Anstey commented on CAMEL-746:
---------------------------------------
Hey Claus, I'm not sure if we can support this format
<setOutHeader headerName="theHeader" value="the value"/>
because the XmlElementRef JAXB attribute cannot be set to optional (thus the
expression node is mandatory)... I haven't looked at depth into this though.
There may be another way around this.
I do like the second option however. I think the main bit there would be adding
the 'constant' expression type to the Spring DSL as its not there currently.
Shouldn't be too bad. I'll take a look tomorrow.
> 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.