Added logging of message verifier implementation

This commit is contained in:
Marcin Grzejszczak
2020-11-10 13:17:04 +01:00
parent c9208e5ef1
commit 40e0801aef

View File

@@ -42,7 +42,9 @@ public class ContractVerifierMessaging<M> {
public ContractVerifierMessaging(MessageVerifier<M> exchange) {
this.exchange = exchange;
log.info("The message verifier implementation is of type [" + exchange.getClass() + "]");
if (exchange != null) {
log.info("The message verifier implementation is of type [" + exchange.getClass() + "]");
}
}
public void send(ContractVerifierMessage message, String destination, @Nullable YamlContract contract) {