LavinMQ::Policy
Inherits JSON::Serializable < LavinMQ::SortableJSON < Reference < Object
Constants
SUPPORTED_POLICIES = {"max-length", "max-length-bytes", "message-ttl", "expires", "overflow", "dead-letter-exchange", "dead-letter-routing-key", "federation-upstream", "federation-upstream-set", "delivery-limit", "max-age", "alternate-exchange", "delayed-message"}
Constructors
new(name : String, vhost : String, pattern : Regex, apply_to : Target, definition : Hash(String, JSON::Any), priority : Int8)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceClass methods
Instance methods
apply_to
Sourcedefinition
Sourcedetails_tuple
Sourcematch?(resource : Queue)
Sourcematch?(resource : Exchange)
Sourcename
Sourcepattern
Sourcepriority
Sourcevhost
Source