Class ThriftConfiguration
java.lang.Object
org.apache.camel.component.thrift.ThriftConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Client timeout for consumersProtocol compression mechanism typeExchange protocol serialization typegetHost()
The Thrift server host name.int
The Thrift server consumer max thread pool sizeThe Thrift invoked method nameSecurity negotiation typeint
The Thrift server consumer initial thread pool sizeint
getPort()
The Thrift server portFully qualified service name from the thrift descriptor file (package dot service definition name)org.apache.camel.support.jsse.SSLContextParameters
Configuration parameters for SSL/TLS security negotiationvoid
void
setClientTimeout
(int clientTimeout) void
setCompressionType
(ThriftCompressionType compressionType) void
setExchangeProtocol
(ThriftExchangeProtocol exchangeProtocol) void
void
setMaxPoolSize
(int maxPoolSize) void
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)
-
Constructor Details
-
ThriftConfiguration
public ThriftConfiguration()
-
-
Method Details
-
getService
Fully qualified service name from the thrift descriptor file (package dot service definition name) -
setService
-
getMethod
The Thrift invoked method name -
setMethod
-
getExchangeProtocol
Exchange protocol serialization type -
setExchangeProtocol
-
getNegotiationType
Security negotiation type -
setNegotiationType
-
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
Protocol compression mechanism type -
setCompressionType
-
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
-
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
-