This function creates a new Amazon SQS queue. Every message is sent to a given queue waiting for processing. Messages will remain on the queue for a period of 4 days only.
Contents |
sqsCreateQueue( name, queuename )
This function will return the URL to the queue. This will be used as a parameter to many of the queue related functions. If a major error occurred it will throw a CFML exception that can be caught.
<cfset AmazonSQS("testamz", "1WHJCG48Y89P4582", "bC6kfiW715mIenvtr537DcHndYmQwVf5l")>
<cfset queueUrl = sqsCreateQueue("testamz", "testQueue" )>
<cfset sqsDeleteQueue( "testamz", queueUrl )>
Messages only live in the queue for 4 days