Consolidated RabbitMq service class and its test class