How should we fix out-of-memory errors received by a Wait For JMS Topic Message due to events with no Candidate Key matches?
A. A shorter process timeout should be configured in the Input tab of the activity.
B. A shorter event timeout should be configured in the Message Event tab of the activity.
C. The size of the LRU cache should be reduced in the Advanced tab of the activity.
D. The Candidate Key should be configured as "match-any."
The correct answer is option B.
Explanation:
Event Timeout in Message Event Tab specifies the amount of time (in milliseconds) a message waits if it is received before this activity is executed.
If the event timeout expires,an error is logged and the event is discarded.
If no value is specified in this field, the message waits indefinitely.
If we specify a shorter timeout,then we can meet the requirement given in the question.