Queue.UpdateStages.WithExpiredMessageMovedToDeadLetterQueue Interface

public interface 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
Queue.Update withExpiredMessageMovedToDeadLetterQueue()

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

Queue.Update withoutExpiredMessageMovedToDeadLetterQueue()

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

Method Details

withExpiredMessageMovedToDeadLetterQueue

public Update withExpiredMessageMovedToDeadLetterQueue()

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

Returns:

the next stage of queue update

withoutExpiredMessageMovedToDeadLetterQueue

public Update withoutExpiredMessageMovedToDeadLetterQueue()

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

Returns:

the next stage of queue update

Applies to