class Hutch::Acknowledgements::Base
Defines acknowledgement handler interface.
Public Instance Methods
handle(delivery_info, properties, broker, ex)
click to toggle source
Implements negative acknowledgement/requeueing logic and returns a boolean to indicate whether acknowledgement was performed. If false is returned, next handler in the chain will be invoked.
The chain always falls back to unconditional nacking.
# File lib/hutch/acknowledgements/base.rb, line 11 def handle(delivery_info, properties, broker, ex) raise NotImplementedError.new end