Module: Bunny::Queue::Types

Defined in:
lib/bunny/queue.rb

Overview

API

Constant Summary collapse

QUORUM =
"quorum"
CLASSIC =
"classic"
STREAM =
"stream"
DELAYED =
"delayed"
JMS =
"jms"
KNOWN =
[CLASSIC, QUORUM, STREAM, DELAYED, JMS]

Class Method Summary collapse

Class Method Details

.known?(q_type) ⇒ Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/bunny/queue.rb', line 25

def self.known?(q_type)
  KNOWN.include?(q_type)
end