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
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.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(ThriftEndpointBuilderFactory.ThriftCompressionType compressionType)
Protocol compression mechanism type.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
exchangeProtocol(String exchangeProtocol)
Exchange protocol serialization type.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
exchangeProtocol(ThriftEndpointBuilderFactory.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(ThriftEndpointBuilderFactory.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(Object sslParameters)
Configuration parameters for SSL/TLS security negotiation.default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder
sslParameters(String sslParameters)
Configuration parameters for SSL/TLS security negotiation.
-
-
-
Method Detail
-
advanced
default ThriftEndpointBuilderFactory.AdvancedThriftEndpointConsumerBuilder advanced()
-
compressionType
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder compressionType(ThriftEndpointBuilderFactory.ThriftCompressionType compressionType)
Protocol compression mechanism type. The option is a:org.apache.camel.component.thrift.ThriftCompressionType
type. Default: NONE Group: common
-
compressionType
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder compressionType(String compressionType)
Protocol compression mechanism type. The option will be converted to aorg.apache.camel.component.thrift.ThriftCompressionType
type. Default: NONE Group: common
-
exchangeProtocol
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder exchangeProtocol(ThriftEndpointBuilderFactory.ThriftExchangeProtocol exchangeProtocol)
Exchange protocol serialization type. The option is a:org.apache.camel.component.thrift.ThriftExchangeProtocol
type. Default: BINARY Group: common
-
exchangeProtocol
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder exchangeProtocol(String exchangeProtocol)
Exchange protocol serialization type. The option will be converted to aorg.apache.camel.component.thrift.ThriftExchangeProtocol
type. Default: BINARY Group: common
-
bridgeErrorHandler
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:boolean
type. Default: false Group: consumer
-
bridgeErrorHandler
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aboolean
type. Default: false Group: consumer
-
clientTimeout
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder clientTimeout(int clientTimeout)
Client timeout for consumers. The option is a:int
type. Group: consumer
-
clientTimeout
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder clientTimeout(String clientTimeout)
Client timeout for consumers. The option will be converted to aint
type. Group: consumer
-
maxPoolSize
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder maxPoolSize(int maxPoolSize)
The Thrift server consumer max thread pool size. The option is a:int
type. Default: 10 Group: consumer
-
maxPoolSize
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder maxPoolSize(String maxPoolSize)
The Thrift server consumer max thread pool size. The option will be converted to aint
type. Default: 10 Group: consumer
-
poolSize
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder poolSize(int poolSize)
The Thrift server consumer initial thread pool size. The option is a:int
type. Default: 1 Group: consumer
-
poolSize
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder poolSize(String poolSize)
The Thrift server consumer initial thread pool size. The option will be converted to aint
type. Default: 1 Group: consumer
-
negotiationType
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder negotiationType(ThriftEndpointBuilderFactory.ThriftNegotiationType negotiationType)
Security negotiation type. The option is a:org.apache.camel.component.thrift.ThriftNegotiationType
type. Default: PLAINTEXT Group: security
-
negotiationType
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder negotiationType(String negotiationType)
Security negotiation type. The option will be converted to aorg.apache.camel.component.thrift.ThriftNegotiationType
type. Default: PLAINTEXT Group: security
-
sslParameters
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder sslParameters(Object sslParameters)
Configuration parameters for SSL/TLS security negotiation. The option is a:org.apache.camel.support.jsse.SSLContextParameters
type. Group: security
-
sslParameters
default ThriftEndpointBuilderFactory.ThriftEndpointConsumerBuilder sslParameters(String sslParameters)
Configuration parameters for SSL/TLS security negotiation. The option will be converted to aorg.apache.camel.support.jsse.SSLContextParameters
type. Group: security
-
-