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 AtomicLong |
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, doFail, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected 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 final AtomicLong 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.HasId
public void setId(String id)
setId
in interface org.apache.camel.spi.IdAware
public String getRouteId()
getRouteId
in interface org.apache.camel.spi.RouteIdAware
public void setRouteId(String routeId)
setRouteId
in interface org.apache.camel.spi.RouteIdAware
public String getTraceLabel()
getTraceLabel
in interface org.apache.camel.Traceable
public org.apache.camel.Endpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
public boolean process(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
process
in interface org.apache.camel.AsyncProcessor
public 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.BaseService
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.AsyncProcessorSupport
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.AsyncProcessorSupport
Exception
Apache Camel