O'Reilly logo

Practical Microservices by Umesh Ram Sharma

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing asynchronous communication with REST

Asynchronous communication can happen with REST full service as well as any message broker. In a REST-based asynchronous communication, one can have a message handler hub as a microservice. Every microservice pushes its message to the hub, and now, the hub is responsible for passing the message to the respective service. In this way, the calling service waits to submit the message. It does not wait for the response coming from the called service. The following diagram showcases this concept:

As shown in the preceding diagram, Service A finishes its work and then submits a message to the message ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required