Defines the configuration parameters for the batch-processing {@link Resequencer}. Usage example:
from("direct:start").resequencer(body()).batch( BatchResequencerConfig.getDefault()).to("mock:result")
is equivalent to
from("direct:start").resequencer(body()).batch().to("mock:result")
or
from("direct:start").resequencer(body()).to("mock:result")
Custom values for
batchSize
and
batchTimeout
can be set like in this example:
from("direct:start").resequencer(body()).batch( new BatchResequencerConfig(300, 400L)).to("mock:result")
@author Martin Krasser
@version $Revision: 630568 $