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: <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(ThriftEndpointBuilderFactory.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
-
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: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
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 a <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- 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(ThriftEndpointBuilderFactory.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(Object 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
-
-