Sha256: 08135ad03d74d6a1034d90bdde6fbdcd9aebaba1f8606a00d1cfdd0d5c568b62
Contents?: true
Size: 413 Bytes
Versions: 3
Compression:
Stored size: 413 Bytes
Contents
module Proletariat # Internal: Exception handler which just drops failed messages. class Drop < ExceptionHandler # Public: Does nothing with the failed messages. # # body - The failed message body. # to - The failed message's routing key. # headers - The failed message's headers. # # Returns nil. def work(message, to, headers) nil end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
proletariat-0.1.2 | lib/proletariat/exception_handler/drop.rb |
proletariat-0.1.1 | lib/proletariat/exception_handler/drop.rb |
proletariat-0.1.0 | lib/proletariat/exception_handler/drop.rb |