Class ThriftConfiguration
- java.lang.Object
-
- org.apache.camel.component.thrift.ThriftConfiguration
-
@UriParams public class ThriftConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description ThriftConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getClientTimeout()
Client timeout for consumersThriftCompressionType
getCompressionType()
Protocol compression mechanism typeThriftExchangeProtocol
getExchangeProtocol()
Exchange protocol serialization typeString
getHost()
The Thrift server host name.int
getMaxPoolSize()
The Thrift server consumer max thread pool sizeString
getMethod()
The Thrift invoked method nameThriftNegotiationType
getNegotiationType()
Security negotiation typeint
getPoolSize()
The Thrift server consumer initial thread pool sizeint
getPort()
The Thrift server portString
getService()
Fully qualified service name from the thrift descriptor file (package dot service definition name)org.apache.camel.support.jsse.SSLContextParameters
getSslParameters()
Configuration parameters for SSL/TLS security negotiationvoid
parseURI(URI uri, Map<String,Object> parameters, ThriftComponent component)
void
setClientTimeout(int clientTimeout)
void
setCompressionType(ThriftCompressionType compressionType)
void
setExchangeProtocol(ThriftExchangeProtocol exchangeProtocol)
void
setHost(String host)
void
setMaxPoolSize(int maxPoolSize)
void
setMethod(String method)
void
setNegotiationType(ThriftNegotiationType negotiationType)
void
setPoolSize(int poolSize)
void
setPort(int port)
void
setService(String service)
void
setSslParameters(org.apache.camel.support.jsse.SSLContextParameters sslParameters)
-
-
-
Method Detail
-
getService
public String getService()
Fully qualified service name from the thrift descriptor file (package dot service definition name)
-
setService
public void setService(String service)
-
getMethod
public String getMethod()
The Thrift invoked method name
-
setMethod
public void setMethod(String method)
-
getExchangeProtocol
public ThriftExchangeProtocol getExchangeProtocol()
Exchange protocol serialization type
-
setExchangeProtocol
public void setExchangeProtocol(ThriftExchangeProtocol exchangeProtocol)
-
getNegotiationType
public ThriftNegotiationType getNegotiationType()
Security negotiation type
-
setNegotiationType
public void setNegotiationType(ThriftNegotiationType negotiationType)
-
getSslParameters
public org.apache.camel.support.jsse.SSLContextParameters getSslParameters()
Configuration parameters for SSL/TLS security negotiation
-
setSslParameters
public void setSslParameters(org.apache.camel.support.jsse.SSLContextParameters sslParameters)
-
getCompressionType
public ThriftCompressionType getCompressionType()
Protocol compression mechanism type
-
setCompressionType
public void setCompressionType(ThriftCompressionType compressionType)
-
getHost
public String getHost()
The Thrift server host name. This is localhost or 0.0.0.0 (if not defined) when being a consumer or remote server host name when using producer.
-
setHost
public void setHost(String host)
-
getPort
public int getPort()
The Thrift server port
-
setPort
public void setPort(int port)
-
getClientTimeout
public int getClientTimeout()
Client timeout for consumers
-
setClientTimeout
public void setClientTimeout(int clientTimeout)
-
getPoolSize
public int getPoolSize()
The Thrift server consumer initial thread pool size
-
setPoolSize
public void setPoolSize(int poolSize)
-
getMaxPoolSize
public int getMaxPoolSize()
The Thrift server consumer max thread pool size
-
setMaxPoolSize
public void setMaxPoolSize(int maxPoolSize)
-
parseURI
public void parseURI(URI uri, Map<String,Object> parameters, ThriftComponent component)
-
-