ServiceBusSubscription.UpdateStages.WithExpiredMessageMovedToDeadLetterSubscription Interface

public interface WithExpiredMessageMovedToDeadLetterSubscription

The stage of the subscription update allowing to specify whether expired message can be moved to secondary dead-letter subscription.

Method Summary

Modifier and Type Method and Description
ServiceBusSubscription.Update withExpiredMessageMovedToDeadLetterSubscription()

Specifies that expired message must be moved to dead-letter subscription.

ServiceBusSubscription.Update withoutExpiredMessageMovedToDeadLetterSubscription()

Specifies that expired message should not be moved to dead-letter subscription.

Method Details

withExpiredMessageMovedToDeadLetterSubscription

public Update withExpiredMessageMovedToDeadLetterSubscription()

Specifies that expired message must be moved to dead-letter subscription.

Returns:

the next stage of subscription update

withoutExpiredMessageMovedToDeadLetterSubscription

public Update withoutExpiredMessageMovedToDeadLetterSubscription()

Specifies that expired message should not be moved to dead-letter subscription.

Returns:

the next stage of subscription update

Applies to