rabbitmq connection and mq type change