Querator V1

Defer a message to be retried

Defer an item to be processed again at a later date/time. Once the enqueue_at time is reached, querator will enqueue this item into the specified queue and the attempted counter for this item will increment by 1.

If the item should not be retried, but failed immediately. Set dead: true and the item will be placed in the dead letter queue regardless of the number of attempts left on the message.

If you wish to fail a message such that it is deleted from the queue and never offered to another consumer, nor placed into the dead letter queue, then call /queue.complete instead.

post/v1/queue.defer

Request body

queue_namestring required

The queue name provided when the item was reserved. If the queue_name does not match the original queue_name provided when the item was reserved, then the defer request will return a non 200 status code.

partitioninteger required

The partition provided when the item was reserved. If the partition does not match the original partition provided when the item was reserved, then the defer request will return a non 200 status code.

Response

codeinteger required

The response code

code_textstring

The text explaination of the code

messagestring

The message that contains details explaining the reason for the code

Changes