You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener/ConditionalRejectingErrorHandler.java
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,16 @@ public ConditionalRejectingErrorHandler(FatalExceptionStrategy exceptionStrategy
77
77
this.exceptionStrategy = exceptionStrategy;
78
78
}
79
79
80
+
/**
81
+
* Return the discardFatalsWithXDeath.
82
+
* @return the discardFatalsWithXDeath.
83
+
* @since 2.3
84
+
* @see #setDiscardFatalsWithXDeath(boolean)
85
+
*/
86
+
protectedbooleanisDiscardFatalsWithXDeath() {
87
+
returnthis.discardFatalsWithXDeath;
88
+
}
89
+
80
90
/**
81
91
* Set to false to disable the (now) default behavior of logging and discarding
82
92
* messages that cause fatal exceptions and have an `x-death` header; which
@@ -89,6 +99,16 @@ public void setDiscardFatalsWithXDeath(boolean discardFatalsWithXDeath) {
0 commit comments