ServiceBusSubscription.DefinitionStages.WithExpiredMessageMovedToDeadLetterSubscription Interface

public static interface ServiceBusSubscription.DefinitionStages.WithExpiredMessageMovedToDeadLetterSubscription

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

Method Summary

Modifier and Type Method and Description
abstract WithCreate withExpiredMessageMovedToDeadLetterSubscription()

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

abstract WithCreate withoutExpiredMessageMovedToDeadLetterSubscription()

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

Method Details

withExpiredMessageMovedToDeadLetterSubscription

public abstract ServiceBusSubscription.DefinitionStages.WithCreate withExpiredMessageMovedToDeadLetterSubscription()

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

Returns:

the next stage of subscription definition

withoutExpiredMessageMovedToDeadLetterSubscription

public abstract ServiceBusSubscription.DefinitionStages.WithCreate withoutExpiredMessageMovedToDeadLetterSubscription()

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

Returns:

the next stage of subscription definition

Applies to