Interface RedisEndpointBuilderFactory.RedisEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
RedisEndpointBuilderFactory.RedisEndpointBuilder
- Enclosing interface:
RedisEndpointBuilderFactory
public static interface RedisEndpointBuilderFactory.RedisEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Spring Redis component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()List of topic names or name patterns to subscribe to.Default command, which can be overridden by message header.command(org.apache.camel.component.redis.Command command) Default command, which can be overridden by message header.connectionFactory(String connectionFactory) Reference to a pre-configured RedisConnectionFactory instance to use.connectionFactory(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) Reference to a pre-configured RedisConnectionFactory instance to use.redisTemplate(String redisTemplate) Reference to a pre-configured RedisTemplate instance to use.redisTemplate(org.springframework.data.redis.core.RedisTemplate<Object, Object> redisTemplate) Reference to a pre-configured RedisTemplate instance to use.serializer(String serializer) Reference to a pre-configured RedisSerializer instance to use.serializer(org.springframework.data.redis.serializer.RedisSerializer<Object> serializer) Reference to a pre-configured RedisSerializer instance to use.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
channels
List of topic names or name patterns to subscribe to. Multiple names can be separated by comma. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
channels- the value to set- Returns:
- the dsl builder
-
command
default RedisEndpointBuilderFactory.RedisEndpointProducerBuilder command(org.apache.camel.component.redis.Command command) Default command, which can be overridden by message header. Notice the consumer only supports the following commands: PSUBSCRIBE and SUBSCRIBE. The option is a: <code>org.apache.camel.component.redis.Command</code> type. Default: SET Group: common- Parameters:
command- the value to set- Returns:
- the dsl builder
-
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 <code>org.apache.camel.component.redis.Command</code> type. Default: SET Group: common- Parameters:
command- the value to set- Returns:
- the dsl builder
-
connectionFactory
default RedisEndpointBuilderFactory.RedisEndpointProducerBuilder connectionFactory(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) Reference to a pre-configured RedisConnectionFactory instance to use. The option is a: <code>org.springframework.data.redis.connection.RedisConnectionFactory</code> type. Group: common- Parameters:
connectionFactory- the value to set- Returns:
- the dsl builder
-
connectionFactory
default RedisEndpointBuilderFactory.RedisEndpointProducerBuilder connectionFactory(String connectionFactory) Reference to a pre-configured RedisConnectionFactory instance to use. The option will be converted to a <code>org.springframework.data.redis.connection.RedisConnectionFactory</code> type. Group: common- Parameters:
connectionFactory- the value to set- Returns:
- the dsl builder
-
redisTemplate
default RedisEndpointBuilderFactory.RedisEndpointProducerBuilder redisTemplate(org.springframework.data.redis.core.RedisTemplate<Object, Object> redisTemplate) Reference to a pre-configured RedisTemplate instance to use. The option is a: <code>org.springframework.data.redis.core.RedisTemplate<java.lang.Object, java.lang.Object></code> type. Group: common- Parameters:
redisTemplate- the value to set- Returns:
- the dsl builder
-
redisTemplate
default RedisEndpointBuilderFactory.RedisEndpointProducerBuilder redisTemplate(String redisTemplate) Reference to a pre-configured RedisTemplate instance to use. The option will be converted to a <code>org.springframework.data.redis.core.RedisTemplate<java.lang.Object, java.lang.Object></code> type. Group: common- Parameters:
redisTemplate- the value to set- Returns:
- the dsl builder
-
serializer
default RedisEndpointBuilderFactory.RedisEndpointProducerBuilder serializer(org.springframework.data.redis.serializer.RedisSerializer<Object> serializer) Reference to a pre-configured RedisSerializer instance to use. The option is a: <code>org.springframework.data.redis.serializer.RedisSerializer<java.lang.Object></code> type. Group: common- Parameters:
serializer- the value to set- Returns:
- the dsl builder
-
serializer
Reference to a pre-configured RedisSerializer instance to use. The option will be converted to a <code>org.springframework.data.redis.serializer.RedisSerializer<java.lang.Object></code> type. Group: common- Parameters:
serializer- the value to set- Returns:
- the dsl builder
-