abstract struct AMQP::Client::Message
- AMQP::Client::Message
- Struct
- Value
- Object
Overview
Abstract message, use both for Get and Delivered messages
Direct Known Subclasses
Defined in:
amqp-client/message.crInstance Method Summary
-
#ack(multiple = false)
Acknowledge the message
- #body_io : IO::Memory
- #delivery_tag : UInt64
- #exchange : String
-
#nack(multiple = false, requeue = false)
Negatively acknowledge (reject) the message
- #properties : AMQ::Protocol::Properties
- #redelivered : Bool
-
#reject(requeue = false)
Reject the message
- #routing_key : String
Instance Method Detail
Negatively acknowledge (reject) the message