Class: Proletariat::Drop
- Inherits:
-
ExceptionHandler
- Object
- Concurrent::Actor::RestartingContext
- Actor
- ExceptionHandler
- Proletariat::Drop
- Defined in:
- lib/proletariat/exception_handler/drop.rb
Overview
Internal: Exception handler which just drops failed messages.
Instance Method Summary collapse
-
#work(message, to, headers) ⇒ Object
Public: Does nothing with the failed messages.
Methods inherited from ExceptionHandler
#actor_work, #initialize, #setup, #work_method
Methods included from Concerns::Logging
Methods inherited from Actor
Methods included from ActorCommon
Constructor Details
This class inherits a constructor from Proletariat::ExceptionHandler
Instance Method Details
#work(message, to, headers) ⇒ Object
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.
11 12 13 |
# File 'lib/proletariat/exception_handler/drop.rb', line 11 def work(, to, headers) nil end |