camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller (Assigned) (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-4510) Camel flatpack component drops all headers from the original message
Date Tue, 04 Oct 2011 06:35:34 GMT

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

Christian Müller reassigned CAMEL-4510:
---------------------------------------

    Assignee: Christian Müller
    
> Camel flatpack component drops all headers from the original message
> --------------------------------------------------------------------
>
>                 Key: CAMEL-4510
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4510
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-flatpack
>    Affects Versions: 2.8.1
>            Reporter: Dragisa Krsmanovic
>            Assignee: Christian Müller
>              Labels: flatpack
>
> In the simple example:
> {code}
> from("file:/foo.csv")
>    .setHeader("MyHeader", constant("Hello"))
>    .to("flatpack:foo");
> from("flatpack:foo")
>    .to("bean:importer");
> {code}
> Header "MyHeader" is not being passed to the bean in the second route.
> Looking at Camel Flatpack code I see that in {{FixedLengthEndpoint.processDataSet}} it
creates an exchange object from scratch and, thus, looses any incoming headers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message