@UriParams public class ThriftConfiguration extends Object
Constructor and Description |
---|
ThriftConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getClientTimeout()
Client timeout for consumers
|
ThriftCompressionType |
getCompressionType()
Protocol compression mechanism type
|
ThriftExchangeProtocol |
getExchangeProtocol()
Exchange protocol serialization type
|
String |
getHost()
The Thrift server host name.
|
int |
getMaxPoolSize()
The Thrift server consumer max thread pool size
|
String |
getMethod()
The Thrift invoked method name
|
ThriftNegotiationType |
getNegotiationType()
Security negotiation type
|
int |
getPoolSize()
The Thrift server consumer initial thread pool size
|
int |
getPort()
The Thrift server port
|
String |
getService()
Fully qualified service name from the thrift descriptor file
(package dot service definition name)
|
org.apache.camel.util.jsse.SSLContextParameters |
getSslParameters()
Configuration parameters for SSL/TLS security negotiation
|
void |
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.util.jsse.SSLContextParameters sslParameters) |
public String getService()
public void setService(String service)
public String getMethod()
public void setMethod(String method)
public ThriftExchangeProtocol getExchangeProtocol()
public void setExchangeProtocol(ThriftExchangeProtocol exchangeProtocol)
public ThriftNegotiationType getNegotiationType()
public void setNegotiationType(ThriftNegotiationType negotiationType)
public org.apache.camel.util.jsse.SSLContextParameters getSslParameters()
public void setSslParameters(org.apache.camel.util.jsse.SSLContextParameters sslParameters)
public ThriftCompressionType getCompressionType()
public void setCompressionType(ThriftCompressionType compressionType)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public int getClientTimeout()
public void setClientTimeout(int clientTimeout)
public int getPoolSize()
public void setPoolSize(int poolSize)
public int getMaxPoolSize()
public void setMaxPoolSize(int maxPoolSize)
public void parseURI(URI uri, Map<String,Object> parameters, ThriftComponent component)
Apache Camel