A Mule application need to invoice an API hosted by an external system to initiate a process. The external API takes anywhere between one minute and 24 hours to compute its process.
Which implementation should be used to get response data from the external API after it completes processing?
A . Use an HTTP Connector to invoke the API and wait for a response
B . Use a Scheduler to check for a response every minute
C . Use an HTTP Connector inside Async scope to invoice the API and wait for a response
D . Expose an HTTP callback API in Mule and register it with the external system
Answer: D
Explanation:
To get response data from the external API after it completes processing, the developer should expose an
HTTP callback API in Mule and register it with the external system. This way, the external API can invoke the callback API with the response data when it is ready, instead of making the Mule application wait for a long time or poll for a response repeatedly.
References: https://docs.mulesoft.com/mule-runtime/4.3/http-listener-ref#callback
Latest MuleSoft Developer II Dumps Valid Version with 60 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund