The project is in a healthy, maintained state
Adds MaxRetry handler which supports additional settings
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 3.2.0
 Project Readme

Sneakers-Max-Retry-Handler

A modified max retry handler for RabbitMQ and Sneakers

A small modification of Sneaker's built-in Maxretry class the replacement class is called SneakersMaxRetryHandler::Maxretry has the exact same logic, but you can pass arguments for handler created queues

Installation

Include it in your Gemfile.

gem 'sneakers_max_retry_handler'

Next install it with Bundler.

$ bundle install

Use:

initialize your worker with the Maxretry handler, pass arguments for retry and error queues:

class MyWorker
   from_queue 'audit_service', {
      handler: SneakersMaxRetryHandler::Maxretry,
      retry_arguments: { 'x-queue-type': 'quorum' },
      error_arguments: { 'x-queue-type': 'quorum' }
   }
end