Fix syntax error in rabbitmq class