No release in over a year
Retries failed messages on a hutch consumer, once.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.1
 Project Readme

What it does

This will requeue a failed message on hutch once to be retried.

The ideal would be to have a max number of times for a message to be retried, but that will require additional work, possibly some requirement on a database like redis to support that.

Configuring

On your hutch configuration file:

require 'hutch/acknowledgements/retry_once'


Hutch::Config.set(:error_acknowledgements, [Hutch::Acknowledgements::RetryOnce.new])