Interface RedisEndpointBuilderFactory.RedisEndpointConsumerBuilder

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

    public static interface RedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the Spring Redis component.
    • Method Detail

      • command

        default RedisEndpointBuilderFactory.RedisEndpointConsumerBuilder command​(String command)
        Default command, which can be overridden by message header. Notice the consumer only supports the following commands: PSUBSCRIBE and SUBSCRIBE. The option will be converted to a org.apache.camel.component.redis.Command type. Default: SET Group: common
      • connectionFactory

        default RedisEndpointBuilderFactory.RedisEndpointConsumerBuilder connectionFactory​(String connectionFactory)
        Reference to a pre-configured RedisConnectionFactory instance to use. The option will be converted to a org.springframework.data.redis.connection.RedisConnectionFactory type. Group: common
      • bridgeErrorHandler

        default RedisEndpointBuilderFactory.RedisEndpointConsumerBuilder 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: boolean type. Default: false Group: consumer
      • bridgeErrorHandler

        default RedisEndpointBuilderFactory.RedisEndpointConsumerBuilder 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 boolean type. Default: false Group: consumer