QuestionQ45

VerifiedImplement performant and reliable Mule applications

A Mule application must call an API hosted by an external system to start a process. The external API can take from one minute to 24 hours to finish processing.

Which implementation should be used to obtain response data from the external API once processing has completed?

Explanation

A long-running external process should use an asynchronous callback pattern: Mule exposes an HTTP Listener endpoint and registers that callback URL with the external system. The external system can POST the completion data to Mule when the process finishes, without requiring Mule to retain an HTTP request or execution thread for up to 24 hours. MuleSoft documents that an HTTP Listener exposes an HTTP server endpoint that triggers a Mule flow when it receives a request.

Learn more

Community Discussion

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