To implement predictive maintenance on its machinery equipment, ACME Tractors has installed thousands of IoT sensors that will send data for each machinery asset as sequences of JMS messages, in near real-time, to a JMS queue named SENSOR_DATA on a JMS server. The Mule application contains a JMS Listener operation configured to receive incoming messages from the JMS servers SENSOR_DATA JMS queue. The Mule application persists each received JMS message, then sends a transformed version of the corresponding Mule event to the machinery equipment back-end systems.
The Mule application will be deployed to a multi-node, customer-hosted Mule runtime cluster. Under normal conditions, each JMS message should be processed exactly once.
How should the JMS Listener be configured to maximize performance and concurrent message processing of the JMS queue?
- Set numberOfConsumers = 1
Set primaryNodeOnly = false - Set numberOfConsumers = 1
Set primaryNodeOnly = true - Set numberOfConsumers to a value greater than one
Set primaryNodeOnly = true - Set numberOfConsumers to a value greater than one
Set primaryNodeOnly = false
Answer(s): D
Reference:
https://docs.mulesoft.com/jms-connector/1.8/jms-performance
Reveal Solution Next Question