Uses of Class
com.azure.messaging.servicebus.models.DeadLetterOptions
Packages that use DeadLetterOptions
Package
Description
The Azure Service Bus client library allows Java developers to interact with Azure Service Bus entities by
publishing to and/or subscribing from queues and topics/subscriptions.
Model classes for interacting with Azure Service Bus.
-
Uses of DeadLetterOptions in com.azure.messaging.servicebus
Methods in com.azure.messaging.servicebus with parameters of type DeadLetterOptionsModifier and TypeMethodDescriptionvoidServiceBusReceivedMessageContext.deadLetter(DeadLetterOptions options) Dead-letters themessagein this context.ServiceBusReceiverAsyncClient.deadLetter(ServiceBusReceivedMessage message, DeadLetterOptions options) Moves amessageto the dead-letter sub-queue with the given options.voidServiceBusReceiverClient.deadLetter(ServiceBusReceivedMessage message, DeadLetterOptions options) Moves amessageto the dead-letter sub-queue with dead-letter reason, error description, and/or modified properties. -
Uses of DeadLetterOptions in com.azure.messaging.servicebus.models
Methods in com.azure.messaging.servicebus.models that return DeadLetterOptionsModifier 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 theServiceBusTransactionContextto the options.