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: Unexpected behavior with splitter
Date Wed, 19 Feb 2014 15:32:14 GMT
Hi

Can you post your route

On Wed, Feb 19, 2014 at 4:22 PM, BlackTie <jtstor@hotmail.com> wrote:
> I'm having an issue with split()... I'm tokenizing a large CSV file in
> streaming mode.  Each line is used to create an object which is then sent as
> an in-only exchange to a JMS queue.  If I don't turn on parallel processing,
> the split goes through the whole file and creates all the objects before
> sending anything to the JMS queue.  I haven't seen anyone else commenting
> about this.  I would expect that the single thread doing the split would be
> able to create the object and then send it to the JMS queue before moving on
> to the next line.  This is not the behavior I'm seeing through the logging,
> however.  I don't see any messages being processed by the route consuming
> from the JMS queue until after the entire file has been split.
>
> Is something weird going on or is this the expected behavior?
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Unexpected-behavior-with-splitter-tp5747564.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message