Uses of Class
com.azure.storage.queue.models.PeekedMessageItem
Packages that use PeekedMessageItem
Package
Description
This package contains the classes to perform actions on Azure Storage Queue.
Package containing the data models for AzureQueueStorage.
-
Uses of PeekedMessageItem in com.azure.storage.queue
Methods in com.azure.storage.queue that return PeekedMessageItemModifier and TypeMethodDescriptionQueueClient.peekMessage()Peeks the first message in the queue.Methods in com.azure.storage.queue that return types with arguments of type PeekedMessageItemModifier and TypeMethodDescriptionQueueAsyncClient.peekMessage()Peeks the first message in the queue.com.azure.core.http.rest.PagedFlux<PeekedMessageItem> QueueAsyncClient.peekMessages(Integer maxMessages) Peek messages from the front of the queue up to the maximum number of messages.com.azure.core.http.rest.PagedIterable<PeekedMessageItem> QueueClient.peekMessages(Integer maxMessages, Duration timeout, com.azure.core.util.Context context) Peek messages from the front of the queue up to the maximum number of messages. -
Uses of PeekedMessageItem in com.azure.storage.queue.models
Methods in com.azure.storage.queue.models that return PeekedMessageItemModifier and TypeMethodDescriptionstatic PeekedMessageItemPeekedMessageItem.fromXml(com.azure.xml.XmlReader xmlReader) Reads an instance of PeekedMessageItem from the XmlReader.static PeekedMessageItemReads an instance of PeekedMessageItem from the XmlReader.QueueMessageDecodingError.getPeekedMessageItem()Gets thePeekedMessageItemthat has been peeked and could not be decoded.PeekedMessageItem.setBody(com.azure.core.util.BinaryData body) Set the body property: The content of the Message.PeekedMessageItem.setDequeueCount(long dequeueCount) Set the dequeueCount property: The number of times the message has been dequeued.PeekedMessageItem.setExpirationTime(OffsetDateTime expirationTime) Set the expirationTime property: The time that the Message will expire and be automatically deleted.PeekedMessageItem.setInsertionTime(OffsetDateTime insertionTime) Set the insertionTime property: The time the Message was inserted into the Queue.PeekedMessageItem.setMessageId(String messageId) Set the messageId property: The Id of the Message.PeekedMessageItem.setMessageText(String messageText) Deprecated.Constructors in com.azure.storage.queue.models with parameters of type PeekedMessageItemModifierConstructorDescriptionQueueMessageDecodingError(QueueAsyncClient queueAsyncClient, QueueClient queueClient, QueueMessageItem queueMessageItem, PeekedMessageItem peekedMessageItem, Exception cause) Creates newQueueMessageDecodingError.
setBody(BinaryData)instead.