public class RecipientList
extends org.apache.camel.support.AsyncProcessorSupport
implements org.apache.camel.spi.IdAware, org.apache.camel.spi.RouteIdAware
Constructor and Description |
---|
RecipientList(org.apache.camel.CamelContext camelContext) |
RecipientList(org.apache.camel.CamelContext camelContext,
org.apache.camel.Expression expression) |
RecipientList(org.apache.camel.CamelContext camelContext,
org.apache.camel.Expression expression,
String delimiter) |
RecipientList(org.apache.camel.CamelContext camelContext,
String delimiter) |
Modifier and Type | Method and Description |
---|---|
protected void |
doShutdown() |
protected void |
doStart() |
protected void |
doStop() |
org.apache.camel.AggregationStrategy |
getAggregationStrategy() |
int |
getCacheSize() |
String |
getDelimiter() |
org.apache.camel.spi.EndpointUtilizationStatistics |
getEndpointUtilizationStatistics() |
ExecutorService |
getExecutorService() |
org.apache.camel.Expression |
getExpression() |
String |
getId() |
org.apache.camel.Processor |
getOnPrepare() |
String |
getRouteId() |
long |
getTimeout() |
boolean |
isIgnoreInvalidEndpoints() |
boolean |
isParallelAggregate() |
boolean |
isParallelProcessing() |
boolean |
isShareUnitOfWork() |
boolean |
isShutdownExecutorService() |
boolean |
isStopOnAggregateException() |
boolean |
isStopOnException() |
boolean |
isStreaming() |
org.apache.camel.Processor |
newPipeline(org.apache.camel.CamelContext camelContext,
Collection<org.apache.camel.Processor> processors) |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
boolean |
sendToRecipientList(org.apache.camel.Exchange exchange,
Object recipientList,
org.apache.camel.AsyncCallback callback)
Sends the given exchange to the recipient list
|
void |
setAggregationStrategy(org.apache.camel.AggregationStrategy aggregationStrategy) |
void |
setCacheSize(int cacheSize) |
void |
setExecutorService(ExecutorService executorService) |
void |
setId(String id) |
void |
setIgnoreInvalidEndpoints(boolean ignoreInvalidEndpoints) |
void |
setOnPrepare(org.apache.camel.Processor onPrepare) |
void |
setParallelAggregate(boolean parallelAggregate) |
void |
setParallelProcessing(boolean parallelProcessing) |
void |
setRouteId(String routeId) |
void |
setShareUnitOfWork(boolean shareUnitOfWork) |
void |
setShutdownExecutorService(boolean shutdownExecutorService) |
void |
setStopOnAggregateException(boolean stopOnAggregateException) |
void |
setStopOnException(boolean stopOnException) |
void |
setStreaming(boolean streaming) |
void |
setTimeout(long timeout) |
String |
toString() |
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public RecipientList(org.apache.camel.CamelContext camelContext)
public RecipientList(org.apache.camel.CamelContext camelContext, String delimiter)
public RecipientList(org.apache.camel.CamelContext camelContext, org.apache.camel.Expression expression)
public RecipientList(org.apache.camel.CamelContext camelContext, org.apache.camel.Expression expression, String delimiter)
public org.apache.camel.Processor newPipeline(org.apache.camel.CamelContext camelContext, Collection<org.apache.camel.Processor> processors)
public String getId()
getId
in interface org.apache.camel.spi.HasId
public void setId(String id)
setId
in interface org.apache.camel.spi.IdAware
public String getRouteId()
getRouteId
in interface org.apache.camel.spi.RouteIdAware
public void setRouteId(String routeId)
setRouteId
in interface org.apache.camel.spi.RouteIdAware
public boolean process(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
process
in interface org.apache.camel.AsyncProcessor
public boolean sendToRecipientList(org.apache.camel.Exchange exchange, Object recipientList, org.apache.camel.AsyncCallback callback)
public org.apache.camel.spi.EndpointUtilizationStatistics getEndpointUtilizationStatistics()
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.AsyncProcessorSupport
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.AsyncProcessorSupport
Exception
protected void doShutdown() throws Exception
doShutdown
in class org.apache.camel.support.service.BaseService
Exception
public org.apache.camel.Expression getExpression()
public String getDelimiter()
public boolean isStreaming()
public void setStreaming(boolean streaming)
public boolean isIgnoreInvalidEndpoints()
public void setIgnoreInvalidEndpoints(boolean ignoreInvalidEndpoints)
public boolean isParallelProcessing()
public void setParallelProcessing(boolean parallelProcessing)
public boolean isParallelAggregate()
public void setParallelAggregate(boolean parallelAggregate)
public boolean isStopOnAggregateException()
public void setStopOnAggregateException(boolean stopOnAggregateException)
public boolean isStopOnException()
public void setStopOnException(boolean stopOnException)
public ExecutorService getExecutorService()
public void setExecutorService(ExecutorService executorService)
public boolean isShutdownExecutorService()
public void setShutdownExecutorService(boolean shutdownExecutorService)
public org.apache.camel.AggregationStrategy getAggregationStrategy()
public void setAggregationStrategy(org.apache.camel.AggregationStrategy aggregationStrategy)
public long getTimeout()
public void setTimeout(long timeout)
public org.apache.camel.Processor getOnPrepare()
public void setOnPrepare(org.apache.camel.Processor onPrepare)
public boolean isShareUnitOfWork()
public void setShareUnitOfWork(boolean shareUnitOfWork)
public int getCacheSize()
public void setCacheSize(int cacheSize)
Apache Camel