-
Sending Messages:
- Endpoint:
/mq/send-message
- Purpose: Produces messages on the MQ topic "request-topic."
- Endpoint:
-
Receiving and Reproducing Messages:
- Messages produced on "request-topic" are received and reproduced to another MQ topic, "response-topic."
-
Capturing Responses:
- Captures messages from "response-topic."
- Resends the captured response to the original endpoint response (
/mq/send-message
).
-
Additional Endpoint:
- Endpoint:
/mq/receive-message
- Purpose: Retrieves a specific message response related to the originally produced request message, identified by the correlation ID.
- Endpoint:
This setup allows for the seamless flow of messages, starting from message production, through reproduction, capturing responses, and providing a dedicated endpoint for receiving specific message responses based on correlation IDs.