Interface RedisEndpointBuilderFactory.RedisEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,RedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
,RedisEndpointBuilderFactory.RedisEndpointProducerBuilder
- Enclosing interface:
- RedisEndpointBuilderFactory
public static interface RedisEndpointBuilderFactory.RedisEndpointBuilder extends RedisEndpointBuilderFactory.RedisEndpointConsumerBuilder, RedisEndpointBuilderFactory.RedisEndpointProducerBuilder
Builder for endpoint for the Spring Redis component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default RedisEndpointBuilderFactory.AdvancedRedisEndpointBuilder
advanced()
default RedisEndpointBuilderFactory.RedisEndpointBuilder
channels(String channels)
List of topic names or name patterns to subscribe to.default RedisEndpointBuilderFactory.RedisEndpointBuilder
command(String command)
Default command, which can be overridden by message header.default RedisEndpointBuilderFactory.RedisEndpointBuilder
command(org.apache.camel.component.redis.Command command)
Default command, which can be overridden by message header.default RedisEndpointBuilderFactory.RedisEndpointBuilder
connectionFactory(String connectionFactory)
Reference to a pre-configured RedisConnectionFactory instance to use.default RedisEndpointBuilderFactory.RedisEndpointBuilder
connectionFactory(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
Reference to a pre-configured RedisConnectionFactory instance to use.default RedisEndpointBuilderFactory.RedisEndpointBuilder
redisTemplate(String redisTemplate)
Reference to a pre-configured RedisTemplate instance to use.default RedisEndpointBuilderFactory.RedisEndpointBuilder
redisTemplate(org.springframework.data.redis.core.RedisTemplate redisTemplate)
Reference to a pre-configured RedisTemplate instance to use.default RedisEndpointBuilderFactory.RedisEndpointBuilder
serializer(String serializer)
Reference to a pre-configured RedisSerializer instance to use.default RedisEndpointBuilderFactory.RedisEndpointBuilder
serializer(org.springframework.data.redis.serializer.RedisSerializer serializer)
Reference to a pre-configured RedisSerializer instance to use.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
-
-
-
Method Detail
-
advanced
default RedisEndpointBuilderFactory.AdvancedRedisEndpointBuilder advanced()
- Specified by:
advanced
in interfaceRedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
- Specified by:
advanced
in interfaceRedisEndpointBuilderFactory.RedisEndpointProducerBuilder
-
channels
default RedisEndpointBuilderFactory.RedisEndpointBuilder channels(String 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- Specified by:
channels
in interfaceRedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
- Specified by:
channels
in interfaceRedisEndpointBuilderFactory.RedisEndpointProducerBuilder
- Parameters:
channels
- the value to set- Returns:
- the dsl builder
-
command
default RedisEndpointBuilderFactory.RedisEndpointBuilder 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- Specified by:
command
in interfaceRedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
- Specified by:
command
in interfaceRedisEndpointBuilderFactory.RedisEndpointProducerBuilder
- Parameters:
command
- the value to set- Returns:
- the dsl builder
-
command
default RedisEndpointBuilderFactory.RedisEndpointBuilder 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 <code>org.apache.camel.component.redis.Command</code> type. Default: SET Group: common- Specified by:
command
in interfaceRedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
- Specified by:
command
in interfaceRedisEndpointBuilderFactory.RedisEndpointProducerBuilder
- Parameters:
command
- the value to set- Returns:
- the dsl builder
-
connectionFactory
default RedisEndpointBuilderFactory.RedisEndpointBuilder 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- Specified by:
connectionFactory
in interfaceRedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
- Specified by:
connectionFactory
in interfaceRedisEndpointBuilderFactory.RedisEndpointProducerBuilder
- Parameters:
connectionFactory
- the value to set- Returns:
- the dsl builder
-
connectionFactory
default RedisEndpointBuilderFactory.RedisEndpointBuilder 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- Specified by:
connectionFactory
in interfaceRedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
- Specified by:
connectionFactory
in interfaceRedisEndpointBuilderFactory.RedisEndpointProducerBuilder
- Parameters:
connectionFactory
- the value to set- Returns:
- the dsl builder
-
redisTemplate
default RedisEndpointBuilderFactory.RedisEndpointBuilder redisTemplate(org.springframework.data.redis.core.RedisTemplate redisTemplate)
Reference to a pre-configured RedisTemplate instance to use. The option is a: <code>org.springframework.data.redis.core.RedisTemplate</code> type. Group: common- Specified by:
redisTemplate
in interfaceRedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
- Specified by:
redisTemplate
in interfaceRedisEndpointBuilderFactory.RedisEndpointProducerBuilder
- Parameters:
redisTemplate
- the value to set- Returns:
- the dsl builder
-
redisTemplate
default RedisEndpointBuilderFactory.RedisEndpointBuilder 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</code> type. Group: common- Specified by:
redisTemplate
in interfaceRedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
- Specified by:
redisTemplate
in interfaceRedisEndpointBuilderFactory.RedisEndpointProducerBuilder
- Parameters:
redisTemplate
- the value to set- Returns:
- the dsl builder
-
serializer
default RedisEndpointBuilderFactory.RedisEndpointBuilder serializer(org.springframework.data.redis.serializer.RedisSerializer serializer)
Reference to a pre-configured RedisSerializer instance to use. The option is a: <code>org.springframework.data.redis.serializer.RedisSerializer</code> type. Group: common- Specified by:
serializer
in interfaceRedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
- Specified by:
serializer
in interfaceRedisEndpointBuilderFactory.RedisEndpointProducerBuilder
- Parameters:
serializer
- the value to set- Returns:
- the dsl builder
-
serializer
default RedisEndpointBuilderFactory.RedisEndpointBuilder serializer(String serializer)
Reference to a pre-configured RedisSerializer instance to use. The option will be converted to a <code>org.springframework.data.redis.serializer.RedisSerializer</code> type. Group: common- Specified by:
serializer
in interfaceRedisEndpointBuilderFactory.RedisEndpointConsumerBuilder
- Specified by:
serializer
in interfaceRedisEndpointBuilderFactory.RedisEndpointProducerBuilder
- Parameters:
serializer
- the value to set- Returns:
- the dsl builder
-
-