Class: Backstage::Queue
- Inherits:
-
Destination
- Object
- Destination
- Backstage::Queue
- Defined in:
- lib/destinations/models/queue.rb
Instance Attribute Summary
Attributes inherited from Destination
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Destination
#app, #app_name, #available_actions, #browsable_message_count, #clear, #display_name, display_name, #each, #jms_destination, #jndi_name, #pause, #resume, #status
Methods included from Resource
#association_chain, #available_actions, included, #resource, #to_hash
Methods included from HasMBean
#<=>, #full_name, included, #initialize, #mbean_info, #method_missing
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Backstage::HasMBean
Class Method Details
.filter ⇒ Object
24 25 26 |
# File 'lib/destinations/models/queue.rb', line 24 def self.filter 'org.hornetq:address="jms.queue.*",*,type=Queue' end |
.jms_prefix ⇒ Object
20 21 22 |
# File 'lib/destinations/models/queue.rb', line 20 def self.jms_prefix 'jms.queue.' end |
.to_hash_attributes ⇒ Object
28 29 30 |
# File 'lib/destinations/models/queue.rb', line 28 def self.to_hash_attributes super + [:durable] end |
Instance Method Details
#subcollections ⇒ Object
32 33 34 |
# File 'lib/destinations/models/queue.rb', line 32 def subcollections [:messages] end |