added more interfaces and test case for rabbitmq