public class ConnectorProducer
extends org.apache.camel.impl.DefaultAsyncProducer
Producer
which is capable of performing before and after custom processing
via the Pipeline
while processing (ie sending the message).Constructor and Description |
---|
ConnectorProducer(org.apache.camel.Endpoint endpoint,
org.apache.camel.Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected void |
doResume() |
protected void |
doShutdown() |
protected void |
doStart() |
protected void |
doStop() |
protected void |
doSuspend() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
createExchange, createExchange, createExchange, getEndpoint, isSingleton, toString
getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public ConnectorProducer(org.apache.camel.Endpoint endpoint, org.apache.camel.Processor processor)
public boolean process(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultProducer
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultProducer
Exception
protected void doSuspend() throws Exception
doSuspend
in class org.apache.camel.support.ServiceSupport
Exception
protected void doResume() throws Exception
doResume
in class org.apache.camel.support.ServiceSupport
Exception
Apache Camel