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() |
doInit, doResume, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
protected 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.HasId
public void setId(String id)
setId
in interface org.apache.camel.spi.IdAware
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()
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.AsyncProcessorSupport
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.AsyncProcessorSupport
Exception
Apache Camel