Implemented rabbitmq listener.