public class SendDynamicProcessor
extends org.apache.camel.support.AsyncProcessorSupport
implements org.apache.camel.spi.IdAware, org.apache.camel.CamelContextAware
SendProcessor| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowOptimisedComponents |
protected int |
cacheSize |
protected org.apache.camel.CamelContext |
camelContext |
protected org.apache.camel.spi.SendDynamicAware |
dynamicAware |
protected org.apache.camel.Expression |
expression |
protected String |
id |
protected boolean |
ignoreInvalidEndpoint |
protected org.apache.camel.ExchangePattern |
pattern |
protected org.apache.camel.spi.ProducerCache |
producerCache |
protected String |
uri |
| Constructor and Description |
|---|
SendDynamicProcessor(String uri,
org.apache.camel.Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Exchange |
configureExchange(org.apache.camel.Exchange exchange,
org.apache.camel.ExchangePattern pattern,
org.apache.camel.Endpoint endpoint) |
protected void |
doStart() |
protected void |
doStop() |
int |
getCacheSize() |
org.apache.camel.CamelContext |
getCamelContext() |
org.apache.camel.spi.SendDynamicAware |
getDynamicAware() |
org.apache.camel.spi.EndpointUtilizationStatistics |
getEndpointUtilizationStatistics() |
org.apache.camel.Expression |
getExpression() |
String |
getId() |
org.apache.camel.ExchangePattern |
getPattern() |
String |
getUri() |
boolean |
isAllowOptimisedComponents() |
boolean |
isIgnoreInvalidEndpoint() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
protected static org.apache.camel.Endpoint |
resolveEndpoint(org.apache.camel.Exchange exchange,
Object recipient) |
protected static String |
resolveScheme(org.apache.camel.Exchange exchange,
String uri) |
protected static String |
resolveUri(org.apache.camel.Exchange exchange,
Object recipient) |
void |
setAllowOptimisedComponents(boolean allowOptimisedComponents) |
void |
setCacheSize(int cacheSize) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setId(String id) |
void |
setIgnoreInvalidEndpoint(boolean ignoreInvalidEndpoint) |
void |
setPattern(org.apache.camel.ExchangePattern pattern) |
String |
toString() |
build, doBuild, doInit, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendprotected org.apache.camel.spi.SendDynamicAware dynamicAware
protected org.apache.camel.CamelContext camelContext
protected final String uri
protected final org.apache.camel.Expression expression
protected org.apache.camel.ExchangePattern pattern
protected org.apache.camel.spi.ProducerCache producerCache
protected String id
protected boolean ignoreInvalidEndpoint
protected int cacheSize
protected boolean allowOptimisedComponents
public SendDynamicProcessor(String uri, org.apache.camel.Expression expression)
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.AsyncProcessorprotected static String resolveUri(org.apache.camel.Exchange exchange, Object recipient) throws org.apache.camel.NoTypeConversionAvailableException
org.apache.camel.NoTypeConversionAvailableExceptionprotected static org.apache.camel.Endpoint resolveEndpoint(org.apache.camel.Exchange exchange,
Object recipient)
throws org.apache.camel.NoTypeConversionAvailableException
org.apache.camel.NoTypeConversionAvailableExceptionprotected org.apache.camel.Exchange configureExchange(org.apache.camel.Exchange exchange,
org.apache.camel.ExchangePattern pattern,
org.apache.camel.Endpoint endpoint)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.AsyncProcessorSupportExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.AsyncProcessorSupportExceptionpublic org.apache.camel.spi.EndpointUtilizationStatistics getEndpointUtilizationStatistics()
public org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic org.apache.camel.spi.SendDynamicAware getDynamicAware()
public String getUri()
public org.apache.camel.Expression getExpression()
public org.apache.camel.ExchangePattern getPattern()
public void setPattern(org.apache.camel.ExchangePattern pattern)
public boolean isIgnoreInvalidEndpoint()
public void setIgnoreInvalidEndpoint(boolean ignoreInvalidEndpoint)
public int getCacheSize()
public void setCacheSize(int cacheSize)
public boolean isAllowOptimisedComponents()
public void setAllowOptimisedComponents(boolean allowOptimisedComponents)
Apache Camel