ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 32 - MCD - Level 1 discussion

Report
Export

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?

A.
${training.host}
Answers
A.
${training.host}
B.
${training:host}
Answers
B.
${training:host}
C.
#[training:host]
Answers
C.
#[training:host]
D.
#[training.host]
Answers
D.
#[training.host]
Suggested answer: A

Explanation:

Correct answer is ${training.host}

--------------------------------------------------------------------------------------------------------------------------------------------------

How to Configure Properties to Mule 4.X Platform?

1)Go to/src/main/resourcesproject directory.

2)Create a configuration file with the name configuration.yaml inside the newly created config folder.

3)Go To Project >Global Element> Create > General >select the configuration.yaml file create in step-2)

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 function

asked 18/09/2024
MARIO CRUZ
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first