GH-2610 Fix default error handling

Ensures that default error handling is preserved if user did not define binder specific error handler

Resolves #2610
This commit is contained in:
Oleg Zhurakousky
2023-01-05 15:02:29 +01:00
parent 8fb166fc58
commit 686a75c077
5 changed files with 35 additions and 129 deletions

View File

@@ -190,7 +190,7 @@ public class TestChannelBinder extends
protected MessageHandler getErrorMessageHandler(ConsumerDestination destination,
String group, ConsumerProperties consumerProperties) {
return m -> {
this.logger.debug("Error handled: " + m);
this.logger.info("Error handled: " + m);
this.lastError = m;
};
}