class LavinMQ::OperatorPolicy

Defined in:

lavinmq/policy.cr

Constant Summary

ALLOWED_ARGUMENTS = ["expires", "message-ttl", "max-length", "max-length-bytes"]

Constructors

Instance methods inherited from class LavinMQ::Policy

apply_to : Target apply_to, definition : Hash(String, JSON::Any) definition, details_tuple details_tuple, match?(resource : Queue)
match?(resource : Exchange)
match?
, name : String name, pattern : Regex pattern, priority : Int8 priority, vhost : String vhost

Constructor methods inherited from class LavinMQ::Policy

new(name : String, vhost : String, pattern : Regex, apply_to : Target, definition : Hash(String, JSON::Any), priority : Int8)
new(pull : JSON::PullParser)
new

Class methods inherited from class LavinMQ::Policy

merge_definitions(p1 : Policy, p2 : Policy) : Hash(String, JSON::Any)
merge_definitions(p1 : Nil, p2 : Policy) : Hash(String, JSON::Any)
merge_definitions(p1 : Policy, p2 : Nil) : Hash(String, JSON::Any)
merge_definitions(p1 : Nil, p2 : Nil) : Hash(String, JSON::Any)
merge_definitions

Instance methods inherited from module LavinMQ::SortableJSON

details_tuple details_tuple, to_json(json : JSON::Builder) to_json

Constructor Detail

def self.new(name : String, vhost : String, pattern : Regex, apply_to : Target, definition : Hash(String, JSON::Any), priority : Int8) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]