amqp - RabbitMQ: What is the default x-message-ttl value -


I could not find in the RabbitMQ documentation, the default x-message-ttl value comes with installation.

I know how it has been set in a desired value but I am eager to know the default value.

argument set by default from a broker party x-message-ttl , So basically you can interpret the default value as infinite value.

If you publish the message without TTL in the queue, the TTL set (without the yup, per-message and per-line TTL arguments, see note below):

  • If the message published in the form of continuous message and continuous message will remain in the queue, the quota will not be consumed;

  • If the message has not been published continuously or the queue has not been declared as continuous, then the message will remain in the queue until it can not be cut or the broker is reinstated. Can not start.

    TTL Note:

    When both TTL Set Brokers per per line and the per-line use the minimum valay. For example, if the per-message TTL is 10000 (10 second) and per-queue TTL 20000 (20 seconds), then per-message TTL will be applicable.

    Per-message TTL Note:

    Messages will be in line with TTL until they reach the queue's head. Do not worry, they will not send it to the consumer, but till they reach the head, they take some resources. In this way RabbitMQ queues work (they stick to the FIFO idea, which can sometimes break strict compatibility with the AMQP protocol). See for more.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -