org.apache.camel.processor
Class Splitter
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.processor.MulticastProcessor
org.apache.camel.processor.Splitter
- All Implemented Interfaces:
- Navigate, Processor, Service
public class Splitter
- extends MulticastProcessor
- implements Processor
Implements a dynamic Splitter pattern
where an expression is evaluated to iterate through each of the parts of a
message and then each part is then send to some endpoint.
- Version:
- $Revision: 773446 $
Methods inherited from class org.apache.camel.processor.MulticastProcessor |
doAggregate, doProcessParallel, doProcessSequntiel, doStart, doStop, getAggregationStrategy, getExecutorService, getProcessors, hasNext, isParallelProcessing, isStreaming, next, process, setExecutorService |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
Splitter
public Splitter(Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy)
Splitter
public Splitter(Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean streaming)
toString
public String toString()
- Overrides:
toString
in class MulticastProcessor
createProcessorExchangePairs
protected Iterable<org.apache.camel.processor.MulticastProcessor.ProcessorExchangePair> createProcessorExchangePairs(Exchange exchange)
- Overrides:
createProcessorExchangePairs
in class MulticastProcessor
updateNewExchange
protected void updateNewExchange(Exchange exchange,
int index,
Iterable<org.apache.camel.processor.MulticastProcessor.ProcessorExchangePair> allPairs)
- Overrides:
updateNewExchange
in class MulticastProcessor
getExpression
public Expression getExpression()
Copyright © 2009 Apache Software Foundation. All Rights Reserved.