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/extras/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 ⇒ Boolean?
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 ⇒ Boolean?
Whether queue is durable or not.
-
#login_host ⇒ String?
RabbitMQ host for connection.
-
#login_password ⇒ Boolean?
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.
-
#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, #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.
65 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 65 attribute :arguments |
#auto_delete ⇒ Boolean?
Returns if the queue should delete itself after all queues/queues unbound from it.
43 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 43 attribute :auto_delete |
#auto_expires ⇒ String?
Returns How long a queue can be unused before it is automatically deleted (milliseconds).
51 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 51 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.
59 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 59 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.
62 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 62 attribute :dead_letter_routing_key |
#durable ⇒ Boolean?
Returns whether queue is durable or not.
39 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 39 attribute :durable |
#login_host ⇒ String?
Returns rabbitMQ host for connection.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 27 attribute :login_host |
#login_password ⇒ Boolean?
Returns rabbitMQ password for connection.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 23 attribute :login_password |
#login_port ⇒ Integer?
Returns rabbitMQ management api port.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 31 attribute :login_port |
#login_user ⇒ String?
Returns rabbitMQ user for connection.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 19 attribute :login_user |
#max_length ⇒ String?
Returns How many messages can the queue contain before it starts rejecting.
55 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 55 attribute :max_length |
#message_ttl ⇒ String?
Returns How long a message can live in queue before it is discarded (milliseconds).
47 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 47 attribute :message_ttl |
#name ⇒ String
Returns Name of the queue to create.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 11 attribute :name |
#state ⇒ :present, ...
Returns Whether the queue should be present or absent,Only present implemented atm.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 15 attribute :state |
#vhost ⇒ String?
Returns rabbitMQ virtual host.
35 |
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 35 attribute :vhost |