restoreDeadMessage() Method Purpose This method can be used to restore a dead message to the queue from which it came. Type Synchronous, IMPACT_INFO. Arguments Name Type Description MessageID String The message ID of the message you want to restore. Specify All to restore all dead messages. For Oracle and DB2 only: QueueID String The ID of the queue to which dead messages will be restored. For SQL Server Only: ProcessName A logical process name. This parameter specifies the resource process from which the dead messages came. ToQueueID The Destination Queue ID - the ID of the queue to which you wish to restore the message. This queue must be hosted by the process specified by ProcessName. Returns Name Type Description AffectedNum Integer The number of dead messages that have been restored successfully. Errors Error Code Error Message ERR_PMAMI_PARAM If you enter an invalid QueueID, the interface returns an error similar to the following: Failed to open queue queue id:iProcess error code