Interface ZookeeperMasterComponentBuilderFactory.ZookeeperMasterComponentBuilder

    • Method Detail

      • bridgeErrorHandler

        default ZookeeperMasterComponentBuilderFactory.ZookeeperMasterComponentBuilder 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
      • maximumConnectionTimeout

        default ZookeeperMasterComponentBuilderFactory.ZookeeperMasterComponentBuilder maximumConnectionTimeout​(int maximumConnectionTimeout)
        Timeout in millis to use when connecting to the zookeeper ensemble. The option is a: <code>int</code> type. Default: 10000 Group: consumer
        Parameters:
        maximumConnectionTimeout - the value to set
        Returns:
        the dsl builder
      • zkRoot

        default ZookeeperMasterComponentBuilderFactory.ZookeeperMasterComponentBuilder zkRoot​(String zkRoot)
        The root path to use in zookeeper where information is stored which nodes are master/slave etc. Will by default use: /camel/zookeepermaster/clusters/master. The option is a: <code>java.lang.String</code> type. Default: /camel/zookeepermaster/clusters/master Group: consumer
        Parameters:
        zkRoot - the value to set
        Returns:
        the dsl builder
      • autowiredEnabled

        default ZookeeperMasterComponentBuilderFactory.ZookeeperMasterComponentBuilder autowiredEnabled​(boolean autowiredEnabled)
        Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        autowiredEnabled - the value to set
        Returns:
        the dsl builder
      • containerIdFactory

        default ZookeeperMasterComponentBuilderFactory.ZookeeperMasterComponentBuilder containerIdFactory​(org.apache.camel.component.zookeepermaster.ContainerIdFactory containerIdFactory)
        To use a custom ContainerIdFactory for creating container ids. The option is a: <code>org.apache.camel.component.zookeepermaster.ContainerIdFactory</code> type. Group: advanced
        Parameters:
        containerIdFactory - the value to set
        Returns:
        the dsl builder
      • curator

        default ZookeeperMasterComponentBuilderFactory.ZookeeperMasterComponentBuilder curator​(org.apache.curator.framework.CuratorFramework curator)
        To use a custom configured CuratorFramework as connection to zookeeper ensemble. The option is a: <code>org.apache.curator.framework.CuratorFramework</code> type. Group: advanced
        Parameters:
        curator - the value to set
        Returns:
        the dsl builder