rabbitmqctrl add_user root root
rabbitmqctrl set_permissions -p / root ".*" ".*" ".*"
rabbitmqctrl set_user_tags root administrator
How long a message published to a queue can live before it is discarded (milliseconds). (Sets the "x-message-ttl" argument.) https://rabbitmq.com/ttl.html#per-queue-message-ttl
How long a queue can be unused for before it is automatically deleted (milliseconds). (Sets the "x-expires" argument.) https://rabbitmq.com/ttl.html#queue-ttl
How many (ready) messages a queue can contain before it starts to drop them from its head. (Sets the "x-max-length" argument.) https://rabbitmq.com/maxlength.html
Total body size for ready messages a queue can contain before it starts to drop them from its head. (Sets the "x-max-length-bytes" argument.) https://rabbitmq.com/maxlength.html
Sets the queue overflow behaviour. This determines what happens to messages when the maximum length of a queue is reached. Valid values are drop-head or reject-publish. (Sets the "x-overflow" argument.) https://www.rabbitmq.com/maxlength.html#overflow-behaviour
Optional name of an exchange to which messages will be republished if they are rejected or expire. (Sets the "x-dead-letter-exchange" argument.) https://rabbitmq.com/dlx.html
Optional replacement routing key to use when a message is dead-lettered. If this is not set, the message's original routing key will be used. (Sets the "x-dead-letter-routing-key" argument.) https://rabbitmq.com/dlx.html
Maximum number of priority levels for the queue to support; if not set, the queue will not support message priorities. (Sets the "x-max-priority" argument.) https://rabbitmq.com/priority.html
Set the queue into lazy mode, keeping as many messages as possible on disk to reduce RAM usage; if not set, the queue will keep an in-memory cache to deliver messages as fast as possible. (Sets the "x-queue-mode" argument.) https://www.rabbitmq.com/lazy-queues.html
Set the queue into master location mode, determining the rule by which the queue master is located when declared on a cluster of nodes. (Sets the "x-queue-master-locator" argument.) https://www.rabbitmq.com/ha.html
You can set other message properties here (delivery mode and headers are pulled out as the most common cases).
Invalid properties will be ignored. Valid properties are:
- content_type
- content_encoding
- priority
- correlation_id
- reply_to
- expiration
- message_id
- timestamp
- type
- user_id
- app_id
- cluster_id