The tilde matches the most recent patch version in the specified minor version.
~1.2.3 will match all 1.2.x versions but will miss 1.3.0.
The caret, on the other hand, is more relaxed. It will update you to the most recent minor version in the specified major version.
^1.2.3 will match any 1.x.x release including 1.3.0, but will hold off on 2.0.0.
To use the new rabbitmq.conf file on windows you must re-install the service to let it use the conf file, and the file must exists on disk before you re-install the service.
Here’s the steps to enable the new rabbitmq.conf file:
- Go to the rabbitmq folder, usually “%appdata%\RabbitMQ”
- Create a file named “rabbitmq.conf” (if you want you can take the example file from github)
- Open the command prompt from start menu using the link “RabbitMQ Command Prompt (sbin dir)”
- Stop the service
- Remove the service
- Install the service
- Start the service
Here’s the steps to move all the base RabbitMQ directory (with also data and log directory) to another location on Windows:
- open the command prompt from start menu using the link “RabbitMQ Command Prompt (sbin dir)”
- kill the process “epmd.exe” from the task manager using the details tab
- move the folder from “%appdata%\RabbitMQ” to a different location for instance “D:\”