Yes, I'm sorry for the noise.
My mistake!

Alberto


On Wed, 2016-03-23 at 06:57 -0600, Quinn Stevenson wrote:
> Unless I’m missing something, you should be able to just split the
> collection
> 
> .unmarshal( beanioFormat )
> .split( body() )
>     <do stuff>
> .end()
> 
> The exchanges should have all the headers from the original message
> preserved.
> 
> 
> > 
> > On Mar 23, 2016, at 3:24 AM, Alberto <abros...@inogs.it> wrote:
> > 
> > 
> > Hello,
> > 
> > I'm unable to figure how to propagate some headers during a split.
> > 
> > I have a route like this:
> > 
> > ...
> > .unmarshal(beeanioFormat)
> > .split()
> >     .body()
> > ...
> > 
> > BeanIO dataformat returns a collection of pojos. I have to split
> > this
> > collection to obtain single pojos and propagate some headers
> > present in
> > the exchange to all split exchanges.
> > 
> > Can anyone put me on the right way?
> > 
> > Best regards
> > 
> > Alberto

Reply via email to