GH-2206 Add resetLastError method to TestChannelBinder

Resolves #2206
This commit is contained in:
Oleg Zhurakousky
2021-11-03 16:51:53 +01:00
parent a2495bc920
commit 4e011c26f3

View File

@@ -135,6 +135,10 @@ public class TestChannelBinder extends
return this.lastError;
}
public void resetLastError() {
this.lastError = null;
}
@Override
protected MessageHandler createProducerMessageHandler(ProducerDestination destination,
ProducerProperties producerProperties, MessageChannel errorChannel)