i would like to set the "x-message-ttl" of an existing queue, but the said it's not possible:
Important The RabbitMQ broker will not allow declaration of a queue with mismatched arguments. For example, if a queue already exists with no time to live argument, and you attempt to declare it with, say, key="x-message-ttl" value="100", an exception will be thrown.
By default, the RabbitAdmin will immediately stop processing all declarations when any exception occurs; this could cause downstream issues - such as a listener container failing to initialize because another queue (defined after the one in error) is not declared.
This behavior can be modified by setting the ignore-declaration-failures attribute to true on the RabbitAdmin. This option instructs the RabbitAdmin to log the exception, and continue declaring other elements.
http://docs.spring.io/spring-amqp/docs/1.3.9.RELEASE/reference/html/amqp.html#broker-configuration
What is the reason, that the RabbitAdmin don't support this feature? Via the Rabbit UI or CLI it's is possible to change the arguments of an existing queue, or?
Is there a workaround to change the arguments of an existing queue?
Thanks!
Dennis