I find a solution by using the aggregator strategy provided by the splitter
pattern.

Tks

Greg


*Grégory Le Bonniec*
Directeur Général - Zenika Ouest

Tél : +33 (0)6 18 31 68 03

skype : gregory.lebonniec

18, rue de la Monnaie
35000 RENNES





On Thu, May 24, 2012 at 5:10 PM, Vincent Nonnenmacher <
vincent.nonnenmac...@gmail.com> wrote:

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

Reply via email to