A Yum repository with RabbitMQ packages is available from PackageCloud. Package Cloud also can be used to install a recent Erlang version via yum.
A quick way to install is to use a Package Cloud-provided script.
erlang
repository
curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash
install
sudo yum install erlang-23.3.1-1.el7.x86_64
rabbitmq
repository
curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash
install
sudo yum install rabbitmq-server-3.8.14-1.el7.noarch