I am using Spring JMS to connect to the MQ Websphere server. I implemented the SessionAwareListener interface for creating a custom listener, reusing old code for business logic.
During testing, the listener throws a StringIndexOutOfBoundsException exception, which I cannot catch. However, I see in the log the following printed about 32 times, then the DMLC stops.
WARN - Execution of JMS message listener failed
Is there a way to control how often the DMLC will repeat the message and how to handle uncaught exceptions?
source share