Class AMQP::Protocol::Header
In: lib/amqp/protocol.rb
Parent: Object

Contains a properties hash that holds some potentially interesting information.

  • :delivery_mode

1 equals transient. 2 equals persistent. Unconsumed persistent messages will survive a server restart when they are stored in a durable queue.

  • :redelivered

True or False

  • :routing_key

The routing string used for matching this message to this queue.

  • :priority

An integer in the range of 0 to 9 inclusive.

  • :content_type

Always "application/octet-stream" (byte stream)

  • :exchange

The source exchange which published this message.

  • :message_count

The number of unconsumed messages contained in the queue.

  • :delivery_tag

A monotonically increasing integer. This number should not be trusted as a sequence number. There is no guarantee it won‘t get reset.

Methods

==   method_missing   new   to_binary   to_frame   to_s  

Attributes

klass  [RW] 
properties  [RW] 
size  [RW] 
weight  [RW] 

Public Class methods

Public Instance methods

[Validate]