Defines a publish-subscribe Message Channel that is backed by a Redis topic.
Name of the Redis topic that backs this channel.
ID for this channel. Required.
Reference to a RedisConnectionFactory. If none is provided, the default
bean name for the reference will be "redisConnectionFactory".
Defines an inbound Channel Adapter for subscribing to a Redis topic.
Reference to a RedisConnectionFactory. If none is provided, the default
bean name for the reference will be "redisConnectionFactory".
Redis topic names as a comma-delimited list of Strings.
Redis topic patterns as a comma-delimited list of Strings.
Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer.
This attribute can be an empty string, which results in 'null' being used by the underlying adapter,
meaning no serializer is used and the raw byte[] will be the message payload.
Defines an outbound Redis Message-sending Channel Adapter.
Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer
Defines Redis inbound channel adapter that creates a Message which contains
a view into a redis store. THe view could be one of the subclasses of
org.springframework.data.redis.support.collections.RedisStore
Collection type supported by this adapter
Defines Redis outbound channel adapter that writes the contents of the Message into
org.springframework.data.redis.support.collections.RedisStore
RedisTemplate to be used with this adapter
Defines a Message Driven Endpoint for listening a Redis queue.
Redis queue name.
Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer.
It can be specified as an empty String value, which means the Endpoint's 'serializer' property is
set to 'null', in which case the Message will contain the raw byte[] payload.
Specify the timeout in milliseconds to wait for the result of the
'rightPop' operation on Redis queue.
Default is 1 second.
Specify the time in milliseconds for which the listener task should sleep after catching
an Exception on a Redis operation, before restarting the listener task.
Default is 5 seconds.
When true, specifies that the 'byte[]' from a Redis message should be deserialized
as an entire Spring Integration Message. Otherwise the data becomes just the
payload of the message (deserialized or not).
If this attribute is 'true', the 'serializer' must not be an empty String.
Default is 'false'.
Configures a gateway that adapts incoming Redis values to Spring Integration Messages
and returns a reply.
Unique ID for this gateway.
.reply'
to which this gateway will send the reply.
]]>
Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer.
It can be specified as an empty String value, which means the Endpoint's 'serializer'
property is set to 'null', in which case the Message will contain the raw byte[] payload.
Message Channel to which Messages should be sent in order to have them converted and published.
Message Channel to which replies for this gateway should be sent.
Reference to the Redis ConnectionFactory to be used by this component.
When true, specifies that gateway deals only with the payload of the message.
Otherwise it expects the Redis 'value' to be a serialized 'Message'.
This option is applied to both the request and reply operations.
Defaults to 'true'.
Defines an outbound Redis Queue Message-sending Channel Adapter.
Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer
Specifies if the Message payload or the entire (serialized) Message will be send to the Redis queue.
Default is 'true'.
.reply' as its key. A new UUID is used for each interaction.
]]>
.reply'.
]]>
Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer
Specifies if the Message payload or the entire
(serialized) Message will be used as the Redis 'value'.
This option is applied for both request and reply operations.
Default is 'true'.
Specify whether this outbound gateway must return a non-null value. This value is
'true' by default, and a ReplyRequiredException will be thrown when
the underlying service returns a null value.
Message Channel where reply Messages will be sent.
Message Channel where request Messages will be expected.
Reference to the Redis ConnectionFactory to be used by this component.
Defines an outbound Redis Command Sending Gateway.
Reference to a RedisConnectionFactory. If none is provided, the default
bean name for the reference will be "redisConnectionFactory".
Mutually exclusive with 'redis-template' attribute.
RedisTemplate to be used with this gateway.
Mutually exclusive with 'connection-factory' attribute.
Specify whether this outbound gateway must return a non-null value. This value is
'false' by default, otherwise a ReplyRequiredException will be thrown when
the underlying service returns a null value.
Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer.
Used to serialize each command argument to byte[] if necessary.
SpEL expression that returns the command key. Default is the 'redis_command' message header.
The command must not be evaluated to 'null'.
Comma-separated SpEL expressions that will be evaluated as command arguments.
Mutually exclusive with the 'arguments-strategy' attribute. If 'use-command-variable' is
specified to 'true', the '#cmd' variable will be presented within evaluation context.
Argument expressions may evaluate to 'null', to support a variable number of arguments.
Specifies, if the evaluated Redis command string will be made available
as the '#cmd' variable in the SpEL evaluation context in the
org.springframework.integration.redis.outbound.ExpressionArgumentsStrategy
when 'argument-expressions' is
configured, otherwise this attribute is ignored.
Reference to an instance of org.springframework.integration.redis.outbound.ArgumentsStrategy.
Mutually exclusive with the 'argument-expressions' attribute. By default the 'payload' is used
as the command argument(s). To disable any strategy (no arguments) this attribute should be
configured as an empty string.
Common configuration for Redis adapters.
RedisTemplate to be used with this adapter
SpEL expression that returns the name of the key for the collection being used. If you want to provide a
constant key, use the 'key' attribute.
This attribute is mutually exclusive with the 'key' attribute.
The name of the key for the collection being used. If you require a key to be dynamically
determined per each poll use 'key-expression' attribute.
This attribute is mutually exclusive with the 'key-expression' attribute.
Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer
to serialize the 'key' value for this collection. Please refer to the JavaDoc of the RedisTemplate
for more detail.
Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer
to serialize the 'value' entered into the collection. Please refer to the JavaDoc of the RedisTemplate
for more detail.
Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer
to be used when serializing hash keys (only relevant for hash-typed collections).
Please refer to the JavaDoc of the RedisTemplate for more detail.
Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer
to be used when serializing hash values (only relevant for hash-typed collections).
Please refer to the JavaDoc of the RedisTemplate for more detail.
Channel to which Error Messages will be sent.
Provide the name of the key for the collection being used. If you require a key that
is determined dynamically for each message, use the 'key-expression' attribute.
The default key is dynamically determined from the 'redis_key' header.
This attribute is mutually exclusive with the 'key-expression' attribute.
SpEL expression that returns the name of the key for the collection being used. If you want to provide a
constant key, use the 'key' attribute. Default is the 'redis_key' message header.
This attribute is mutually exclusive with the 'key' attribute.
SpEL expression that returns the name of the key for entry being stored. Only applies
if the 'collection-type' is MAP or PROPERTIES and 'extract-payload-elements' is false.
If set to 'true' (Default) and the payload is an instance of a "multi-value" object (i.e., Collection or Map)
it will be stored using addAll/putAll semantics. Otherwise, if set to 'false' the payload will be stored
as single entry regardless of its type.
If the payload is not an instance of a "multi-value" object, the value of this attribute is ignored and
the payload will always be stored as a single entry.
Collection type supported by this adapter
[DEFAULT] Redis List
Redis Set
Redis Sorted Set
Redis Map
Redis Properties