public class ThriftProducer
extends org.apache.camel.support.DefaultAsyncProducer
implements org.apache.camel.AsyncProducer
| Modifier and Type | Field and Description |
|---|---|
protected ThriftConfiguration |
configuration |
protected ThriftEndpoint |
endpoint |
| Constructor and Description |
|---|
ThriftProducer(ThriftEndpoint endpoint,
ThriftConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
protected void |
initializeAsyncTransport() |
protected void |
initializeSslTransport() |
protected void |
initializeSyncTransport() |
void |
process(org.apache.camel.Exchange exchange) |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
createExchange, getEndpoint, isSingleton, toStringbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected final ThriftConfiguration configuration
protected final ThriftEndpoint endpoint
public ThriftProducer(ThriftEndpoint endpoint, ThriftConfiguration configuration)
public boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
process in interface org.apache.camel.AsyncProcessorpublic void process(org.apache.camel.Exchange exchange)
throws Exception
process in interface org.apache.camel.Processorprocess in class org.apache.camel.support.DefaultAsyncProducerExceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultProducerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultProducerExceptionprotected void initializeSyncTransport()
throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportExceptionprotected void initializeAsyncTransport()
throws IOException,
org.apache.thrift.transport.TTransportException
IOExceptionorg.apache.thrift.transport.TTransportExceptionprotected void initializeSslTransport()
throws org.apache.thrift.transport.TTransportException,
IOException
org.apache.thrift.transport.TTransportExceptionIOExceptionApache Camel