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 Detail

      • 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​(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
      • 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
      • 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