Amazon Web Services provides many services to make life easier. “Amazon SQS” is another service provided by Amazon for handling the messages in a queue. Amazon SQS (Simple Queue Service) offers a very durable and secure available hosted queue that lets you integrate and decouple distributed software systems and components. It provides a generic web services API, and is accessible by any programming language that the AWS SDK supports.
In this Distributed messaging system, there are three main parts: the components of distributed system, the queue, and the messages in the queue.
Note: Amazon SQS automatically deletes those messages that have been in a queue for more than a maximum retention period. The default retention period of the message is 4 days.
Amazon SQS is highly scalable, simple to use. It does not require you to set up message brokers. These services are used for new applications that can benefit from nearly unlimited scalability and simple APIs.
Amazon MQ (Message Queue) is used for migrating apps from the initial message brokers that rely on protocols like MQTT, AMQP, and OpenWire. It is a properly managed and compatible message broker service.
Benefits of Amazon SQS
The Amazon SQS supports two types of queues:
Note: The FIFO queue name should end with the “.fifo” suffix.
Note: For FIFO Queues, the Message Group ID and Message Description ID are mandatory.
To delete any message, enable the checkbox of the message from the queue then click on “Delete Message”.
A pop-up window will appear, click on “Yes, Delete Checked Messages” button to delete the selected messages.
Note: You can select more than one message at a time.
In the above document, we have created a new SQS queue based on FIFO and send the message. Then we have received that message and deleted it successfully!
In the end we have deleted our SQS FIFO queue.
Contents Prerequisites Creating New Virtual Host Files Example to Host Two Applications From the Same Server Accessing Different Website With The Same Domain Accessing Different Website With Different Domain Conclusion Steps to Setup Apache Virtual