Oracle WebLogic Server 12c: Advanced Administration II — Question 42
Your clients are connected to distributed destinations to consume messages sent to various JMS topics.
Recently, JMS connections got interrupted due to a network failure and your clients dropped their connections as well.
How would you ensure seamless failover for your clients when a distributed destination fails? (Choose the best answer.)
Answer options
- A. No action should be needed at the client’s level if the failover is being handled properly at the cluster level.
- B. Set the с1ientReconnectOptions parameter to Automatic in the Administration Console under the destination configuration general page.
- C. Implement an automatic reconnect mechanism in the client exception handler.
- D. Set AutomaticClientReconnect to Enabled in the Administration Console under the destination configuration general page.
Correct answer: C
Explanation
The correct answer is C because implementing an automatic reconnect mechanism in the client exception handler allows clients to recover from interruptions independently. Options A and B do not provide a direct solution for client-side reconnection, while D pertains to a setting that may assist with reconnecting but does not explicitly involve client-side implementation.