ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 51 - MCD - Level 1 discussion

Report
Export

Refer to the exhibits.

The two Mule configuration files belong to the same Mule project. Each HTTP Listener is configured with the same host string and the port number, path, and operation values are shown in the display names.

What is the minimum number of global elements that must be defined to support all these HTTP Listeners?

A.
1
Answers
A.
1
B.
2
Answers
B.
2
C.
3
Answers
C.
3
D.
4
Answers
D.
4
Suggested answer: C

Explanation:

In this case three configurations will be required each for port 8000, 6000 and 7000.

There would be three global elements defined for HTTP connections.

Each HTTP connection will have host and port. One example shown below with host as localhost and port 6000

To use an HTTP listener, you need to declare a configuration with a corresponding connection. This declaration establishes the HTTP server that will listen to requests.

Additionally, you can configure a base path that applies to all listeners using the configuration.

<http:listener-config name='HTTP_Listener_config' basePath='api/v1'>

<http:listener-connection host='0.0.0.0' port='8081' />

</http:listener-config>

https://docs.mulesoft.com/http-connector/1.6/http-listener-ref#http-listener-configuration

asked 18/09/2024
Selladurai Ravi
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first