Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

I am looking for a sample .Net application that continuously checks Amazon SQS for new messages and when one is found, perform an action and remove it from the queue.

My goal is to have an app running on EC2 that watches my SQS queue for new messages. When one is found, a call will be made to one of several web-based APIs and the message will be deleted from the queue.

Can someone point me to an example of something similar?

Would this type of application best be created as a windows service?

1 Answer

0 votes
by (44.4k points)

There is complete documentation provided by AWS which demonstrates these topics:

  • Create an Amazon SQS Client
  • Create an Amazon SQS Queue
  • Amazon SQS Queue URLs
  • Send an Amazon SQS Message
  • Receive a Message from an Amazon SQS Queue
  • Delete a Message from an Amazon SQS Queue

Check out this link - https://docs.aws.amazon.com/sdk-for-net/v2/developer-guide/how-to-sqs.html 

You can write code in Visual Studio using AWS SDK for .NET.   

Related questions

0 votes
1 answer
Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...