@Metadata(label="eip,routing,resequence") public class BatchResequencerConfig extends ResequencerConfig
| Constructor and Description |
|---|
BatchResequencerConfig()
Creates a new
BatchResequencerConfig instance using default
values for batchSize (100) and batchTimeout
(1000L). |
BatchResequencerConfig(int batchSize,
long batchTimeout)
Creates a new
BatchResequencerConfig instance using the given
values for batchSize and batchTimeout. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowDuplicates() |
String |
getBatchSize() |
String |
getBatchTimeout() |
static BatchResequencerConfig |
getDefault()
Returns a new
BatchResequencerConfig instance using default
values for batchSize (100) and batchTimeout
(1000L). |
String |
getIgnoreInvalidExchanges() |
String |
getReverse() |
void |
setAllowDuplicates(String allowDuplicates)
Whether to allow duplicates.
|
void |
setBatchSize(String batchSize)
Sets the size of the batch to be re-ordered.
|
void |
setBatchTimeout(String batchTimeout)
Sets the timeout for collecting elements to be re-ordered.
|
void |
setIgnoreInvalidExchanges(String ignoreInvalidExchanges)
Whether to ignore invalid exchanges
|
void |
setReverse(String reverse)
Whether to reverse the ordering.
|
public BatchResequencerConfig()
BatchResequencerConfig instance using default
values for batchSize (100) and batchTimeout
(1000L).public BatchResequencerConfig(int batchSize, long batchTimeout)
BatchResequencerConfig instance using the given
values for batchSize and batchTimeout.batchSize - size of the batch to be re-ordered.batchTimeout - timeout for collecting elements to be re-ordered.public static BatchResequencerConfig getDefault()
BatchResequencerConfig instance using default
values for batchSize (100) and batchTimeout
(1000L).BatchResequencerConfig.public String getBatchSize()
public void setBatchSize(String batchSize)
public String getBatchTimeout()
public void setBatchTimeout(String batchTimeout)
public String getAllowDuplicates()
public void setAllowDuplicates(String allowDuplicates)
public String getReverse()
public void setReverse(String reverse)
public String getIgnoreInvalidExchanges()
public void setIgnoreInvalidExchanges(String ignoreInvalidExchanges)
Apache Camel