The handleHardgoodUpdateInventory
chain is executed when HardgoodFulfiller
receives an UpdateInventory
message.
The following sections describe each processor in the pipeline chain.
retrieveOrderWaitingShipMap
This processor compiles a HashMap
, where the keys are Order Ids and the values are sets of shipping group Ids whose quantities could not previously be allocated from inventory. This HashMap
is placed in the pipeline’s parameter map.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/RetrieveOrderWaitingShipMap
PipelineProcessor object: atg.commerce.pricing.processor.ProcSendScenarioEvent
Transitions: Return value of 1 executes the handleOrderWaitingShipMapChain processor.
handleOrderWaitingShipMapChain
This processor iterates through the HashMap
compiled in the previous processor, and executes the handleOrderWaitingShipMap
chain for each item.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/HandleOrderWaitingShipMapChain
PipelineProcessor object: atg.commerce.pricing.processor.ProcSendScenarioEvent
Transitions: None. This is the last link in the chain and causes the PipelineManager
to return to the caller.