Order Fulfillment process

Order Fulfillment process

The following list describes the control flow during the Order Fulfillment process:

 

  1. OrderFulfiller receives a SubmitOrder message containing a serialized copy of the order. The owner of the order object is the component that receives the message. By default it is OrderFulfiller
  2. OrderFulfiller passes control of the different components of fulfillers configured using FulfillOrderFragments. For example, HardgoodFulfiller. Note: Different fragments contain shipping groups associated with different items. The shipping groups listed in the fragment are now controlled by the component that receives the message. For example, HardgoodFulfiller controls the shipping groups.
  3. When HardgoodFulfiller controls the shipping groups, all modifications to the shipping groups happen through HardgoodFulfiller. HardgoodFulfiller can run in the background system in different environments. If no other components need to modify the shipping groups, the ModifyOrder request will be forwarded to HardgoodFulfiller. TheHardgoodFulfiller is responsible for making the requested changes to the shipping groups while they are
    under its control. Note that all modifications are made via fulfiller calls to pipeline chains
  4. When the shipping groups are shipped, the ModifyOrderNotification message will be sent, and when the message is sent HardgoodFulfiller will relinquish control of the shipping groups and transfer control to OrderFulfiller, provided that nothing else is in control, and control is maintained until the order is completed.
  5. OrderFulfiller receives the ModifyOrderNotification message. If the business rules allow the first shipment payment to be settled, the payment groups are mainly responsible for the cost of items, shipment., tax
  6. After the order is settled, OrderFulfiller will change his status to NO_PENDING_ACTION and no longer control the order

The following diagram provides an overview of the flow of the JMS messages during the Order Fulfillment process:



 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327058564&siteId=291194637