Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16AF59722 for ; Fri, 21 Oct 2011 22:36:55 +0000 (UTC) Received: (qmail 67852 invoked by uid 500); 21 Oct 2011 22:36:54 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 67797 invoked by uid 500); 21 Oct 2011 22:36:54 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 67789 invoked by uid 99); 21 Oct 2011 22:36:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2011 22:36:54 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2011 22:36:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5414131500E for ; Fri, 21 Oct 2011 22:34:32 +0000 (UTC) Date: Fri, 21 Oct 2011 22:34:32 +0000 (UTC) From: =?utf-8?Q?Christian_M=C3=BCller_=28Updated=29_=28JIRA=29?= To: dev@camel.apache.org Message-ID: <1472432974.3732.1319236472345.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <178904561.5513.1317684753969.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CAMEL-4510) Camel flatpack component drops all headers from the original message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4510?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian M=C3=BCller updated CAMEL-4510: ------------------------------------ Fix Version/s: 2.9.0 2.8.3 2.7.5 =20 > 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=C3=BCller > Labels: flatpack > Fix For: 2.7.5, 2.8.3, 2.9.0 > > > 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.proces= sDataSet}} 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 administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira