Interface ConsulEndpointBuilderFactory.ConsulEndpointConsumerBuilder

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

    public static interface ConsulEndpointBuilderFactory.ConsulEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the Consul component.
    • Method Detail

      • connectTimeoutMillis

        @Deprecated
        default ConsulEndpointBuilderFactory.ConsulEndpointConsumerBuilder 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.ConsulEndpointConsumerBuilder 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.ConsulEndpointConsumerBuilder 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.ConsulEndpointConsumerBuilder 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.ConsulEndpointConsumerBuilder 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.ConsulEndpointConsumerBuilder 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.ConsulEndpointConsumerBuilder 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.ConsulEndpointConsumerBuilder 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.ConsulEndpointConsumerBuilder 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.ConsulEndpointConsumerBuilder 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
      • bridgeErrorHandler

        default ConsulEndpointBuilderFactory.ConsulEndpointConsumerBuilder 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 ConsulEndpointBuilderFactory.ConsulEndpointConsumerBuilder 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
      • sslContextParameters

        default ConsulEndpointBuilderFactory.ConsulEndpointConsumerBuilder 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.ConsulEndpointConsumerBuilder 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
      • blockSeconds

        default ConsulEndpointBuilderFactory.ConsulEndpointConsumerBuilder blockSeconds​(Integer blockSeconds)
        The second to wait for a watch event, default 10 seconds. The option is a: <code>java.lang.Integer</code> type. Default: 10 Group: watch
        Parameters:
        blockSeconds - the value to set
        Returns:
        the dsl builder
      • blockSeconds

        default ConsulEndpointBuilderFactory.ConsulEndpointConsumerBuilder blockSeconds​(String blockSeconds)
        The second to wait for a watch event, default 10 seconds. The option will be converted to a <code>java.lang.Integer</code> type. Default: 10 Group: watch
        Parameters:
        blockSeconds - the value to set
        Returns:
        the dsl builder
      • firstIndex

        default ConsulEndpointBuilderFactory.ConsulEndpointConsumerBuilder firstIndex​(String firstIndex)
        The first index for watch for, default 0. The option will be converted to a <code>java.math.BigInteger</code> type. Default: 0 Group: watch
        Parameters:
        firstIndex - the value to set
        Returns:
        the dsl builder