Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.8.1
-
Unknown
Description
In the simple example:
from("file:/foo.csv") .setHeader("MyHeader", constant("Hello")) .to("flatpack:foo"); from("flatpack:foo") .to("bean:importer");
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.