Add an option to specify rabbitmq server
(cherry picked from commit 334536f46c6042968e9da57753f848daf61e263b)