liveBook · Manning

Messaging

Messaging is a communication approach in which software components exchange information by sending and receiving messages.

How 2 Manning books explain it

Spring Microservices in Action

Messaging is the exchange of information between software components through messages.

How it is used
Coordinates asynchronous state-change notifications between microservices, such as invalidating cached organization data.
How deep it goes
Explains queue-based delivery, coupling, and durability, then identifies Spring Cloud Stream sources and sinks.
Examples
Uses organization-data changes to trigger licensing-service cache invalidation through a queue.
What you can do after
Apply messaging with Spring Cloud Stream to publish and consume messages through annotated Java methods.

Read how Spring Microservices in Action explains messaging →

Microservices Patterns, Second Edition

An integration technique in which software components communicate by sending and receiving messages through a messaging system.

How it is used
Connects services in a microservice architecture through message exchange.
How deep it goes
Explains message structure and traces sender, channel, adapter, and receiver responsibilities.
Examples
Uses an Order or Customer state change as an event example and diagrams sender-to-receiver flow.
What you can do after
Understand how components exchange messages through channels and adapter-connected business logic.

Read how Microservices Patterns, Second Edition explains messaging →

Also covered in

Related concepts

Questions about messaging

What is messaging?

Messaging is a communication approach in which software components exchange information by sending and receiving messages.

Which Manning books explain messaging?

Spring Microservices in Action and Microservices Patterns, Second Edition.

What kinds of messaging are there?

Kinds of messaging include client-side messaging and command/reply-based messaging.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.