Merge branch '6.1.x'
This commit is contained in:
@@ -339,7 +339,12 @@ public abstract class AbstractPollingMessageListenerContainer extends AbstractMe
|
||||
}
|
||||
status.setRollbackOnly();
|
||||
}
|
||||
handleListenerException(ex);
|
||||
try {
|
||||
handleListenerException(ex);
|
||||
}
|
||||
catch (Throwable throwable) {
|
||||
observation.error(throwable);
|
||||
}
|
||||
// Rethrow JMSException to indicate an infrastructure problem
|
||||
// that may have to trigger recovery...
|
||||
if (ex instanceof JMSException jmsException) {
|
||||
|
||||
Reference in New Issue
Block a user