This is a retail situation in which cashier and manager operate together to sell their products to their clients. Two consumers and one producer is present in this situation where it has Manager consumer and Cashier consumer. Then Manager consumer will add goods to supermarkets and offer discounts on goods. The final measured bill will be displayed by the Cashier consumer. To achieve best practices of OSGI we expose the producer service interfaces only not the implementations. Consumers can work through the interfaces.
GitHub Repo 📌