|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.model.config.ResequencerConfig
org.apache.camel.model.config.StreamResequencerConfig
public class StreamResequencerConfig
Defines the configuration parameters for the StreamResequencer.
| Constructor Summary | |
|---|---|
StreamResequencerConfig()
Creates a new StreamResequencerConfig instance using default
values for capacity (1000) and timeout
(1000L). |
|
StreamResequencerConfig(int capacity,
long timeout)
Creates a new BatchResequencerConfig instance using the given
values for capacity and timeout. |
|
StreamResequencerConfig(int capacity,
long timeout,
ExpressionResultComparator comparator)
Creates a new BatchResequencerConfig instance using the given
values for capacity and timeout. |
|
| Method Summary | |
|---|---|
int |
getCapacity()
|
ExpressionResultComparator |
getComparator()
|
static StreamResequencerConfig |
getDefault()
Returns a new StreamResequencerConfig instance using default
values for capacity (1000) and timeout
(1000L). |
Boolean |
getIgnoreInvalidExchanges()
|
long |
getTimeout()
|
void |
setCapacity(int capacity)
|
void |
setComparator(ExpressionResultComparator comparator)
|
void |
setIgnoreInvalidExchanges(Boolean ignoreInvalidExchanges)
|
void |
setTimeout(long timeout)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamResequencerConfig()
StreamResequencerConfig instance using default
values for capacity (1000) and timeout
(1000L). Elements of the sequence are compared using the
DefaultExchangeComparator.
public StreamResequencerConfig(int capacity,
long timeout)
BatchResequencerConfig instance using the given
values for capacity and timeout. Elements
of the sequence are compared using the DefaultExchangeComparator.
capacity - capacity of the resequencer's inbound queue.timeout - minimum time to wait for missing elements (messages).
public StreamResequencerConfig(int capacity,
long timeout,
ExpressionResultComparator comparator)
BatchResequencerConfig instance using the given
values for capacity and timeout. Elements
of the sequence are compared with the given
ExpressionResultComparator.
capacity - capacity of the resequencer's inbound queue.timeout - minimum time to wait for missing elements (messages).comparator - comparator for sequence comparision| Method Detail |
|---|
public static StreamResequencerConfig getDefault()
StreamResequencerConfig instance using default
values for capacity (1000) and timeout
(1000L). Elements of the sequence are compared using the
DefaultExchangeComparator.
StreamResequencerConfig.public int getCapacity()
public void setCapacity(int capacity)
public long getTimeout()
public void setTimeout(long timeout)
public Boolean getIgnoreInvalidExchanges()
public void setIgnoreInvalidExchanges(Boolean ignoreInvalidExchanges)
public ExpressionResultComparator getComparator()
public void setComparator(ExpressionResultComparator comparator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||