Change rabbitmq connection parameters method