MuleSoft Certified Integration Architect – Level 1 — Question 34

An Order microservice and a Fulfillment microservice are being designed to communicate with their clients through message-based integration (and NOT through
API invocations).
The Order microservice publishes an Order message (a kind of command message) containing the details of an order to be fulfilled. The intention is that Order messages are only consumed by one Mule application, the Fulfillment microservice.
The Fulfillment microservice consumes Order messages, fulfills the order described therein, and then publishes an OrderFulfilled message (a kind of event message). Each OrderFulfilled message can be consumed by any interested Mule application, and the Order microservice is one such Mule application.
What is the most appropriate choice of message broker(s) and message destination(s) in this scenario?

Answer options

Correct answer: B

Explanation

The correct answer, B, is appropriate because it utilizes a JMS queue for Order messages and a JMS topic for OrderFulfilled messages, allowing for proper scaling with a single JMS provider. Option A is incorrect because Anypoint MQ is not specified as the most suitable broker in this context. Options C and D suggest multiple brokers, which complicates the architecture unnecessarily when a single provider can suffice.