This function sends a single message to the queue. It will persist on the queue for a maximum of 4 days.
Contents |
sqsSendMessage( name, queueUrl, message )
This function will return TRUE/FALSE
<cfset AmazonSQS("testamz", "1WHJCG48Y89P4582", "bC6kfiW715mIenvtr537DcHndYmQwVf5l")>
<cfset myMessage= "This is a test message">
<cfset sqsSendMessage( "testamz", queueUrl, myMessage )>
A message must be in ASCII text and must not be more than 8192 bytes in length. Any CFML structure therefore must be JSON/WDDX encoded before calling this function.