mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-09 16:49:36 +00:00
Rethrow unhandled JMS listener exceptions
Fixes gh-32666
This commit is contained in:
+1
@@ -344,6 +344,7 @@ public abstract class AbstractPollingMessageListenerContainer extends AbstractMe
|
||||
}
|
||||
catch (Throwable throwable) {
|
||||
observation.error(throwable);
|
||||
throw throwable;
|
||||
}
|
||||
// Rethrow JMSException to indicate an infrastructure problem
|
||||
// that may have to trigger recovery...
|
||||
|
||||
Reference in New Issue
Block a user