Skip to content

Commit

Permalink
use messageSystemAttributeNamesWithStrings
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-alfers committed Oct 1, 2024
1 parent 67338ca commit 0f640ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ object SqsSource {
ReceiveMessageRequest
.builder()
.queueUrl(queueUrl)
.attributeNamesWithStrings(settings.attributeNames.map(_.name).asJava)
.messageSystemAttributeNamesWithStrings(settings.attributeNames.map(_.name).asJava)
.messageAttributeNames(settings.messageAttributeNames.map(_.name).asJava)
.maxNumberOfMessages(settings.maxBatchSize)
.waitTimeSeconds(settings.waitTimeSeconds)
Expand Down

0 comments on commit 0f640ef

Please sign in to comment.