listening to rabbitmq queue and calling analytics http api on receiving any message from it