public class RecipientList
extends org.apache.camel.support.AsyncProcessorSupport
implements org.apache.camel.spi.IdAware
| 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() |
long |
getTimeout() |
boolean |
isIgnoreInvalidEndpoints() |
boolean |
isParallelAggregate() |
boolean |
isParallelProcessing() |
boolean |
isShareUnitOfWork() |
boolean |
isShutdownExecutorService() |
boolean |
isStopOnAggregateException() |
boolean |
isStopOnException() |
boolean |
isStreaming() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
protected org.apache.camel.Endpoint |
resolveEndpoint(org.apache.camel.Exchange exchange,
Object recipient) |
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 |
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() |
doInit, doResume, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic 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 String getId()
getId in interface org.apache.camel.spi.HasIdpublic void setId(String id)
setId in interface org.apache.camel.spi.IdAwarepublic boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
process in interface org.apache.camel.AsyncProcessorpublic boolean sendToRecipientList(org.apache.camel.Exchange exchange,
Object recipientList,
org.apache.camel.AsyncCallback callback)
protected org.apache.camel.Endpoint resolveEndpoint(org.apache.camel.Exchange exchange,
Object recipient)
public org.apache.camel.spi.EndpointUtilizationStatistics getEndpointUtilizationStatistics()
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.AsyncProcessorSupportExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.AsyncProcessorSupportExceptionprotected void doShutdown()
throws Exception
doShutdown in class org.apache.camel.support.service.ServiceSupportExceptionpublic 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