Messaging with Redis
This guide walks you through the process of using Spring Data Redis to publish and subscribe to messages sent via Redis.
本指南将会向你介绍通过Redis使用Spring Data Redis去发布和订阅消息的过程。
What you’ll build
You’ll build an application that uses StringRedisTemplate to publish a string message and has a POJO subscribe for it using MessageListenerAdapter.