Skip to content
Sample Node.js code that uses Rabbit MQ to implement choreography in Microservices
JavaScript
Branch: master
Clone or download
Latest commit 18669a4 Nov 25, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HelperFunctions Standardized error message to "Order process error" Nov 23, 2017
InventoryCheck Standardized error message to "Order process error" Nov 23, 2017
OrderCreation Standardized error message to "Order process error" Nov 23, 2017
OrderShipment
StockReplenishment Standardized error message to "Order process error" Nov 23, 2017
.gitattributes :neckbeard: Added .gitattributes & .gitignore files Nov 5, 2017
.gitignore Standardized error message to "Order process error" Nov 23, 2017
README.md Update README.md Nov 25, 2017

README.md

tashkent

Sample Node.js code that uses Rabbit MQ to implement choreography in Microservices

Demo MicroServices

  • Order Creation
  • Invoice Check
  • Stock Replenish
  • Order Shipment

Messages: "order created!", "stock replenished!" & "ship order!"

Input: Order creation by POST method call to Order Creation service

Process Flow: order create --> inventory check --> stock replenish (or) order shipment --> order delivery

Output: Order Shipped

This post describes the high level flow and this post describes the compensation logic.

You can’t perform that action at this time.