Fixed rabbitmq use flag for erpher.