© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
M. Deinum et al.Spring 6 Recipeshttps://doi.org/10.1007/978-1-4842-8649-4_11

11. Spring Messaging

Marten Deinum1  , Daniel Rubio2 and Josh Long3
(1)
Meppel, Drenthe, The Netherlands
(2)
Ensenada, Baja California, Mexico
(3)
Canyon Country, CA, USA
 

In this chapter, you will learn about Spring’s support for messaging. Messaging is a very powerful technique for scaling applications. It allows work that would otherwise overwhelm a service to be queued up. It also encourages a decoupled architecture. A component, for example, might only consume messages with a single java.util.Map-based key/value pair. This loose contract makes it a viable hub of communication for multiple, ...

Get Spring 6 Recipes: A Problem-Solution Approach to Spring Framework 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.