Interface ThriftEndpointBuilderFactory.ThriftEndpointProducerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    All Known Subinterfaces:
    ThriftEndpointBuilderFactory.ThriftEndpointBuilder
    Enclosing interface:
    ThriftEndpointBuilderFactory

    public static interface ThriftEndpointBuilderFactory.ThriftEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint producers for the Thrift component.
    • Method Detail

      • compressionType

        default ThriftEndpointBuilderFactory.ThriftEndpointProducerBuilder 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.ThriftEndpointProducerBuilder 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
      • lazyStartProducer

        default ThriftEndpointBuilderFactory.ThriftEndpointProducerBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default ThriftEndpointBuilderFactory.ThriftEndpointProducerBuilder lazyStartProducer​(String lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • negotiationType

        default ThriftEndpointBuilderFactory.ThriftEndpointProducerBuilder 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.ThriftEndpointProducerBuilder 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.ThriftEndpointProducerBuilder 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