Amazon SQS: CreateQueue not creating the queue.
To reduce data latency in your applications, most Amazon Web Services products provide the ability to select a regional endpoint to send requests; SQS is no exception. If newly created queues are not showing, it's likely that the wrong region is selected.
By default, the SQS component uses the "US East (Northern Virginia) Region" endpoint. The drop down in the top right corner of the SQS Management Console can be used to select the endpoint for which you are viewing queues. The region can be specified in the component by setting the "URL" configuration setting to the corresponding endpoint. The available regions/endpoints are listed on this page.
For example, the following code will direct the component to the "US West (Oregon) Region" endpoint. Note that "http" can be used instead if an SSL connection is not needed.
By default, the SQS component uses the "US East (Northern Virginia) Region" endpoint. The drop down in the top right corner of the SQS Management Console can be used to select the endpoint for which you are viewing queues. The region can be specified in the component by setting the "URL" configuration setting to the corresponding endpoint. The available regions/endpoints are listed on this page.
For example, the following code will direct the component to the "US West (Oregon) Region" endpoint. Note that "http" can be used instead if an SSL connection is not needed.
sqs.Config("URL=https://sqs.us-west-2.amazonaws.com");
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at kb@nsoftware.com.