Class ResendMsgCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, ResendMsgCmd, Protectable, ToolsControllerCommand,,,,,,

    public class ResendMsgCmdImpl
    implements ResendMsgCmd
    ResendMsgCmdImpl is the default implementation of ResendMsgCmd. This command is used to send messages from either the MSGARCHIVE or MSGSTORE table.
    See Also:
    Serialized Form
    • Field Detail


        public static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ResendMsgCmdImpl

        public ResendMsgCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        /** The business logic of this command.

        Its execution is based on the mode, 0 or 1. If the mode is 0, this command retrieves and assembles the messaging objects found in MSGARCHIVE table. Otherwise, it will do the same job on the MSGSTORE table. The sending operation is sendTransacted.

        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        performExecute in class AbstractECTargetableCommand
      • validateParameters

        public void validateParameters()
                                throws ECException
        ControllerCommandImpl calls checkParameter in its performExecute. It is the responsibility of the command writers to implements this method if they want to perform server side parameter checking. They should either call checkParameters inside their performExecute or call super.performExecute() as the first statement in the performExecute method.

        Required parameters:

        • transport_id
        • msg_id
        • mode
        Specified by:
        validateParameters in interface ECCommand
        validateParameters in class AbstractECTargetableCommand
        ECException - Raised with ERR_CMD_MISSING_PARAM when the needed parameters cannot be found in the request properties.