© Felipe Gutierrez 2017

Felipe Gutierrez, Spring Boot Messaging, 10.1007/978-1-4842-1224-0_6

6. Messaging with Redis

Felipe Gutierrez

(1)Albuquerque, New Mexico, USA

This chapter shows you how to use Redis (REmote DIctionary Server) as a message broker with Spring Boot. Redis is an in-memory data structure store that is used as a database, cache, and message broker. It not only stores key-value pairs, but also can be used to store complex data types such as hashes, lists, sets, sorted sets, bitmaps, hyperlogs, and geospatial indexes.

Spring Boot uses the Spring Data module and in particular the Redis one. In other words, in order to use Redis in your project, you must add the spring-boot-starter-redis dependency to your pom.xml file or to Gradle. ...

Get Spring Boot Messaging: Messaging APIs for Enterprise and Integration Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.