After throwing an exception, the MQ message endpoint of our Java MDB application is being paused with the message
CWWMQ0007W: The message endpoint <APP> has been paused by the system. Message delivery failed to the endpoint more than <N> times.
I understand that this is per Application Specification and that this behavior is reasonable for many applications.
In our case, we would like the MQ message causing the exception to be consumed from the queue and the application remaining running, ie. processing the next messages.
Is there any way to achieve this way other than by catching any Throwable in the MDB onMessage method?