The handleHardgoodModifyOrder
chain is executed when HardgoodFulfiller
receives a ModifyOrder
message
The following sections describe each processor in the pipeline chain.
extractOrderId4
This processor attempts to extract the ID of the order from the OrderId
property of the ModifyOrder
message.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/ExtractOrderId
PipelineProcessor object: atg.commerce.fulfillment.processor.ProcExtractOrderId
Transitions: Return value of 1 executes the loadOrder5
processor.
loadOrder5
This processor loads the order from the repository
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/LoadOrderRepository
PipelineProcessor object: atg.commerce.fulfillment.processor.ProcLoadOrderRepository
Transitions: Return value of 1 executes the handleModificationClassType2
processor.
handleModificationClassType2
This processor determines if the modifications listed in the ModifyOrder
message are valid. If so, it calls the appropriate processor chains. The only chain that will be called from this processor is performHardgoodTargetIdModification
.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/HandleModificationClassType
PipelineProcessor object: atg.commerce.pricing.processor.ProcSendScenarioEvent
Transitions: Return value of 1 executes the updateOrderRepository5
processor.
updateOrderRepository5
This processor updates the order in the repository with any changes that may have been made during the execution of this chain.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/UpdateOrderRepository
PipelineProcessor object: atg.commerce.fulfillment.processor.ProcUpdateOrderRepository
Transitions: Return value of 1 executes the sendModifyOrderNotification5
processor.
sendModifyOrderNotification5
This processor sends a ModifyOrderNotification
message with the list of modifications performed during the execution of this chain using JMS.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/SendModifyOrderNotification
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.