Uses of Class
com.azure.messaging.servicebus.models.DeadLetterOptions
Package
Description
Package containing classes for creating
ServiceBusSenderAsyncClient
,
ServiceBusProcessorClient
, and
ServiceBusReceiverAsyncClient
to perform operations on Azure Service Bus.Model classes for interacting with Azure Service Bus.
-
Uses of DeadLetterOptions in com.azure.messaging.servicebus
Modifier and TypeMethodDescriptionvoid
ServiceBusReceivedMessageContext.deadLetter
(DeadLetterOptions options) Dead-letters themessage
in this context.ServiceBusReceiverAsyncClient.deadLetter
(ServiceBusReceivedMessage message, DeadLetterOptions options) Moves amessage
to the dead-letter sub-queue with the given options.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. -
Uses of DeadLetterOptions in com.azure.messaging.servicebus.models
Modifier and TypeMethodDescriptionDeadLetterOptions.setDeadLetterErrorDescription
(String deadLetterErrorDescription) Sets the error description while putting message in dead letter sub-queue.DeadLetterOptions.setDeadLetterReason
(String deadLetterReason) Sets the reason while putting message in dead letter sub-queue.DeadLetterOptions.setPropertiesToModify
(Map<String, Object> propertiesToModify) Sets the message properties to modify while putting message in dead letter sub-queue.DeadLetterOptions.setTransactionContext
(ServiceBusTransactionContext transactionContext) Sets theServiceBusTransactionContext
to the options.