AMQPX v1.0.0 AMQPX.Receiver.Standard.Retry View Source

Link to this section Summary

Link to this section Types

Link to this type option() View Source
option() ::
  {:limit, integer()}
  | {:identity, [AMQPX.MessageIdentity.identity_function()]}
  | {:delay, nil | integer()}

Link to this section Functions

Link to this function clear(payload, meta, handler, state) View Source
Link to this function exhausted?(payload, meta, handler, state) View Source

Retry options.

identity specifies the list of methods to generate a unique term for a message. The first non-nil result is used. If all methods evaluate to nil, retry tracking is not used for that message.

delay specifies the time to wait (in milliseconds) before rejecting the delivery, to prevent a hot retry loop.