Queue.UpdateStages.WithMessageLockDuration Interface

public static interface Queue.UpdateStages.WithMessageLockDuration

The stage of the queue definition allowing to define duration for message lock.

Method Summary

Modifier and Type Method and Description
abstract Update withMessageLockDurationInSeconds(int durationInSeconds)

Specifies the amount of time that the message is locked for other receivers.

Method Details

withMessageLockDurationInSeconds

public abstract Queue.Update withMessageLockDurationInSeconds(int durationInSeconds)

Specifies the amount of time that the message is locked for other receivers.

Parameters:

durationInSeconds - duration of a lock in seconds

Returns:

the next stage of queue update

Applies to