Duplicate Detect Cancel Batch
If using the Transaction Server to send items to Duplicate
Detect, configure
the Transaction Server to send a cancelBatch message to Duplicate
Detect to
remove any units of work from the Duplicate
Detect database for any batch being canceled.
The Transaction Server scheduler XML must be configured to send the cancelBatch message to
Duplicate
Detect:
<EVENT>
<NAME>Duplicate Detect - Canceled Batch</NAME>
<TYPE>PresentmentColumnChange</TYPE>
<EXEC>com.ibm.paydir.ima.txsvr.event.appbridge.PresentmentStatesEventHandler</EXEC>
<PARAMETER name="msgType">cancelBatch</PARAMETER>
<PARAMETER name="condition">canceled</PARAMETER>
<PARAMETER name="ABSvcPayload">DUP_PAYMENT</PARAMETER>
<PARAMETER name="presLevel">PROC</PARAMETER>
<PARAMETERREF>schedulerReferenceProperties</PARAMETERREF>
<PARAMETERREF>sendToDuplicateDetect</PARAMETERREF>
</EVENT>where, - NAME
- A user defined name given to the event stanza
- TYPE
- Type of event. It must be PresentmentColumnChange.
- EXEC
- Name of the event handler to process the event. It must be entered exactly as shown.
- PARAMETER name="msgType"
- Type of message to send to Duplicate Detect. It must be entered exactly as shown.
- PARAMETER name="condition"
- The status of the batch that causes this event to occur. It must be entered exactly as shown.
- PARAMETER name="ABSvcPayload"
- Name of the payload sent with the message. For the cancel batch message, this should be the name of the namespace from which to cancel the batch (ICL).
- PARAMETER name="presLevel"
- The type of batch that is being canceled.
When the cancel batch message is received, Duplicate Detect searches for all units of work with the specified batch (ICL) identifier and removes all data from the unit of work, details, and duplicate tables.