...
Name | Default Value | Context | Description |
---|---|---|---|
host |
| Both | The host where Redis server is running. |
port |
| Both | Redis port number. |
command |
| Both | Default command, which can be overridden by message header. |
channels |
| Consumer | List of topic names or name patterns to subscribe to. |
redisTemplate |
| Producer | Reference to a pre-configured org.springframework.data.redis.core.RedisTemplate instance in the Registry. |
connectionFactory |
| Both | Reference to an org.springframework.data.redis.connection.RedisConnectionFactory instance in the Registry. |
listenerContainer |
| Consumer | Reference to an org.springframework.data.redis.listener.RedisMessageListenerContainer instance in the Registry instance in the Registry. |
serializer |
| Consumer | Reference to an org.springframework.data.redis.serializer.RedisSerializer instance in the Registry. |
Usage
See also the unit tests available at https://github.com/apache/camel/tree/master/components/camel-spring-redis/src/test/java/org/apache/camel/component/redis.
Message headers evaluated by the Redis producer
...