Interface EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    Enclosing interface:
    EtcdWatchEndpointBuilderFactory

    public static interface EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint for the Etcd Watch component.
    • Method Detail

      • bridgeErrorHandler

        default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder 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 EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder 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
      • recursive

        default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder recursive​(boolean recursive)
        To apply an action recursively. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        recursive - the value to set
        Returns:
        the dsl builder
      • servicePath

        default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder servicePath​(String servicePath)
        The path to look for for service discovery. The option is a: <code>java.lang.String</code> type. Default: /services/ Group: consumer
        Parameters:
        servicePath - the value to set
        Returns:
        the dsl builder
      • uris

        default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder uris​(String uris)
        To set the URIs the client connects. The option is a: <code>java.lang.String</code> type. Default: http://localhost:2379,http://localhost:4001 Group: common
        Parameters:
        uris - the value to set
        Returns:
        the dsl builder
      • sendEmptyExchangeOnTimeout

        default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder sendEmptyExchangeOnTimeout​(boolean sendEmptyExchangeOnTimeout)
        To send an empty message in case of timeout watching for a key. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        sendEmptyExchangeOnTimeout - the value to set
        Returns:
        the dsl builder
      • sendEmptyExchangeOnTimeout

        default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder sendEmptyExchangeOnTimeout​(String sendEmptyExchangeOnTimeout)
        To send an empty message in case of timeout watching for a key. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        sendEmptyExchangeOnTimeout - the value to set
        Returns:
        the dsl builder
      • timeout

        default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder timeout​(String timeout)
        To set the maximum time an action could take to complete. The option will be converted to a <code>java.lang.Long</code> type. Group: consumer
        Parameters:
        timeout - the value to set
        Returns:
        the dsl builder
      • sslContextParameters

        default EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder sslContextParameters​(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
        To configure security using SSLContextParameters. 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 EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder sslContextParameters​(String sslContextParameters)
        To configure security using SSLContextParameters. 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