public class SendProcessor
extends org.apache.camel.support.AsyncProcessorSupport
implements org.apache.camel.Traceable, org.apache.camel.EndpointAware, org.apache.camel.spi.IdAware, org.apache.camel.spi.RouteIdAware
SendDynamicProcessor| Modifier and Type | Field and Description |
|---|---|
protected org.apache.camel.ExtendedCamelContext |
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 |
routeId |
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 void |
doInit() |
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 |
getRouteId() |
String |
getTraceLabel() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
void |
reset() |
void |
setId(String id) |
void |
setRouteId(String routeId) |
String |
toString() |
build, doBuild, 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.ExtendedCamelContext 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 String routeId
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 getRouteId()
getRouteId in interface org.apache.camel.spi.RouteIdAwarepublic void setRouteId(String routeId)
setRouteId in interface org.apache.camel.spi.RouteIdAwarepublic 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()
public long getCounter()
public void reset()
protected void doInit()
throws Exception
doInit in class org.apache.camel.support.service.ServiceSupportExceptionprotected 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