nerdexam
MuleSoft

MCD-LEVEL-1 · Question #160

What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?

The correct answer is A. Attributes are replaced with new attributes from the HTTP Request response (which might be null). Attributes are replaced with new attributes from the HTTP Request response. Attributes include everything apart from Payload/body. For ex: Headers, query parameters, URI So, when outbound HTTP request is made, new attributes need to pass the outbound HTTP request and old…

Building Integration Applications with Anypoint Studio

Question

What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?

Exhibit

MCD-LEVEL-1 question #160 exhibit

Options

  • AAttributes are replaced with new attributes from the HTTP Request response (which might be null)
  • BNew attributes may be added from the HTTP response headers, but no headers are ever removed
  • CAttributes do not change
  • DPrevious attributes are passed unchanged

How the community answered

(15 responses)
  • A
    87% (13)
  • C
    7% (1)
  • D
    7% (1)

Explanation

Attributes are replaced with new attributes from the HTTP Request response. Attributes include everything apart from Payload/body. For ex: Headers, query parameters, URI So, when outbound HTTP request is made, new attributes need to pass the outbound HTTP request and old attributes are replaced. I have created below diagram to make it easy for you to understand:

Topics

#Mule event#attributes#HTTP Request#event lifecycle

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice