RabbitMQ server setup with Android app communication

I spent more than 12 hours in setting up RabbitMQ server in Ubuntu and creating an Android app which communicates from server and also communicates with other devices through the server. So I thought it will be good to share the whole information I found in a single place. I found information from various sources.

And as usual from

I am using Ubuntu 12.04. This tutorial is completely based on this. So I am not sure how will it work on Windows or Mac OS.

A. Install the latest version of RabbitMQ as per the instruction from here

  1. Add the following line to your /etc/apt/sources.list:
    deb testing main