Class OrderRetransferCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, OrderRetransferCmd, Protectable,,,,,,

    public class OrderRetransferCmdImpl
    extends ControllerCommandImpl
    implements OrderRetransferCmd
    This is the default implementation of the OrderRetransferCmd controller command.


    It is invoked by the WebSphere Commerce scheduler. This class attempts to re-transfer the orders in 'fail to transfer' or 'pending on transfer' status to remote order management system for a given store.
    • It first searches out all the 'fail to transfer' orders. Then it searches out all the expired 'pending on transfer' orders and confirm them with the remote order management system to make sure whether they have already existed in remote order management system. If the pending order already existed in remote order management system, update the order status to 'successfully transferred'. For all the 'fail to transfer' orders and the orders which are still in 'pending on transfer' status, it calls TransferOrderIndependentOfEventCmd task command to re-transfer the order to remote order management system one by one.

    Task command called:

    • TransferOrderIndependentOfEventCmd
    See Also:
    Serialized Form