camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Trouble with camel splitter
Date Thu, 15 Jan 2009 09:00:42 GMT
Hi

We use Maps for properties. And the put method should replace existing values.

Can you reproduce the issue in pure Camel?
Can you show the entire route?



On Wed, Jan 14, 2009 at 4:06 PM, avermout <avermout@gmail.com> wrote:
>
> Your workaround works. Thanks.  However, I face a new problem now, if I use 2
> splitters in the same JBI.
> The first one puts the splitSize in a property let's say 'splitSize'.
> The second one, represented by the simple following route, uses the same
> implementation, so I expect it to overwrite 'splitSize' with the new one:
>
> from(direct:A).splitter(xpath).process(new SplitterProcessor( //puts the
> splitSize in 'splitSize' )).
>                        to(direct:B);
>
> But it is not the case. It seems that the previous value is kept. How could
> it be explained?
>
> Thanks,
> Aymeric
>
>
> --
> View this message in context: http://www.nabble.com/Trouble-with-camel-splitter-tp21446708s22882p21457564.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 

/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/

Mime
View raw message