Class ThriftConfiguration
java.lang.Object
org.apache.camel.component.thrift.ThriftConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintClient timeout for consumersProtocol compression mechanism typeExchange protocol serialization typegetHost()The Thrift server host name.intThe Thrift server consumer max thread pool sizeThe Thrift invoked method nameSecurity negotiation typeintThe Thrift server consumer initial thread pool sizeintgetPort()The Thrift server portFully qualified service name from the thrift descriptor file (package dot service definition name)org.apache.camel.support.jsse.SSLContextParametersConfiguration parameters for SSL/TLS security negotiationvoidvoidsetClientTimeout(int clientTimeout) voidsetCompressionType(ThriftCompressionType compressionType) voidsetExchangeProtocol(ThriftExchangeProtocol exchangeProtocol) voidvoidsetMaxPoolSize(int maxPoolSize) voidvoidsetNegotiationType(ThriftNegotiationType negotiationType) voidsetPoolSize(int poolSize) voidsetPort(int port) voidsetService(String service) voidsetSslParameters(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
-