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.
