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:
- 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: 37863 $
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getThreadName, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop |
SPLIT_SIZE
public static final String SPLIT_SIZE
- See Also:
- Constant Field Values
SPLIT_COUNTER
public static final String SPLIT_COUNTER
- See Also:
- Constant Field Values
Splitter
public Splitter(Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy)
Splitter
public Splitter(Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ThreadPoolExecutor threadPoolExecutor)
toString
public String toString()
- Overrides:
toString
in class MulticastProcessor
createProcessorExchangePairs
protected List<org.apache.camel.processor.MulticastProcessor.ProcessorExchangePair> createProcessorExchangePairs(Exchange exchange)
- Overrides:
createProcessorExchangePairs
in class MulticastProcessor
updateNewExchange
protected void updateNewExchange(Exchange exchange,
int i,
List<org.apache.camel.processor.MulticastProcessor.ProcessorExchangePair> allPairs)
- Overrides:
updateNewExchange
in class MulticastProcessor
Copyright © 2008 IONA Open Source Community. All Rights Reserved.