Interface JGroupsRaftEndpointBuilderFactory.JGroupsRaftEndpointConsumerBuilder

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

    public static interface JGroupsRaftEndpointBuilderFactory.JGroupsRaftEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the JGroups raft component.
    • Method Detail

      • bridgeErrorHandler

        default JGroupsRaftEndpointBuilderFactory.JGroupsRaftEndpointConsumerBuilder 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 JGroupsRaftEndpointBuilderFactory.JGroupsRaftEndpointConsumerBuilder 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
      • enableRoleChangeEvents

        default JGroupsRaftEndpointBuilderFactory.JGroupsRaftEndpointConsumerBuilder enableRoleChangeEvents​(boolean enableRoleChangeEvents)
        If set to true, the consumer endpoint will receive roleChange event as well (not just connecting and/or using the state machine). By default it is set to false. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        enableRoleChangeEvents - the value to set
        Returns:
        the dsl builder
      • enableRoleChangeEvents

        default JGroupsRaftEndpointBuilderFactory.JGroupsRaftEndpointConsumerBuilder enableRoleChangeEvents​(String enableRoleChangeEvents)
        If set to true, the consumer endpoint will receive roleChange event as well (not just connecting and/or using the state machine). By default it is set to false. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        enableRoleChangeEvents - the value to set
        Returns:
        the dsl builder