Skip to main content

Message Publishers with Amazon SQS

Amazon Simple Queueing Service or Amazon SQS is a completely managed queueing service that you could use with Axinom Encoding as the message publisher. You can find guidelines for creating an Amazon SQS queue below.

To configure Amazon SQS as the message publisher:

  1. Open Amazon SQS console at https://console.aws.amazon.com/sqs. Click the Create queue on the right.

    Amazon SQS console

    amazon-sqs-console

  2. You are then taken to the create queue panel. Give a proper name to your queue. Note that the name is case-sensitive and should not exceed 80 characters. Configure the relevant settings and scroll down. Click the button at the bottom to create the queue.

    Create a queue

    amazon_sqs_create

  3. Once created, the queue details are displayed. From the details section, you can find the URL of the queue you just created.

    Queue details

    amazon-sqs-details

  4. Use the Message Queue URL to run the encoding job. To see the incoming messages, go to "Send and recieve messages" panel.

    Send and receive messages

    amazon-sqs-send-and-recieve-messages

  5. Under the Receive messages section, click Poll for messages to see the messages.

    Poll for messages

    poll-for-messages

  6. Once you click the button, polling starts.

    polling messages

    message-polling-amazon-sqs

  7. Next, you can see the list of messages in the Message list. You may have to poll time to time to receive the list of messages when there are a lot of messages.

    note

    If the messages do not appear in the message box, check the queue URL you provided in the Message Publisher and compare the regions of your S3 bucket and the Queue.

    Message list

    Message-list-aws-sqs

  8. You can click a message and see the details of each message.

    Message details

    message-details-aws-sqs

To get the CredentialsName and the CredentialsSecret, go to "My security credentials" (https://console.aws.amazon.com/iam/home?region=us-east-2#/security_credentials). Find the keys under "Access keys for CLI, SDK, & API access". Make sure you select the correct region.

You can get more information about permissions to access an Amazon SQS queue from the following link. https://aws.amazon.com/premiumsupport/knowledge-center/sqs-queue-access-permissions/

note

We recommend you to use credentials protection with the CredentialsProtection property. For instance, in the connection string you are using for Amazon SQS, you need to use credentials protection for CredentialsSecret.