New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified MuleSoft Developer II (Mule-Dev-301) Exam - Topic 3 Question 33 Discussion

Actual exam question for Salesforce's Salesforce Certified MuleSoft Developer II (Mule-Dev-301) exam
Question #: 33
Topic #: 3
[All Salesforce Certified MuleSoft Developer II (Mule-Dev-301) Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: D

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


Contribute your Thoughts:

0/2000 characters
Stephaine
2 months ago
Wait, D? Are you sure it returns by default?
upvoted 0 times
...
Zoila
2 months ago
I think C might be better for more control.
upvoted 0 times
...
Millie
2 months ago
Option B is the way to go!
upvoted 0 times
...
Georgene
3 months ago
Agreed, B is definitely the easiest method!
upvoted 0 times
...
Youlanda
3 months ago
I’ve never heard of auto-generating correlation IDs before.
upvoted 0 times
...
Elinore
3 months ago
I’m pretty sure that if no action is taken, the correlation ID is returned automatically, but I can't recall if that's true for all setups.
upvoted 0 times
...
Dominga
3 months ago
I’m leaning towards option B, but I’m not confident. It might be that auto-generating the ID is the default behavior.
upvoted 0 times
...
Velda
4 months ago
I feel like we practiced a question similar to this, and I think the correlation ID needs to be configured explicitly.
upvoted 0 times
...
Nida
4 months ago
I think I remember something about enabling a checkbox in the HTTP Listener settings, but I'm not entirely sure if it's the right one.
upvoted 0 times
...
Asuncion
4 months ago
I'm a bit confused by this question. The options seem a bit vague, and I'm not sure which one is the best approach. I'll need to do some research on the HTTP Listener component and how it handles correlation IDs before I can confidently answer this.
upvoted 0 times
...
Tamekia
4 months ago
I'm pretty confident that the answer is option C, configuring a custom correlation policy. That's the only option that specifically mentions returning the correlation ID in the response header, which is what the question is asking for.
upvoted 0 times
...
Tom
4 months ago
Okay, let me think this through. The question is asking how to return the same correlation ID back to the caller in the HTTP response header. Based on the options provided, it seems like configuring a custom correlation policy might be the way to go.
upvoted 0 times
...
Evangelina
5 months ago
Hmm, I'm a bit unsure about this one. I know the HTTP Listener can handle correlation IDs, but I'm not sure which specific option is the correct answer. I'll need to review the documentation on this component.
upvoted 0 times
...
Selene
5 months ago
I think this is a pretty straightforward question. The key is to understand how the HTTP Listener component works and what options are available for handling correlation IDs.
upvoted 0 times
...
Olga
6 months ago
D seems a bit too good to be true. I doubt the correlation ID is returned by default. C is the way to go, for sure.
upvoted 0 times
...
Malinda
7 months ago
I was thinking option B would work, but after reading the question again, I think C is the correct answer. Gotta love those cusMalinda policies!
upvoted 0 times
...
Cary
7 months ago
Option C seems like the right choice here. Configuring a custom correlation policy is the way to go when you need to return a specific correlation ID in the response header.
upvoted 0 times
Raymon
6 months ago
I think option C is the best choice.
upvoted 0 times
...
...

Save Cancel