@UriEndpoint(firstVersion="2.20.0",
scheme="thrift",
title="Thrift",
syntax="thrift:host:port/service",
category={RPC,TRANSFORMATION})
public class ThriftEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Constructor and Description |
|---|
ThriftEndpoint(String uri,
ThriftComponent component,
ThriftConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
ThriftConfiguration |
getConfiguration() |
String |
getServiceName() |
String |
getServicePackage() |
boolean |
isSynchronous() |
void |
setSynchronous(boolean synchronous) |
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringbuild, doBuild, doFail, 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, finalize, getClass, notify, notifyAll, wait, wait, waitpublic ThriftEndpoint(String uri, ThriftComponent component, ThriftConfiguration config) throws Exception
Exceptionpublic ThriftConfiguration getConfiguration()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic String getServiceName()
public String getServicePackage()
public boolean isSynchronous()
public void setSynchronous(boolean synchronous)
Apache Camel