mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
Merge pull request #591 from corda/aslemmer-ENT-1647
ENT-1647: Ack duplicate messages
This commit is contained in:
commit
34d5f72f51
@ -134,7 +134,6 @@ class MessagingExecutor(
|
||||
if (job is Job.Send) {
|
||||
job.sentFuture.setException(exception)
|
||||
}
|
||||
session.rollback()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -448,6 +448,7 @@ class P2PMessagingClient(val config: NodeConfiguration,
|
||||
deliver(cordaMessage, artemisMessage)
|
||||
} else {
|
||||
log.trace { "Discard duplicate message ${cordaMessage.uniqueMessageId} for ${cordaMessage.topic}" }
|
||||
artemisMessage.individualAcknowledge()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user