org.apache.camel.processor
Class Resequencer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.processor.BatchProcessor
org.apache.camel.processor.Resequencer
- All Implemented Interfaces:
- Navigate<Processor>, Processor, Traceable, Service
public class Resequencer
- extends BatchProcessor
- implements Traceable
An implementation of the Resequencer
which can reorder messages within a batch.
- Version:
- $Revision: 788621 $
Methods inherited from class org.apache.camel.processor.BatchProcessor |
doStart, doStop, getBatchSize, getBatchTimeout, getExceptionHandler, getOutBatchSize, getProcessor, hasNext, isBatchConsumer, isGroupExchanges, next, process, processExchange, setBatchConsumer, setBatchSize, setBatchTimeout, setExceptionHandler, setGroupExchanges, setOutBatchSize |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
Resequencer
public Resequencer(Processor processor,
Expression expression)
Resequencer
public Resequencer(Processor processor,
List<Expression> expressions)
Resequencer
public Resequencer(Processor processor,
Set<Exchange> collection)
toString
public String toString()
- Overrides:
toString
in class BatchProcessor
getTraceLabel
public String getTraceLabel()
- Description copied from interface:
Traceable
- Gets the trace label used for logging when tracing is enabled.
The lable should be short and precise.
- Specified by:
getTraceLabel
in interface Traceable
- Returns:
- the label
createSet
protected static Set<Exchange> createSet(Expression expression)
createSet
protected static Set<Exchange> createSet(List<Expression> expressions)
createSet
protected static Set<Exchange> createSet(Comparator<? super Exchange> comparator)
Apache CAMEL