天天看點

rabbitmq 常用配置RabbitMQ配置檔案

RabbitMQ配置檔案

簡單的rabbitmq配置可無需配置檔案,隻有需要定制複雜應用時,才需要用到配置檔案

rabbitmq-env.conf配置

常用參數:

按 Ctrl+C 複制代碼

<textarea style="margin: 0px; padding: 0px; list-style-type: none; list-style-image: none; font: 12px/1.5 "Courier New"; width: 689.011px; height: 150.409px;"></textarea>

rabbitmq.config配置

如果是用rpm包安裝,可從預設docs目錄複制配置檔案樣例:

<pre style="margin: 0px; white-space: pre-wrap; overflow-wrap: break-word; padding: 0px; list-style-type: none; list-style-image: none; font-family: "Courier New" !important; font-size: 12px !important;">cp /usr/share/doc/rabbitmq-server-3.5.3/rabbitmq.config.example /etc/rabbitmq.config</pre>

常用配置如下:

<textarea style="margin: 0px; padding: 0px; list-style-type: none; list-style-image: none; font: 12px/1.5 "Courier New"; width: 689.011px; height: 200.809px;"></textarea>

更多參數參考:

http://www.rabbitmq.com/configure.html#configuration-file