Class: Ansible::Ruby::Modules::Rabbitmq_queue
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rabbitmq_queue
- Defined in:
- lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb
Overview
This module uses rabbitMQ Rest API to create/delete queues
Instance Method Summary collapse
-
#arguments ⇒ Object?
Extra arguments for queue.
-
#auto_delete ⇒ :yes, ...
If the queue should delete itself after all queues/queues unbound from it.
-
#auto_expires ⇒ String?
How long a queue can be unused before it is automatically deleted (milliseconds).
-
#dead_letter_exchange ⇒ Object?
Optional name of an exchange to which messages will be republished if they,are rejected or expire.
-
#dead_letter_routing_key ⇒ Object?
Optional replacement routing key to use when a message is dead-lettered.,Original routing key will be used if unset.
-
#durable ⇒ :yes, ...
Whether queue is durable or not.
-
#login_host ⇒ String?
RabbitMQ host for connection.
-
#login_password ⇒ :yes, ...
RabbitMQ password for connection.
-
#login_port ⇒ Integer?
RabbitMQ management api port.
-
#login_user ⇒ String?
RabbitMQ user for connection.
-
#max_length ⇒ String?
How many messages can the queue contain before it starts rejecting.
-
#max_priority ⇒ Object?
Maximum number of priority levels for the queue to support.,If not set, the queue will not support message priorities.,Larger numbers indicate higher priority.
-
#message_ttl ⇒ String?
How long a message can live in queue before it is discarded (milliseconds).
-
#name ⇒ String
Name of the queue to create.
-
#state ⇒ :present, ...
Whether the queue should be present or absent,Only present implemented atm.
-
#vhost ⇒ String?
RabbitMQ virtual host.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#arguments ⇒ Object?
Returns extra arguments for queue. If defined this argument is a key/value dictionary.
69 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 69 attribute :arguments |
#auto_delete ⇒ :yes, ...
Returns if the queue should delete itself after all queues/queues unbound from it.
44 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 44 attribute :auto_delete |
#auto_expires ⇒ String?
Returns How long a queue can be unused before it is automatically deleted (milliseconds).
52 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 52 attribute :auto_expires |
#dead_letter_exchange ⇒ Object?
Returns Optional name of an exchange to which messages will be republished if they,are rejected or expire.
60 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 60 attribute :dead_letter_exchange |
#dead_letter_routing_key ⇒ Object?
Returns Optional replacement routing key to use when a message is dead-lettered.,Original routing key will be used if unset.
63 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 63 attribute :dead_letter_routing_key |
#durable ⇒ :yes, ...
Returns whether queue is durable or not.
40 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 40 attribute :durable |
#login_host ⇒ String?
Returns rabbitMQ host for connection.
28 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 28 attribute :login_host |
#login_password ⇒ :yes, ...
Returns rabbitMQ password for connection.
24 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 24 attribute :login_password |
#login_port ⇒ Integer?
Returns rabbitMQ management api port.
32 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 32 attribute :login_port |
#login_user ⇒ String?
Returns rabbitMQ user for connection.
20 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 20 attribute :login_user |
#max_length ⇒ String?
Returns How many messages can the queue contain before it starts rejecting.
56 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 56 attribute :max_length |
#max_priority ⇒ Object?
Returns Maximum number of priority levels for the queue to support.,If not set, the queue will not support message priorities.,Larger numbers indicate higher priority.
66 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 66 attribute :max_priority |
#message_ttl ⇒ String?
Returns How long a message can live in queue before it is discarded (milliseconds).
48 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 48 attribute :message_ttl |
#name ⇒ String
Returns Name of the queue to create.
12 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns Whether the queue should be present or absent,Only present implemented atm.
16 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 16 attribute :state |
#vhost ⇒ String?
Returns rabbitMQ virtual host.
36 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_queue.rb', line 36 attribute :vhost |