This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new d35e64c8e sqs: update call due to deprecation warning (#762)
d35e64c8e is described below

commit d35e64c8e8af5e9a44dc6c568b7e5cbcb0869193
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Apr 2 10:29:54 2026 +0200

    sqs: update call due to deprecation warning (#762)
---
 .../org/apache/pekko/stream/connectors/sqs/scaladsl/SqsSource.scala     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sqs/src/main/scala/org/apache/pekko/stream/connectors/sqs/scaladsl/SqsSource.scala
 
b/sqs/src/main/scala/org/apache/pekko/stream/connectors/sqs/scaladsl/SqsSource.scala
index c98c3118a..e9fd42351 100644
--- 
a/sqs/src/main/scala/org/apache/pekko/stream/connectors/sqs/scaladsl/SqsSource.scala
+++ 
b/sqs/src/main/scala/org/apache/pekko/stream/connectors/sqs/scaladsl/SqsSource.scala
@@ -44,7 +44,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)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to