ServiceBusSubscription.DefinitionStages.WithMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount Interface

public interface 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
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.

Method Details

withMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount

public 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