Define RabbitMQ policies in configuration file

前端 未结 5 996
清歌不尽
清歌不尽 2021-02-02 12:50

I\'d like to define mirroring for all my queues by default. I currently have to use rabbitmqctl once the node is up:

rabbit         


        
5条回答
  •  不知归路
    2021-02-02 13:43

    Policy can't be set in the rabbitmq.config file. One workaround is to start rmq using an init script and put the rabbitmqctl command inside there so that it is run whenever rmq starts or restarts.

提交回复
热议问题