GetQueueAttributes Method

Returns all attributes of a queue.

Syntax

public func getQueueAttributes(queueId: String) throws -> String

Remarks

This method retrieves all of the attributes of the queue specified by QueueId, and stores them in the Attributes collection. Queues currently have five attributes that may be returned:

  • ApproximateNumberOfMessages
  • VisibilityTimeout (for more information, see Visibility Timeout)
  • CreatedTimestamp
  • LastModifiedTimestamp
  • Policy

This method returns the RequestId contained in the Amazon response.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 macOS Edition - Version 20.0 [Build 8155]