convert rabbit mq port to int