Recommended File Extensions for Advanced and Rabbitmq configuration files in Windows Environment
search cancel

Recommended File Extensions for Advanced and Rabbitmq configuration files in Windows Environment

book

Article ID: 397325

calendar_today

Updated On: 05-15-2025

Products

VMware Tanzu Data Suite VMware Tanzu RabbitMQ

Issue/Introduction

What are the recommended practices for handling file extensions for Advanced and RabbitMQ configuration files when setting up RabbitMQ cluster in a Windows environment? These files can be used without any file extensions.

Resolution

With regards to recommendations when using file extensions for configuration files, our documentation lists three situations. These three situations all refer to their locations being configurable using the listed environment variables and depend if you are using the new style configuration format or the classic configuration format:

 

  1. To override the main RabbitMQ configuration file location, use the RABBITMQ_CONFIG_FILE (or RABBITMQ_CONFIG_FILES to use a conf.d-style directory of sorted files) environment variables.

    Use .conf as file extension for the new style config format, e.g. /etc/rabbitmq/rabbitmq.conf or /data/configuration/rabbitmq/rabbitmq.conf



  2. To override the main RabbitMQ config file location, use the RABBITMQ_CONFIG_FILE environment variable.

    Use .config as file extension for the classic configuration format.



  3. RABBITMQ_ADVANCED_CONFIG_FILE, the configuration file path with a .config file extension.

    Windows example:

    %APPDATA%\RabbitMQ\advanced.config


https://www.rabbitmq.com/docs/configure#configuration-files