OpenBD Wiki

From OpenBD
Jump to: navigation, search

SqsGetAttributes()

This function returns meta data regarding the queue

Amazon SQS

Contents

Parameters

sqsGetAttributes( name, queueUrl )

  • name: name for this datasource, previously registered using AmazonSQS()
  • queueUrl: the url of the queue you wish to delete

Returns

This function will return a struct with data regarding the queue, for example, the approximate number of messages, visibility settings etc.

Example

<cfset AmazonSQS("testamz", "1WHJCG48Y89P4582", "bC6kfiW715mIenvtr537DcHndYmQwVf5l")>
<cfset queueProperties = sqsGetAttributes("testamz", queueUrl )>


Engine Compatibility

  • OpenBD
  • BlueDragon

Personal tools