Interface ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
ThriftEndpointBuilderFactory.ThriftEndpointBuilder
- Enclosing interface:
- ThriftEndpointBuilderFactory
public static interface ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Thrift component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ThriftEndpointBuilderFactory.AdvancedThriftEndpointConsumerBuilder
advanced()
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
clientTimeout(int clientTimeout)
Client timeout for consumers.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
clientTimeout(String clientTimeout)
Client timeout for consumers.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
compressionType(String compressionType)
Protocol compression mechanism type.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
compressionType(org.apache.camel.component.thrift.ThriftCompressionType compressionType)
Protocol compression mechanism type.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
exchangeProtocol(String exchangeProtocol)
Exchange protocol serialization type.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
exchangeProtocol(org.apache.camel.component.thrift.ThriftExchangeProtocol exchangeProtocol)
Exchange protocol serialization type.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
maxPoolSize(int maxPoolSize)
The Thrift server consumer max thread pool size.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
maxPoolSize(String maxPoolSize)
The Thrift server consumer max thread pool size.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
negotiationType(String negotiationType)
Security negotiation type.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
negotiationType(org.apache.camel.component.thrift.ThriftNegotiationType negotiationType)
Security negotiation type.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
poolSize(int poolSize)
The Thrift server consumer initial thread pool size.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
poolSize(String poolSize)
The Thrift server consumer initial thread pool size.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
sslParameters(String sslParameters)
Configuration parameters for SSL/TLS security negotiation.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
sslParameters(org.apache.camel.support.jsse.SSLContextParameters sslParameters)
Configuration parameters for SSL/TLS security negotiation.
-
-
-
Method Detail
-
advanced
default ThriftEndpointBuilderFactory.AdvancedThriftEndpointConsumerBuilder advanced()
-
compressionType
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder compressionType(org.apache.camel.component.thrift.ThriftCompressionType compressionType)
Protocol compression mechanism type. The option is a: <code>org.apache.camel.component.thrift.ThriftCompressionType</code> type. Default: NONE Group: common- Parameters:
compressionType
- the value to set- Returns:
- the dsl builder
-
compressionType
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder compressionType(String compressionType)
Protocol compression mechanism type. The option will be converted to a <code>org.apache.camel.component.thrift.ThriftCompressionType</code> type. Default: NONE Group: common- Parameters:
compressionType
- the value to set- Returns:
- the dsl builder
-
exchangeProtocol
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder exchangeProtocol(org.apache.camel.component.thrift.ThriftExchangeProtocol exchangeProtocol)
Exchange protocol serialization type. The option is a: <code>org.apache.camel.component.thrift.ThriftExchangeProtocol</code> type. Default: BINARY Group: common- Parameters:
exchangeProtocol
- the value to set- Returns:
- the dsl builder
-
exchangeProtocol
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder exchangeProtocol(String exchangeProtocol)
Exchange protocol serialization type. The option will be converted to a <code>org.apache.camel.component.thrift.ThriftExchangeProtocol</code> type. Default: BINARY Group: common- Parameters:
exchangeProtocol
- the value to set- Returns:
- the dsl builder
-
clientTimeout
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder clientTimeout(int clientTimeout)
Client timeout for consumers. The option is a: <code>int</code> type. Group: consumer- Parameters:
clientTimeout
- the value to set- Returns:
- the dsl builder
-
clientTimeout
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder clientTimeout(String clientTimeout)
Client timeout for consumers. The option will be converted to a <code>int</code> type. Group: consumer- Parameters:
clientTimeout
- the value to set- Returns:
- the dsl builder
-
maxPoolSize
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder maxPoolSize(int maxPoolSize)
The Thrift server consumer max thread pool size. The option is a: <code>int</code> type. Default: 10 Group: consumer- Parameters:
maxPoolSize
- the value to set- Returns:
- the dsl builder
-
maxPoolSize
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder maxPoolSize(String maxPoolSize)
The Thrift server consumer max thread pool size. The option will be converted to a <code>int</code> type. Default: 10 Group: consumer- Parameters:
maxPoolSize
- the value to set- Returns:
- the dsl builder
-
poolSize
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder poolSize(int poolSize)
The Thrift server consumer initial thread pool size. The option is a: <code>int</code> type. Default: 1 Group: consumer- Parameters:
poolSize
- the value to set- Returns:
- the dsl builder
-
poolSize
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder poolSize(String poolSize)
The Thrift server consumer initial thread pool size. The option will be converted to a <code>int</code> type. Default: 1 Group: consumer- Parameters:
poolSize
- the value to set- Returns:
- the dsl builder
-
negotiationType
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder negotiationType(org.apache.camel.component.thrift.ThriftNegotiationType negotiationType)
Security negotiation type. The option is a: <code>org.apache.camel.component.thrift.ThriftNegotiationType</code> type. Default: PLAINTEXT Group: security- Parameters:
negotiationType
- the value to set- Returns:
- the dsl builder
-
negotiationType
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder negotiationType(String negotiationType)
Security negotiation type. The option will be converted to a <code>org.apache.camel.component.thrift.ThriftNegotiationType</code> type. Default: PLAINTEXT Group: security- Parameters:
negotiationType
- the value to set- Returns:
- the dsl builder
-
sslParameters
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder sslParameters(org.apache.camel.support.jsse.SSLContextParameters sslParameters)
Configuration parameters for SSL/TLS security negotiation. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslParameters
- the value to set- Returns:
- the dsl builder
-
sslParameters
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder sslParameters(String sslParameters)
Configuration parameters for SSL/TLS security negotiation. The option will be converted to a <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslParameters
- the value to set- Returns:
- the dsl builder
-
-