Include message IDs when sending message batches.

This commit is contained in:
Jon Chambers 2021-05-04 16:06:54 -04:00 committed by Jon Chambers
parent 030a791d69
commit dfb8a419e7
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ public class DirectoryQueue {
return new SendMessageBatchRequestEntry()
.withMessageBody("-")
.withId(UUID.randomUUID().toString())
.withMessageDeduplicationId(UUID.randomUUID().toString())
.withMessageGroupId(account.getNumber())
.withMessageAttributes(Map.of(