public class SendDynamicProcessor
extends org.apache.camel.support.AsyncProcessorSupport
implements org.apache.camel.spi.IdAware, org.apache.camel.spi.RouteIdAware, org.apache.camel.CamelContextAware
SendProcessor| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | allowOptimisedComponents | 
| protected boolean | autoStartupComponents | 
| 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 | routeId | 
| protected String | scheme | 
| 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 | doInit() | 
| 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() | 
| protected static org.apache.camel.Endpoint | getExistingEndpoint(org.apache.camel.Exchange exchange,
                   Object recipient) | 
| org.apache.camel.Expression | getExpression() | 
| String | getId() | 
| org.apache.camel.ExchangePattern | getPattern() | 
| String | getRouteId() | 
| String | getUri() | 
| boolean | isAllowOptimisedComponents() | 
| boolean | isAutoStartupComponents() | 
| boolean | isIgnoreInvalidEndpoint() | 
| protected static Object | prepareRecipient(org.apache.camel.Exchange exchange,
                Object recipient) | 
| 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,
               boolean prototype) | 
| 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 | setAutoStartupComponents(boolean autoStartupComponents) | 
| 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) | 
| void | setRouteId(String routeId) | 
| String | toString() | 
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected org.apache.camel.spi.SendDynamicAware dynamicAware
protected volatile String scheme
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 String routeId
protected boolean ignoreInvalidEndpoint
protected int cacheSize
protected boolean allowOptimisedComponents
protected boolean autoStartupComponents
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 String getRouteId()
getRouteId in interface org.apache.camel.spi.RouteIdAwarepublic void setRouteId(String routeId)
setRouteId in interface org.apache.camel.spi.RouteIdAwarepublic 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 Object prepareRecipient(org.apache.camel.Exchange exchange, Object recipient) throws org.apache.camel.NoTypeConversionAvailableException
org.apache.camel.NoTypeConversionAvailableExceptionprotected static org.apache.camel.Endpoint getExistingEndpoint(org.apache.camel.Exchange exchange,
                                                               Object recipient)
protected static org.apache.camel.Endpoint resolveEndpoint(org.apache.camel.Exchange exchange,
                                                           Object recipient,
                                                           boolean prototype)
protected org.apache.camel.Exchange configureExchange(org.apache.camel.Exchange exchange,
                                                      org.apache.camel.ExchangePattern pattern,
                                                      org.apache.camel.Endpoint endpoint)
protected void doInit()
               throws Exception
doInit in class org.apache.camel.support.service.BaseServiceExceptionprotected 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)
public boolean isAutoStartupComponents()
public void setAutoStartupComponents(boolean autoStartupComponents)
Apache Camel