public class OrderEventsConfiguration extends java.lang.Object implements Configuration
Modifier and Type | Field and Description |
---|---|
static long |
DFLT_WINSIZE |
DURABLE_SUBSCRIPTION, FILTER, IDEMPOTENT_CONSUMER, ORDERING, SERVER_SIDE_FILTER, THREAD_POOL
Constructor and Description |
---|
OrderEventsConfiguration() |
OrderEventsConfiguration(java.lang.String header,
org.apache.camel.processor.resequencer.ExpressionResultComparator comparator) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.processor.resequencer.ExpressionResultComparator |
getComparator()
Gets the comparator used for header comparing.
|
java.lang.String |
getOrderByHeader()
Gets the header name used for reordering.
|
int |
getType()
Returns the configuration type represented as an integer
|
long |
getWindowSize()
Gets current window size.
|
void |
setWindowSize(long winSizeMills)
Sets the sliding window size in milliseconds
|
public static final long DFLT_WINSIZE
public OrderEventsConfiguration()
public OrderEventsConfiguration(java.lang.String header, org.apache.camel.processor.resequencer.ExpressionResultComparator comparator)
public int getType()
Configuration
getType
in interface Configuration
public java.lang.String getOrderByHeader()
public org.apache.camel.processor.resequencer.ExpressionResultComparator getComparator()
public void setWindowSize(long winSizeMills)
winSizeMills
- sliding window size in millisecondspublic long getWindowSize()