Uses of Class
com.azure.storage.queue.models.QueueMessageItem
Package
Description
This package contains the classes to perform actions on Azure Storage Queue.
Package containing classes for AzureQueueStorage.
-
Uses of QueueMessageItem in com.azure.storage.queue
Modifier and TypeMethodDescriptionQueueClient.receiveMessage()
Retrieves the first message in the queue and hides it from other operations for 30 seconds.Modifier and TypeMethodDescriptionQueueAsyncClient.receiveMessage()
Retrieves the first message in the queue and hides it from other operations for 30 seconds.com.azure.core.http.rest.PagedFlux<QueueMessageItem>
QueueAsyncClient.receiveMessages
(Integer maxMessages) Retrieves up to the maximum number of messages from the queue and hides them from other operations for 30 seconds.com.azure.core.http.rest.PagedFlux<QueueMessageItem>
QueueAsyncClient.receiveMessages
(Integer maxMessages, Duration visibilityTimeout) Retrieves up to the maximum number of messages from the queue and hides them from other operations for the timeout period.com.azure.core.http.rest.PagedIterable<QueueMessageItem>
QueueClient.receiveMessages
(Integer maxMessages) Retrieves up to the maximum number of messages from the queue and hides them from other operations for 30 seconds.com.azure.core.http.rest.PagedIterable<QueueMessageItem>
QueueClient.receiveMessages
(Integer maxMessages, Duration visibilityTimeout, Duration timeout, com.azure.core.util.Context context) Retrieves up to the maximum number of messages from the queue and hides them from other operations for the timeout period. -
Uses of QueueMessageItem in com.azure.storage.queue.models
Modifier and TypeMethodDescriptionQueueMessageDecodingError.getQueueMessageItem()
Gets theQueueMessageItem
that has been received and could not be decoded.QueueMessageItem.setBody
(com.azure.core.util.BinaryData body) Set the body property: The content of the Message.QueueMessageItem.setDequeueCount
(long dequeueCount) Set the dequeueCount property: The number of times the message has been dequeued.QueueMessageItem.setExpirationTime
(OffsetDateTime expirationTime) Set the expirationTime property: The time that the Message will expire and be automatically deleted.QueueMessageItem.setInsertionTime
(OffsetDateTime insertionTime) Set the insertionTime property: The time the Message was inserted into the Queue.QueueMessageItem.setMessageId
(String messageId) Set the messageId property: The Id of the Message.QueueMessageItem.setMessageText
(String messageText) Deprecated.QueueMessageItem.setPopReceipt
(String popReceipt) Set the popReceipt property: This value is required to delete the Message.QueueMessageItem.setTimeNextVisible
(OffsetDateTime timeNextVisible) Set the timeNextVisible property: The time that the message will again become visible in the Queue.ModifierConstructorDescriptionQueueMessageDecodingError
(QueueAsyncClient queueAsyncClient, QueueClient queueClient, QueueMessageItem queueMessageItem, PeekedMessageItem peekedMessageItem, Exception cause) Creates newQueueMessageDecodingError
.
setBody(BinaryData)
instead.