QuestionQ32

VerifiedConnect to and consume Azure services

You process Azure Service Bus messages that require a dependent call to an external API.

If the API is temporarily unavailable, you must postpone processing the message without increasing its delivery count. You need a way to process the message once the API is available while keeping the message accessible.

Which message action should you take?

Explanation

Deferring sets a message aside in the main queue for later retrieval, typically by its sequence number, when processing is temporarily not possible. It avoids the redelivery behavior of abandoning a peek-locked message, which increments the delivery count; completion removes the message, and dead-lettering moves it to a dead-letter subqueue.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!