public class SendProcessor
extends org.apache.camel.support.AsyncProcessorSupport
implements org.apache.camel.Traceable, org.apache.camel.EndpointAware, org.apache.camel.spi.IdAware
SendDynamicProcessor| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.camel.CamelContext | camelContext | 
| protected long | counter | 
| protected org.apache.camel.Endpoint | destination | 
| protected org.apache.camel.ExchangePattern | destinationExchangePattern | 
| protected String | id | 
| protected org.apache.camel.ExchangePattern | pattern | 
| protected org.apache.camel.AsyncProducer | producer | 
| protected org.apache.camel.spi.ProducerCache | producerCache | 
| protected String | traceLabelToString | 
| Constructor and Description | 
|---|
| SendProcessor(org.apache.camel.Endpoint destination) | 
| SendProcessor(org.apache.camel.Endpoint destination,
             org.apache.camel.ExchangePattern pattern) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected org.apache.camel.Exchange | configureExchange(org.apache.camel.Exchange exchange,
                 org.apache.camel.ExchangePattern pattern) | 
| protected void | doShutdown() | 
| protected void | doStart() | 
| protected void | doStop() | 
| long | getCounter() | 
| org.apache.camel.Endpoint | getDestination() | 
| org.apache.camel.Endpoint | getEndpoint() | 
| String | getId() | 
| org.apache.camel.ExchangePattern | getPattern() | 
| String | getTraceLabel() | 
| boolean | process(org.apache.camel.Exchange exchange,
       org.apache.camel.AsyncCallback callback) | 
| void | reset() | 
| void | setId(String id) | 
| String | toString() | 
build, doBuild, doInit, doResume, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendprotected transient String traceLabelToString
protected final org.apache.camel.CamelContext camelContext
protected final org.apache.camel.ExchangePattern pattern
protected org.apache.camel.spi.ProducerCache producerCache
protected org.apache.camel.AsyncProducer producer
protected org.apache.camel.Endpoint destination
protected org.apache.camel.ExchangePattern destinationExchangePattern
protected String id
protected volatile long counter
public SendProcessor(org.apache.camel.Endpoint destination)
public SendProcessor(org.apache.camel.Endpoint destination,
                     org.apache.camel.ExchangePattern pattern)
public String getId()
getId in interface org.apache.camel.spi.HasIdpublic void setId(String id)
setId in interface org.apache.camel.spi.IdAwarepublic String getTraceLabel()
getTraceLabel in interface org.apache.camel.Traceablepublic org.apache.camel.Endpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwarepublic boolean process(org.apache.camel.Exchange exchange,
                       org.apache.camel.AsyncCallback callback)
process in interface org.apache.camel.AsyncProcessorpublic org.apache.camel.Endpoint getDestination()
public org.apache.camel.ExchangePattern getPattern()
protected org.apache.camel.Exchange configureExchange(org.apache.camel.Exchange exchange,
                                                      org.apache.camel.ExchangePattern pattern)
public long getCounter()
public void reset()
protected void doStart()
                throws Exception
doStart in class org.apache.camel.support.AsyncProcessorSupportExceptionprotected void doStop()
               throws Exception
doStop in class org.apache.camel.support.AsyncProcessorSupportExceptionApache Camel