Cancel batch request
Transaction Server must be configured to send a cancel batch request to Amount Keying. Whenever a batch or transmission is canceled, the Transaction Server sends a cancel batch request message to the WebSphere® MQ queue on which Amount Keying is configured to listen.
Sample scheduler XML
Configure a PresentmentColumnChange event in the Transaction Server to send a cancelBatch message to Amount Keying. For more information about configuring the Transaction Server scheduler, see Events and communication with external applications.
The example scheduler XML shows the cancel batch PresentmentColumnChange event.
<EVENT>
<NAME>Amount Keying - Canceled Batch</NAME>
<TYPE>PresentmentColumnChange</TYPE>
<EXEC>
com.ibm.paydir.ima.txsvr.event.appbridge.PresentmentStatesEventHandler
</EXEC>
<PARAMETER name="msgType">cancelBatch</PARAMETER>
<PARAMETER name="group.condition"></PARAMETER>
<PARAMETER name="condition">canceled</PARAMETER>
<PARAMETER name="group.sourceId">2</PARAMETER>
<PARAMETERREF>schedulerReferenceProperties</PARAMETERREF>
<PARAMETERREF>sendToAmountKeying</PARAMETERREF>
</EVENT>