Skip to content
Ameen Abozaid
Planned lessonMID-024-L05

Request/reply over messaging

  • Lesson 5 of 6
  • Mid-level
On This Lesson 4 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

get an answer through a broker when needed.

Planned topics

  • Request/reply: the requester sends a message with a correlation ID and a reply-to address; the responder answers on that queue.
  • It keeps temporal decoupling for the sender's transport, but the caller still waits, so it is not free of failure handling.
  • Needs a timeout and handling of late or duplicate replies.
  • Prefer plain sync calls for simple queries; use this when a broker is already the integration channel.
  • Do not use async for queries that need an immediate answer.
Draft outline details

Demonstration

a diagram: request queue, reply queue, correlationId copied from request to reply.

Check your understanding

What links a reply to its request?

Show answer

The correlation ID.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.