Publication and subscribing implementation in RabbitMQ