Package | Description |
---|---|
com.azure.messaging.servicebus |
Package containing classes for creating
ServiceBusSenderAsyncClient ,
ServiceBusReceiverAsyncClient to perform operations on Azure Service Bus. |
com.azure.messaging.servicebus.models |
Package containing model classes for interacting with Azure Service Bus.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceBusReceiverClient.deadLetter(MessageLockToken lockToken,
DeadLetterOptions deadLetterOptions)
Moves a
message to the deadletter subqueue with deadletter reason, error
description, and/or modified properties. |
Mono<Void> |
ServiceBusReceiverAsyncClient.deadLetter(MessageLockToken lockToken,
DeadLetterOptions deadLetterOptions)
Moves a
message to the deadletter subqueue with deadletter reason, error
description, and/or modified properties. |
void |
ServiceBusReceiverClient.deadLetter(MessageLockToken lockToken,
DeadLetterOptions deadLetterOptions,
String sessionId)
Moves a
message to the deadletter subqueue with deadletter reason, error
description, and/or modified properties. |
Mono<Void> |
ServiceBusReceiverAsyncClient.deadLetter(MessageLockToken lockToken,
DeadLetterOptions deadLetterOptions,
String sessionId)
Moves a
message to the deadletter subqueue with deadletter reason, error
description, and/or modified properties. |
Modifier and Type | Method and Description |
---|---|
DeadLetterOptions |
DeadLetterOptions.setDeadLetterErrorDescription(String deadLetterErrorDescription)
Sets the error description while putting message in dead letter sub-queue.
|
DeadLetterOptions |
DeadLetterOptions.setDeadLetterReason(String deadLetterReason)
Sets the reason while putting message in dead letter sub-queue.
|
DeadLetterOptions |
DeadLetterOptions.setPropertiesToModify(Map<String,Object> propertiesToModify)
Sets the message properties to modify while putting message in dead letter sub-queue.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.