Can we set the 'hide' time?
Yes. You can set the time for which a message will be hidden to other callers. If you look at the REST API documentation for Get Messages
, it expects a parameter called visibilitytimeout
. This parameter is responsible for hiding the message for specified number of seconds. After that time period has elapsed, the message becomes visible again if not deleted.
How long does that message stay hidden before it's deemed a failure and is made visible again on the queue?
If you're using .Net Storage Client library, you have an option to specify the visibility timeout period. Take a look at the documentation for Get Message
where you can specify the visibility timeout. Since this is an optional parameter in the library (but required at the REST API level), default value provided by the library is 90 seconds.