0

My intention is to have messages be deleted automatically from AWS SQS by not calling delete massage after receiving it. How do i set "acknowledge mode" in .net core?

I use services.AddAWSService<IAmazonSQS>(); to create my SQS client.

There is an example for Java: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/getting-started.html#using-client-acknowledge-mode

Can same be done for .NET Core SDK? Thanks.

dotsa
  • 911
  • 1
  • 11
  • 15
  • That is using the AWS JMS (Java Messaging Service) interface. It is a layer on top of SQS that does the polling and message acknowledgement for you. "Normal" Java implementations still do the message deletion in code. – stdunbar Sep 02 '20 at 15:30
  • @stdunbar Thanks. I didnt know that. – dotsa Sep 03 '20 at 14:23

0 Answers0