Requests come into the Purchasing microservice via HTTP. If the items in stock fall below the reorder level, a reorder request is placed via JMS to the Reorder microservice. There are two queues, Reorder Queue & Reorder Response Queue which are created in WSO2 Message Broker (MB). Once the reorder request is received via the Reorder Queue, the Reorder microservice will process the request, and send out a Reorder Response Message to the Reorder Response Queue.
Continue reading this post on Azeez's blog.
Want to learn more about key fundamentals of microservice architecture and how technology has evolved to what it is today? Check out our latest white paper - Scope Versus Size: A Pragmatic Approach to Microservice Architecture .