Interface Queue.DefinitionStages.WithMessageLockDuration

    • Method Detail

      • withMessageLockDurationInSeconds

        Queue.DefinitionStages.WithCreate withMessageLockDurationInSeconds​(int durationInSeconds)
        Specifies the amount of time that the message is locked for other receivers. Note: unless it is explicitly overridden the default lock duration is 60 seconds, the maximum allowed value is 300 seconds.
        Parameters:
        durationInSeconds - duration of a lock in seconds
        Returns:
        the next stage of queue definition