how long is the message inaccessible to other users by default?

If a message is retrieved from a queue in Amazon SQS, how long is the message
inaccessible to other users by default?

If a message is retrieved from a queue in Amazon SQS, how long is the message
inaccessible to other users by default?

A.
30 seconds

B.
0 seconds

C.
1 hour

D.
1 day

E.
forever



Leave a Reply 8

Your email address will not be published. Required fields are marked *


mr_tienvu

mr_tienvu

Correct answer is A

donkeynuts

donkeynuts

30 secs visibility timeout default, max is 12 hours. use ChangeMessageVisibility action to change it

Ashish Chaturvedi

Ashish Chaturvedi

A

Simon Liang

Simon Liang

A.

http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html

Each queue starts with a default setting of 30 seconds for the visibility timeout. You can change that setting for the entire queue. Typically, you’ll set the visibility timeout to the average time it takes to process and delete a message from the queue. When receiving messages, you can also set a special visibility timeout for the returned messages without changing the overall queue timeout.