Uses of Class
com.azure.messaging.servicebus.ServiceBusReceivedMessage
Package
Description
Package containing classes for creating
ServiceBusSenderAsyncClient
,
ServiceBusProcessorClient
, and
ServiceBusReceiverAsyncClient
to perform operations on Azure Service Bus.-
Uses of ServiceBusReceivedMessage in com.azure.messaging.servicebus
Modifier and TypeMethodDescriptionServiceBusReceivedMessageContext.getMessage()
Gets the message received from Service Bus.ServiceBusReceiverClient.peekMessage()
Reads the next active message without changing the state of the receiver or the message source.ServiceBusReceiverClient.peekMessage
(long sequenceNumber) Starting from the given sequence number, reads next the active message without changing the state of the receiver or the message source.ServiceBusReceiverClient.receiveDeferredMessage
(long sequenceNumber) Receives a deferredmessage
.Modifier and TypeMethodDescriptionServiceBusReceiverAsyncClient.peekMessage()
Reads the next active message without changing the state of the receiver or the message source.ServiceBusReceiverAsyncClient.peekMessage
(long sequenceNumber) Starting from the given sequence number, reads next the active message without changing the state of the receiver or the message source.ServiceBusReceiverAsyncClient.peekMessages
(int maxMessages) Reads the next batch of active messages without changing the state of the receiver or the message source.ServiceBusReceiverAsyncClient.peekMessages
(int maxMessages, long sequenceNumber) Starting from the given sequence number, reads the next batch of active messages without changing the state of the receiver or the message source.com.azure.core.util.IterableStream<ServiceBusReceivedMessage>
ServiceBusReceiverClient.peekMessages
(int maxMessages) Reads the next batch of active messages without changing the state of the receiver or the message source.com.azure.core.util.IterableStream<ServiceBusReceivedMessage>
ServiceBusReceiverClient.peekMessages
(int maxMessages, long sequenceNumber) Starting from the given sequence number, reads the next batch of active messages without changing the state of the receiver or the message source.ServiceBusReceiverAsyncClient.receiveDeferredMessage
(long sequenceNumber) Receives a deferredmessage
.com.azure.core.util.IterableStream<ServiceBusReceivedMessage>
ServiceBusReceiverClient.receiveDeferredMessageBatch
(Iterable<Long> sequenceNumbers) Receives a batch of deferredmessages
.ServiceBusReceiverAsyncClient.receiveDeferredMessages
(Iterable<Long> sequenceNumbers) Receives a batch of deferredmessages
.ServiceBusReceiverAsyncClient.receiveMessages()
Receives an infinite stream ofmessages
from the Service Bus entity.com.azure.core.util.IterableStream<ServiceBusReceivedMessage>
ServiceBusReceiverClient.receiveMessages
(int maxMessages) Receives an iterable stream ofmessages
from the Service Bus entity.com.azure.core.util.IterableStream<ServiceBusReceivedMessage>
ServiceBusReceiverClient.receiveMessages
(int maxMessages, Duration maxWaitTime) Receives an iterable stream ofmessages
from the Service Bus entity.Modifier and TypeMethodDescriptionServiceBusReceiverAsyncClient.abandon
(ServiceBusReceivedMessage message) Abandons amessage
.ServiceBusReceiverAsyncClient.abandon
(ServiceBusReceivedMessage message, AbandonOptions options) Abandons amessage
updates the message's properties.void
ServiceBusReceiverClient.abandon
(ServiceBusReceivedMessage message) Abandons amessage
.void
ServiceBusReceiverClient.abandon
(ServiceBusReceivedMessage message, AbandonOptions options) Abandons amessage
and updates the message's properties.ServiceBusReceiverAsyncClient.complete
(ServiceBusReceivedMessage message) Completes amessage
.ServiceBusReceiverAsyncClient.complete
(ServiceBusReceivedMessage message, CompleteOptions options) Completes amessage
with the given options.void
ServiceBusReceiverClient.complete
(ServiceBusReceivedMessage message) Completes amessage
.void
ServiceBusReceiverClient.complete
(ServiceBusReceivedMessage message, CompleteOptions options) Completes amessage
.ServiceBusReceiverAsyncClient.deadLetter
(ServiceBusReceivedMessage message) Moves amessage
to the dead-letter sub-queue.ServiceBusReceiverAsyncClient.deadLetter
(ServiceBusReceivedMessage message, DeadLetterOptions options) Moves amessage
to the dead-letter sub-queue with the given options.void
ServiceBusReceiverClient.deadLetter
(ServiceBusReceivedMessage message) Moves amessage
to the dead-letter sub-queue.void
ServiceBusReceiverClient.deadLetter
(ServiceBusReceivedMessage message, DeadLetterOptions options) Moves amessage
to the dead-letter sub-queue with dead-letter reason, error description, and/or modified properties.ServiceBusReceiverAsyncClient.defer
(ServiceBusReceivedMessage message) Defers amessage
.ServiceBusReceiverAsyncClient.defer
(ServiceBusReceivedMessage message, DeferOptions options) Defers amessage
with the options set.void
ServiceBusReceiverClient.defer
(ServiceBusReceivedMessage message) Defers amessage
.void
ServiceBusReceiverClient.defer
(ServiceBusReceivedMessage message, DeferOptions options) Defers amessage
using its lock token with modified message property.ServiceBusReceiverAsyncClient.renewMessageLock
(ServiceBusReceivedMessage message) Asynchronously renews the lock on the message.ServiceBusReceiverAsyncClient.renewMessageLock
(ServiceBusReceivedMessage message, Duration maxLockRenewalDuration) Starts the auto lock renewal for amessage
.ServiceBusReceiverClient.renewMessageLock
(ServiceBusReceivedMessage message) Renews the lock on the specified message.void
ServiceBusReceiverClient.renewMessageLock
(ServiceBusReceivedMessage message, Duration maxLockRenewalDuration, Consumer<Throwable> onError) Starts the auto lock renewal for a message with the given lock.ModifierConstructorDescriptionServiceBusMessage
(ServiceBusReceivedMessage receivedMessage) Creates aServiceBusMessage
using properties fromreceivedMessage
.