VisibilityTimeout Property
The visibility duration for messages in the queue.
Object Oriented Interface
public function getVisibilityTimeout(); public function setVisibilityTimeout($value);
Procedural Interface
inamazon_sqs_get($res, 41 ); inamazon_sqs_set($res, 41, $value );
Default Value
-1
Remarks
Visibility timeout is used to guard against multiple delivery. Successive calls to ListMessages on a queue will not return any message again until the timeout expires, after which the message may reappear unless deleted with DeleteMessage.
A default visibility timeout is configured when a queue is created using CreateQueue, it can also be altered when a message is added using CreateMessage or when they are retrieved using ListMessages.
The default value for VisibilityTimeout is -1, which notifies the component that you would like to use the default behavior for the current Queue.
Data Type
Integer