itk_queue v0.2.1 ITKQueue.Retry

Handles retrying messages that fail to process.

This is accomplished by creating a new temporary queue and pubishing the message to that queue.

The queue is configured so that the message expires after a delay and when it expires it is republished with the original routing key.

Summary

Functions

Retry the given message after a delay

Functions

delay(channel, subscription, payload, map)

Retry the given message after a delay.

The message will go into a temporary “retry” queue and, after a delay, will be republished with the original routing key.