Some components don't forward headers. Maybe you are losing header entries on 
special components.
So instead of searching where you are losing the value, storing as properties, 
like Claus suggests, seems to be easier.


Jan

> -----Ursprüngliche Nachricht-----
> Von: Claus Ibsen [mailto:claus.ib...@gmail.com]
> Gesendet: Dienstag, 25. November 2014 11:12
> An: users@camel.apache.org
> Betreff: Re: Passing several POJOs trough multiple routes
> 
> Store them as properties on the exchange
> 
> On Tue, Nov 25, 2014 at 10:58 AM, Router <rou...@trash-mail.com> wrote:
> > Hi,
> >
> > I converted data from a file into several POJOs which should be
> > available in different routes for further processing. I tried to
> store
> > them in the message header (implements Serializable) but they are
> just
> > available within one route. After passing them to the next they are
> > lost. Do I miss something here? What is the best practice in this
> case?
> >
> > Thank you
> >
> >
> >
> > --
> > View this message in context:
> > http://camel.465427.n5.nabble.com/Passing-several-POJOs-trough-
> multipl
> > e-routes-tp5759575.html Sent from the Camel - Users mailing list
> > archive at Nabble.com.
> 
> 
> 
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: cib...@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> hawtio: http://hawt.io/
> fabric8: http://fabric8.io/

Reply via email to