Hi,

I would like to know if it is possible or could be add as a new feature to
split a file containing thousands of records into several block of messages
(1 block can contain by example 100 records) using the splitter strategy ?

E.g.

From(file:///c:/temp?noop=true)
.splitter(ArrayList<Order>, 100)
.to(vm:queue:my-test-queue)

where 
ArrayList<Order> = collection of Order objects
100 = size of the records to be extracted from the file or from any other
origin

Why such request : performance and in order to avoid to send to the bus
objects or messages consuming too much memory.

Regards,

Charles
-- 
View this message in context: 
http://www.nabble.com/Use-splitter-strategy-to-send-block-of-messages-on-the-bus-%21-tp16300787s22882p16300787.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to