abstract struct AMQP::Client::Message

Overview

Abstract message, use both for Get and Delivered messages

Direct Known Subclasses

Defined in:

amqp-client/message.cr

Instance Method Summary

Instance Method Detail

def ack(multiple = false) #

Acknowledge the message


[View source]
def body_io : IO::Memory #

[View source]
def delivery_tag : UInt64 #

[View source]
def exchange : String #

[View source]
def nack(multiple = false, requeue = false) #

Negatively acknowledge (reject) the message


[View source]
def properties : AMQ::Protocol::Properties #

[View source]
def redelivered : Bool #

[View source]
def reject(requeue = false) #

Reject the message


[View source]
def routing_key : String #

[View source]