Hi Ivan,
> I wonder if the Spring Batch Component (
> http://camel.apache.org/springbatch.html) is proper to use in this case?
You can use CamelItemReader to pass messages into Spring Batch.
However I would say that your case is too simple to use Spring Batch
for this purpose.
I would advise to use aggregator instead.
from("seda:queue").
aggregate().groupExchanges().
completionSize(1000).completionTimeout(10000).
to("seda:aggregatedResults");
Best regards.
--
Henryk Konsek
http://henryk-konsek.blogspot.com