Queue.UpdateStages.WithExpiredMessageMovedToDeadLetterQueue Interface

public static interface Queue.UpdateStages.WithExpiredMessageMovedToDeadLetterQueue

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

Method Summary

Modifier and Type Method and Description
abstract Update withExpiredMessageMovedToDeadLetterQueue()

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

abstract Update withoutExpiredMessageMovedToDeadLetterQueue()

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

Method Details

withExpiredMessageMovedToDeadLetterQueue

public abstract Queue.Update withExpiredMessageMovedToDeadLetterQueue()

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

Returns:

the next stage of queue update

withoutExpiredMessageMovedToDeadLetterQueue

public abstract Queue.Update withoutExpiredMessageMovedToDeadLetterQueue()

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

Returns:

the next stage of queue update

Applies to