ServiceBusSubscription.DefinitionStages.WithMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount Interface

public static interface ServiceBusSubscription.DefinitionStages.WithMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount

The stage of the subscription definition allowing to specify maximum delivery count of message before moving it to dead-letter subscription.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount(int deliveryCount)

Specifies maximum number of times a message can be delivered.

Method Details

withMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount

public abstract ServiceBusSubscription.DefinitionStages.WithCreate withMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount(int deliveryCount)

Specifies maximum number of times a message can be delivered. Once this count has exceeded, message will be moved to dead-letter subscription.

Parameters:

deliveryCount - maximum delivery count

Returns:

the next stage of subscription definition

Applies to