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
Modifier and TypeMethodDescriptionadvanced()
clientTimeout
(int clientTimeout) Client timeout for consumers.clientTimeout
(String clientTimeout) Client timeout for consumers.compressionType
(String compressionType) Protocol compression mechanism type.compressionType
(org.apache.camel.component.thrift.ThriftCompressionType compressionType) Protocol compression mechanism type.exchangeProtocol
(String exchangeProtocol) Exchange protocol serialization type.exchangeProtocol
(org.apache.camel.component.thrift.ThriftExchangeProtocol exchangeProtocol) Exchange protocol serialization type.maxPoolSize
(int maxPoolSize) The Thrift server consumer max thread pool size.maxPoolSize
(String maxPoolSize) The Thrift server consumer max thread pool size.negotiationType
(String negotiationType) Security negotiation type.negotiationType
(org.apache.camel.component.thrift.ThriftNegotiationType negotiationType) Security negotiation type.poolSize
(int poolSize) The Thrift server consumer initial thread pool size.The Thrift server consumer initial thread pool size.sslParameters
(String sslParameters) Configuration parameters for SSL/TLS security negotiation.sslParameters
(org.apache.camel.support.jsse.SSLContextParameters sslParameters) Configuration parameters for SSL/TLS security negotiation.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
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
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
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
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
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
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
-