Exam4Training

What is true about the network connections when a Mule application uses a JMS connector to interact with a JMS provider (message broker)?

What is true about the network connections when a Mule application uses a JMS connector to interact with a JMS provider (message broker)?
A . To complete sending a JMS message, the JMS connector must establish a network connection with the JMS message recipient
B . To receive messages into the Mule application, the JMS provider initiates a network connection to the JMS connector and pushes messages along this connection
C . The JMS connector supports both sending and receiving of JMS messages over the protocol determined by the JMS provider
D . The AMQP protocol can be used by the JMS connector to portably establish connections to various types of JMS providers

Answer: C

Explanation:

* To send message or receive JMS (Java Message Service) message no separate network connection need to be established. So option A, C and D are ruled out.

Correct Answer. The JMS connector supports both sending and receiving of JMS Explanation. messages over the protocol determined by the JMS provider.

* JMS Connector enables sending and receiving messages to queues and topics for any message service that implements the JMS specification.

* JMS is a widely used API for message-oriented middleware.

* It enables the communication between different components of a distributed application to be loosely coupled, reliable, and asynchronous.

MuleSoft Doc

Reference: https://docs.mulesoft.com/jms-connector/1.7/

Exit mobile version