camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Delayer EIP to delay the process start until 10 messages are available on the queue ?
Date Tue, 20 May 2008 10:22:53 GMT
There's nothing out of the box that does exactly this but the
Resequencer works in a similar way - consuming a batch of messages
then when a condition is true (timer usually) they actually send some
messages and consume them.

You could look at using the BatchProcessor and just setting the batch
size to 10.  If you want you could put all the 10 messages into a big
mesage? Or just send them all at once when you know you've got 10?

2008/5/20 cmoulliard <>:
> Hi,
> I would like to know if the EIP delayer pattern is the best one to use in
> the following case  ?
> "What I would like to do is to avoid that an endpoint start a file
> generation process with only one message received but wait that 10 messages
> are arrived or available in the queue in order to put all the messages into
> the file to be created by the process"
> Regards,
> Charles
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at


Open Source Integration

View raw message