Interface JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder

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

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

      • channelProperties

        default JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder channelProperties​(String channelProperties)
        Specifies configuration properties of the JChannel used by the endpoint. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        channelProperties - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder 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 JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder 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
      • enableViewMessages

        default JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder enableViewMessages​(boolean enableViewMessages)
        If set to true, the consumer endpoint will receive org.jgroups.View messages as well (not only org.jgroups.Message instances). By default only regular messages are consumed by the endpoint. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        enableViewMessages - the value to set
        Returns:
        the dsl builder
      • enableViewMessages

        default JGroupsEndpointBuilderFactory.JGroupsEndpointConsumerBuilder enableViewMessages​(String enableViewMessages)
        If set to true, the consumer endpoint will receive org.jgroups.View messages as well (not only org.jgroups.Message instances). By default only regular messages are consumed by the endpoint. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        enableViewMessages - the value to set
        Returns:
        the dsl builder