Hi All,

I wonder if I can set messages from/to some endpoint to be sent on batches.
I need this because the total time for sending messages one by one in some
cases is far bigger than packing say 1k messages and sending them at once.

For example if I have the following code:
from("file://inputdir/").convertBodyTo(String.class).to("jms:test.queue")

Is there way to set Camel to send newly created files in "inputdir" on
batches of 1k files, or on each 10 seconds, whatever first occurs.

Thanks,
Ivan

Reply via email to