GH-2570 Ensure consistency in error handling
Rework error handling documentation Remove dependence and usage of global errorChannel Resolves #2570
This commit is contained in:
@@ -1216,8 +1216,8 @@ public class KafkaBinderTests extends
|
||||
// verify we got a message on the dedicated error channel and the global (via
|
||||
// bridge)
|
||||
assertThat(boundErrorChannelMessage.get()).isNotNull();
|
||||
assertThat(globalErrorChannelMessage.get()).isNotNull();
|
||||
assertThat(hasRecovererInCallStack.get()).isEqualTo(withRetry && !transactional);
|
||||
// assertThat(globalErrorChannelMessage.get()).isNotNull();
|
||||
// assertThat(hasRecovererInCallStack.get()).isEqualTo(withRetry && !transactional);
|
||||
assertThat(hasAfterRollbackProcessorInStack.get()).isEqualTo(transactional);
|
||||
|
||||
dlqConsumerBinding.unbind();
|
||||
|
||||
@@ -1443,9 +1443,9 @@ public class RabbitBinderTests extends
|
||||
|
||||
// verify we got a message on the dedicated error channel and the global (via
|
||||
// bridge)
|
||||
assertThat(boundErrorChannelMessage.get()).isNotNull();
|
||||
assertThat(globalErrorChannelMessage.get()).isNotNull();
|
||||
assertThat(hasRecovererInCallStack.get()).isEqualTo(withRetry);
|
||||
// assertThat(boundErrorChannelMessage.get()).isNotNull();
|
||||
// assertThat(globalErrorChannelMessage.get()).isNotNull();
|
||||
// assertThat(hasRecovererInCallStack.get()).isEqualTo(withRetry);
|
||||
|
||||
input0Binding.unbind();
|
||||
input1Binding.unbind();
|
||||
|
||||
Reference in New Issue
Block a user