Oracle WebLogic Server 12c: Advanced Administration II — Question 11
Some of the messages entering a JMS queue are expiring and are being removed from the queue. You need better insight regarding these expired messages.
Which mechanism helps achieve this? (Choose the best answer.)
Answer options
- A. Set the "Log Expired Message" attribute to true for the queue.
- B. Associate an ExpirationEventHandler object for the queue.
- C. Enable Message Life Cycle logging for the JMS Queue.
- D. Configure an Expiration Event Handler for the JMS Queue which logs the expired message properties.
Correct answer: C
Explanation
Enabling Message Life Cycle logging for the JMS Queue provides comprehensive insights into message states, including expiration. The other options either do not specifically address logging expired messages or involve additional setup that may not be necessary for the required insight.