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 629d2f113c
commit a88973e172

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)