QueueMessageItem Class

Definition

The object returned in the QueueMessageList array when calling Get Messages on a Queue.

public final class QueueMessageItem
Inheritance
java.lang.Object
QueueMessageItem

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

QueueMessageItem()

Methods

getBody()

Get the body property: The content of the Message.

getDequeueCount()

Get the dequeueCount property: The number of times the message has been dequeued.

getExpirationTime()

Get the expirationTime property: The time that the Message will expire and be automatically deleted.

getInsertionTime()

Get the insertionTime property: The time the Message was inserted into the Queue.

getMessageId()

Get the messageId property: The Id of the Message.

getMessageText()

Get the messageText property: The content of the Message.

getPopReceipt()

Get the popReceipt property: This value is required to delete the Message. If deletion fails using this popreceipt then the message has been dequeued by another client.

getTimeNextVisible()

Get the timeNextVisible property: The time that the message will again become visible in the Queue.

setBody(BinaryData body)

Set the body property: The content of the Message.

setDequeueCount(long dequeueCount)

Set the dequeueCount property: The number of times the message has been dequeued.

setExpirationTime(OffsetDateTime expirationTime)

Set the expirationTime property: The time that the Message will expire and be automatically deleted.

setInsertionTime(OffsetDateTime insertionTime)

Set the insertionTime property: The time the Message was inserted into the Queue.

setMessageId(String messageId)

Set the messageId property: The Id of the Message.

setMessageText(String messageText)

Set the messageText property: The content of the Message.

setPopReceipt(String popReceipt)

Set the popReceipt property: This value is required to delete the Message. If deletion fails using this popreceipt then the message has been dequeued by another client.

setTimeNextVisible(OffsetDateTime timeNextVisible)

Set the timeNextVisible property: The time that the message will again become visible in the Queue.

Applies to