class

LavinMQ::AMQP::Queue::Settings

Inherits Reference < Object

Settings derived from the queue's arguments and its policies. A new instance is built off to the side every time they are (re)applied and published with a single reference store, so readers never see a policy half-applied, limits missing while a policy is re-applied, or a torn value. A published instance is never mutated.

Constructors

new(consumer_timeout : UInt64 | Nil = nil)
Source

Instance methods

consumer_timeout
Source
consumer_timeout=(consumer_timeout : UInt64 | Nil)
Source
counts_deliveries?

Deliveries are counted for x-delivery-limit and x-delayed-retry-min

Source
delayed_retry_max
Source
delayed_retry_max=(delayed_retry_max : Int64 | Nil)
Source
delayed_retry_min
Source
delayed_retry_min=(delayed_retry_min : Int64 | Nil)
Source
delayed_retry_multiplier
Source
delayed_retry_multiplier=(delayed_retry_multiplier : Int32 | Nil)
Source
delivery_limit
Source
delivery_limit=(delivery_limit : Int64 | Nil)
Source
dlrk
Source
dlrk=(dlrk : String | Nil)
Source
dlx=(dlx : String | Nil)
Source
effective_args
Source
enforce_limits=(enforce_limits : Bool)

Set when the policy tightened limits that existing messages must be checked against

Source
enforce_limits?

Set when the policy tightened limits that existing messages must be checked against

Source
expires
Source
expires=(expires : Int64 | Nil)
Source
federation_upstream

Only set by policies; federation has no queue argument

Source
federation_upstream=(federation_upstream : String | Nil)

Only set by policies; federation has no queue argument

Source
federation_upstream_set
Source
federation_upstream_set=(federation_upstream_set : String | Nil)
Source
max_age
Source
max_age=(max_age : Time::Span | Time::MonthSpan | Nil)
Source
max_length
Source
max_length=(max_length : Int64 | Nil)
Source
max_length_bytes
Source
max_length_bytes=(max_length_bytes : Int64 | Nil)
Source
message_ttl
Source
message_ttl=(message_ttl : Int64 | Nil)
Source
reject_on_overflow=(reject_on_overflow : Bool)
Source
reject_on_overflow?
Source