A city inspection desk polls OCI Queue with GetMessages for new site-visit jobs. Empty replies keep the worker chatty. Which setting lets a single GetMessages wait up to thirty seconds for a message instead of returning empty right away?
Select an answer to reveal the explanation.
Short Explanation
Picture a clerk who can sit at the counter for up to half a minute instead of walking away empty-handed every second. That wait is the GetMessages polling timeout. Visibility hides work already handed out; retention is how long the ticket lives in the inbox.
Full Explanation
OCI Queue GetMessages supports a polling timeout from 0 to 30 seconds (default 30). Zero is a short poll; a positive value is long polling that reduces empty, chatty loops. Visibility timeout starts after delivery and hides the message while a consumer works it. Retention is a separate clock for how long undeleted messages remain in the queue.