Cancel Batch Request

Transaction Server must be configured to send a cancel batch request to Payment Repair. Whenever a batch or transmission is canceled, the Transaction Server sends a cancel batch request message to the WebSphere® MQ queue on which Payment Repair is configured to listen.

Sample scheduler XML

Configure a PresentmentColumnChange event in the Transaction Server to send a cancelBatch message to Payment Repair. 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>Payment Repair - Cancel 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="presLevel">PROC</PARAMETER>
   <PARAMETERREF>schedulerReferenceProperties</PARAMETERREF>
   <PARAMETERREF>sendToPaymentRepair</PARAMETERREF>
</EVENT>