nerdexam
MuleSoft

MCD-LEVEL-1 · Question #67

Refer to the exhibits. A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml…

The correct answer is A. ${training.host}. Correct answer is ${training.host} -------------------------------------------------------------------------------------------------------------------------------------- How to Configure Properties to Mule 4.X Platform? 1) Go to /src/main/resources project directory. 2) Create…

Building Integration Applications

Question

Refer to the exhibits. A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml. what valid expression can the HTTP Request host value be set to so that it is no longer hardcoded?

Exhibit

MCD-LEVEL-1 question #67 exhibit

Options

  • A${training.host}
  • B${training:host}
  • C#[training:host]
  • D#[training.host]

How the community answered

(29 responses)
  • A
    86% (25)
  • B
    7% (2)
  • C
    3% (1)
  • D
    3% (1)

Explanation

Correct answer is ${training.host} -------------------------------------------------------------------------------------------------------------------------------------- How to Configure Properties to Mule 4.X Platform? 1) Go to /src/main/resources project directory. 2) Create a configuration file with the name configuration.yaml inside the newly created config 3) Go To Project > Global Element > Create > General >select the configuration.yaml file create in 4) To verify develop a simple flow with HTTP listener which has above entries. Put the logger that prints the values on console. 5) Additional info: Similarly, when you want to access this port in DataWeave you need to use p

Topics

#properties file#config.yaml#property placeholder#HTTP Request

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice