class Crabbit::Properties

Overview

AMQP 1.0 properties section containing standard message metadata.

Defined in:

crabbit/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message_id : Identifier | Nil = nil, user_id : Bytes | Nil = nil, to : String | Nil = nil, subject : String | Nil = nil, reply_to : String | Nil = nil, correlation_id : Identifier | Nil = nil, content_type : String | Nil = nil, content_encoding : String | Nil = nil, absolute_expiry_time : Time | Nil = nil, creation_time : Time | Nil = nil, group_id : String | Nil = nil, group_sequence : UInt32 | Nil = nil, reply_to_group_id : String | Nil = nil) #

Creates an AMQP properties section.


[View source]

Instance Method Detail

def absolute_expiry_time : Time | Nil #

Absolute message expiry time.


[View source]
def absolute_expiry_time=(absolute_expiry_time : Time | Nil) #

Absolute message expiry time.


[View source]
def content_encoding : String | Nil #

MIME content encoding encoded as an AMQP symbol.


[View source]
def content_encoding=(content_encoding : String | Nil) #

MIME content encoding encoded as an AMQP symbol.


[View source]
def content_type : String | Nil #

MIME content type encoded as an AMQP symbol.


[View source]
def content_type=(content_type : String | Nil) #

MIME content type encoded as an AMQP symbol.


[View source]
def correlation_id : Identifier | Nil #

Identifier used to correlate related messages.


[View source]
def correlation_id=(correlation_id : Identifier | Nil) #

Identifier used to correlate related messages.


[View source]
def creation_time : Time | Nil #

Message creation time.


[View source]
def creation_time=(creation_time : Time | Nil) #

Message creation time.


[View source]
def group_id : String | Nil #

Application-defined group identifier.


[View source]
def group_id=(group_id : String | Nil) #

Application-defined group identifier.


[View source]
def group_sequence : UInt32 | Nil #

Sequence number within #group_id.


[View source]
def group_sequence=(group_sequence : UInt32 | Nil) #

Sequence number within #group_id.


[View source]
def message_id : Identifier | Nil #

Application-defined stable message identifier.


[View source]
def message_id=(message_id : Identifier | Nil) #

Application-defined stable message identifier.


[View source]
def reply_to : String | Nil #

Reply destination.


[View source]
def reply_to=(reply_to : String | Nil) #

Reply destination.


[View source]
def reply_to_group_id : String | Nil #

Group identifier for replies.


[View source]
def reply_to_group_id=(reply_to_group_id : String | Nil) #

Group identifier for replies.


[View source]
def subject : String | Nil #

Message subject.


[View source]
def subject=(subject : String | Nil) #

Message subject.


[View source]
def to : String | Nil #

Destination address.


[View source]
def to=(to : String | Nil) #

Destination address.


[View source]
def user_id : Bytes | Nil #

Authenticated user identity represented as AMQP binary.


[View source]
def user_id=(user_id : Bytes | Nil) #

Authenticated user identity represented as AMQP binary.


[View source]