Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace GetMessage

A message consumed from a queue.

Properties

content

content: string

The content of the message.

deliveryCount

deliveryCount: number

The number of times that the message has been delivered to a consumer. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

expireAfter

expireAfter: Date

The time after which the message will be automatically deleted, expressed in RFC 3339 timestamp format.

Example: {@code 2018-04-20T00:00:07.405Z}

id

id: number

The ID of the message. This ID is only used for tracing and debugging purposes and isn't used as a parameter in any request. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional metadata

metadata: model.MessageMetadata

receipt

receipt: string

A receipt is a base64urlencode opaque token, uniquely representing a message. The receipt can be used to delete a message or update its visibility.

visibleAfter

visibleAfter: Date

The time after which the message will be visible to other consumers, expressed in RFC 3339 timestamp format.

Example: {@code 2018-04-20T00:00:07.405Z}

Functions

getDeserializedJsonObj

getJsonObj