can you pass first the File body to a processor bean, that would add the CSV header (or fields name list) to the message Header then it will be available in all splits after the splitter ?
On Thu, May 24, 2012 at 2:53 PM, greg_le_bonniec < gregory.lebonn...@zenika.com> wrote: > Hi, > > I am using a splitter to handle a big CSV file (streaming mode). First, I > need to analyse the first line (header) to know the structure of the file. > > I need to share the header structure to each line but the problem is that > the splitter is using one new exchange for each, so I can't use properties > to do that. > > Do you have a solution ? > > Tks > > Greg > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Splitter-share-properties-between-exchanges-tp5713490.html > Sent from the Camel - Users mailing list archive at Nabble.com. >