QuestionQ3

VerifiedImplement monitorable Mule applications

An order-processing system consists of multiple Mule applications responsible for warehouse, sales, and shipping. Each application communicates through Anypoint MQ. Every message must be correlated with the original order ID for observability and tracing.

How should a developer propagate the order ID as the correlation ID across every message?

Explanation

Anypoint MQ does not propagate a publisher’s Mule correlationId to subscribers automatically. To retain an order identifier across MQ messages, send the order ID as a custom user property and set the receiving Mule application's correlation ID from that property. This preserves traceability through the warehouse, sales, and shipping applications.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!