Interface ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder

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

    public static interface ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint producers for the Consul component.
    • Method Detail

      • connectTimeoutMillis

        @Deprecated
        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder connectTimeoutMillis​(Long connectTimeoutMillis)
        Deprecated.
        Connect timeout for OkHttpClient. Deprecation note: Use connectTimeout instead. The option is a: <code>java.lang.Long</code> type. Group: common
        Parameters:
        connectTimeoutMillis - the value to set
        Returns:
        the dsl builder
      • connectTimeoutMillis

        @Deprecated
        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder connectTimeoutMillis​(String connectTimeoutMillis)
        Deprecated.
        Connect timeout for OkHttpClient. Deprecation note: Use connectTimeout instead. The option will be converted to a <code>java.lang.Long</code> type. Group: common
        Parameters:
        connectTimeoutMillis - the value to set
        Returns:
        the dsl builder
      • consulClient

        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder consulClient​(Object consulClient)
        Reference to a com.orbitz.consul.Consul in the registry. The option is a: <code>com.orbitz.consul.Consul</code> type. Group: common
        Parameters:
        consulClient - the value to set
        Returns:
        the dsl builder
      • consulClient

        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder consulClient​(String consulClient)
        Reference to a com.orbitz.consul.Consul in the registry. The option will be converted to a <code>com.orbitz.consul.Consul</code> type. Group: common
        Parameters:
        consulClient - the value to set
        Returns:
        the dsl builder
      • pingInstance

        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder pingInstance​(boolean pingInstance)
        Configure if the AgentClient should attempt a ping before returning the Consul instance. The option is a: <code>boolean</code> type. Default: true Group: common
        Parameters:
        pingInstance - the value to set
        Returns:
        the dsl builder
      • pingInstance

        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder pingInstance​(String pingInstance)
        Configure if the AgentClient should attempt a ping before returning the Consul instance. The option will be converted to a <code>boolean</code> type. Default: true Group: common
        Parameters:
        pingInstance - the value to set
        Returns:
        the dsl builder
      • readTimeoutMillis

        @Deprecated
        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder readTimeoutMillis​(Long readTimeoutMillis)
        Deprecated.
        Read timeout for OkHttpClient. Deprecation note: Use readTimeout instead. The option is a: <code>java.lang.Long</code> type. Group: common
        Parameters:
        readTimeoutMillis - the value to set
        Returns:
        the dsl builder
      • readTimeoutMillis

        @Deprecated
        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder readTimeoutMillis​(String readTimeoutMillis)
        Deprecated.
        Read timeout for OkHttpClient. Deprecation note: Use readTimeout instead. The option will be converted to a <code>java.lang.Long</code> type. Group: common
        Parameters:
        readTimeoutMillis - the value to set
        Returns:
        the dsl builder
      • writeTimeoutMillis

        @Deprecated
        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder writeTimeoutMillis​(Long writeTimeoutMillis)
        Deprecated.
        Write timeout for OkHttpClient. Deprecation note: Use writeTimeout instead. The option is a: <code>java.lang.Long</code> type. Group: common
        Parameters:
        writeTimeoutMillis - the value to set
        Returns:
        the dsl builder
      • writeTimeoutMillis

        @Deprecated
        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder writeTimeoutMillis​(String writeTimeoutMillis)
        Deprecated.
        Write timeout for OkHttpClient. Deprecation note: Use writeTimeout instead. The option will be converted to a <code>java.lang.Long</code> type. Group: common
        Parameters:
        writeTimeoutMillis - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder 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 ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder 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
      • valueAsString

        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder valueAsString​(boolean valueAsString)
        Default to transform values retrieved from Consul i.e. on KV endpoint to string. The option is a: <code>boolean</code> type. Default: false Group: producer
        Parameters:
        valueAsString - the value to set
        Returns:
        the dsl builder
      • valueAsString

        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder valueAsString​(String valueAsString)
        Default to transform values retrieved from Consul i.e. on KV endpoint to string. The option will be converted to a <code>boolean</code> type. Default: false Group: producer
        Parameters:
        valueAsString - the value to set
        Returns:
        the dsl builder
      • sslContextParameters

        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder sslContextParameters​(Object sslContextParameters)
        SSL configuration using an org.apache.camel.support.jsse.SSLContextParameters instance. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security
        Parameters:
        sslContextParameters - the value to set
        Returns:
        the dsl builder
      • sslContextParameters

        default ConsulEndpointBuilderFactory.ConsulEndpointProducerBuilder sslContextParameters​(String sslContextParameters)
        SSL configuration using an org.apache.camel.support.jsse.SSLContextParameters instance. The option will be converted to a <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security
        Parameters:
        sslContextParameters - the value to set
        Returns:
        the dsl builder