class
LavinMQ::AMQP::Argument::DeadLettering::DeadLetterer
- LavinMQ::AMQP::Argument::DeadLettering::DeadLetterer
- Reference
- Object
Defined in:
lavinmq/amqp/argument/dead_lettering.crConstructors
Instance Method Summary
- #dlrk : String | Nil
- #dlrk=(dlrk : String | Nil)
- #dlx : String | Nil
- #dlx=(dlx : String | Nil)
-
#route(msg : BytesMessage, reason)
This method will publish direct to queues instead of to the DLX.
Constructor Detail
Instance Method Detail
def route(msg : BytesMessage, reason)
#
This method will publish direct to queues instead of to the DLX. It's done like this to be able to dead letter to all destinations except to the queue itself if a cycle is detected. This is also how it's done in rabbitmq