diff --git a/docs/src/reference/docbook/reference/redis.xml b/docs/src/reference/docbook/reference/redis.xml index 0b354e6d8c..b15cdac6fb 100644 --- a/docs/src/reference/docbook/reference/redis.xml +++ b/docs/src/reference/docbook/reference/redis.xml @@ -288,7 +288,7 @@ private RedisTemplate template; // inject the template as ListOperations - @Autowired + @Resource(name="redisTemplate") private ListOperations listOps; public void addLink(String userId, URL url) { @@ -435,4 +435,4 @@ Spring Data Redis project is in its early stages. We are interested in feedback, knowing what your use cases are, what are the common patters you encounter so that the Redis module better serves your needs. Do contact us using the channels mentioned above, we are interested in hearing from you! - \ No newline at end of file +