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

Claus Ibsen commented on CAMEL-1502:
------------------------------------

In the route
{{code}}
                from("direct:start").setHeader("foo", constant("bar"))
                        .convertBodyTo(Integer.class)
                        .to("bean:order")
                        .inOnly("seda:foo")
                        .transform(constant("OK"));
{{code}}

the foo header is not propagated after the bean invocation and thus not on the 
seda:foo endpoint.

> Bean component should propagate headers
> ---------------------------------------
>
>                 Key: CAMEL-1502
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1502
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.6.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0, 1.6.1
>
>
> When doing a route an you invoke a bean that sets a response on the OUT body 
> it does not propagate the headers from the IN body.

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