ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 20 - MCD - Level 2 discussion

Report
Export

When implementing a synchronous API where the event source is an HTTP Listener, a developer needs to return the same correlation ID back to the caller in the HTTP response header.

How can this be achieved?

A.
Enable the auto-generate CorrelationID option when scaffolding the flow
Answers
A.
Enable the auto-generate CorrelationID option when scaffolding the flow
B.
Enable the CorrelationID checkbox in the HTTP Listener configuration
Answers
B.
Enable the CorrelationID checkbox in the HTTP Listener configuration
C.
Configure a custom correlation policy
Answers
C.
Configure a custom correlation policy
D.
NO action is needed as the correlation ID is returned to the caller in the response header by default
Answers
D.
NO action is needed as the correlation ID is returned to the caller in the response header by default
Suggested answer: D

Explanation:

When implementing a synchronous API where the event source is an HTTP Listener, Mule automatically propagates some message attributes between flows via outbound and inbound properties. One of these attributes is correlation ID, which is returned to the caller in the response header by default as MULE_CORRELATION_ID.

Reference: https://docs.mulesoft.com/mule-runtime/4.3/about-mule-message#message-attributes

asked 18/09/2024
Waleed Bahadaq
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first