Sending a message in a queue

Please perform the following steps:

  1. To send a message to the queue, we can simply choose Queue Actions in the management console and then select Send a Message. The same result can be achieved with the aws sqs send-message command, but for simplicity we will demonstrate only the management console in this example:

  1. In the Send a Message to markocloud dialog, where markocloud is the queue-name, we can simply write our message and send it. The message might contain actual commands to be run or other information relevant to our application that can be encoded in JSON:

  1. Once the message is sent, we will get a response with a Message ID and an MD5 hash of the message body. This helps us maintain a record and the consistency of the messages being sent to the service:

  1. We can also see that one message is now visible in the Messages Available column of our queue:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.181.57