CORDA-1491: Use MessagingExecutor for deduplication ACK codepath

This commit is contained in:
Andras Slemmer 2018-05-16 12:20:33 +01:00
parent b06738b371
commit 3392c15c0b

View File

@ -420,7 +420,7 @@ class P2PMessagingClient(val config: NodeConfiguration,
deliver(cordaMessage, artemisMessage)
} else {
log.trace { "Discard duplicate message ${cordaMessage.uniqueMessageId} for ${cordaMessage.topic}" }
artemisMessage.individualAcknowledge()
messagingExecutor!!.acknowledge(artemisMessage)
}
}
}