endOfDayCheck

When the Risk Management engine receives the endOfDayCheck message, it checks if there are any batches (ICLs) or transactions for the specified business day that still need to be reviewed by the risk operator. When there are batches (ICLs) or transactions that still need to be reviewed, the Risk Management engine informs the Transaction Server that end of day processing cannot be done, unless the force option was specified. The endOfDayCheck message is sent when the Transaction Server has received a request for an end of day query or end of day exec. The EndOfDayCheckEventHandler class found in the Transaction Server sends out the proper endOfDayCheck message. The Transaction Server is normally configured to send the endOfDayCheck message to multiple components at once. For more information about adding Risk Management to the list of components receiving the end of day message at the same time, see EndOfDayCheckEventHandler.

For serial end of day processing, configure the Transaction Server to send the Risk Management engine an endOfDayCheck message when it is running end of day for a business day by configuring an EndOfDayCheck event in the Scheduler.xml file:
<EVENT>
   <NAME>Risk Management Profile - End-of-Day Check</NAME>
   <TYPE>EndOfDayCheck</TYPE>
   <EXEC>
      com.ibm.paydir.ima.txsvr.event.appbridge.EndOfDayCheckEventHandler
   </EXEC>
   <PARAMETER name="msgType">endOfDayCheck</PARAMETER>
   <PARAMETERREF>schedulerReferenceProperties</PARAMETERREF>
   <PARAMETERREF>sendToRiskManagement</PARAMETERREF>
   <PARAMETERREF>syncReplyQueue</PARAMETERREF>
</EVENT>
Configure the event in the scheduler XML file so the class is called when the event occurs. The class name is:
com.ibm.paydir.ima.txsvr.event.appbridge.EndOfDayCheckEventHandler
The EndOfDayCheckEventHandler class creates the endOfDayCheck message that is sent to the Risk Management engine. The msgType parameter must be set to endOfDayCheck. The PARAMETERREF elements refer to parameter sets defined elsewhere in the scheduler XML file that define the properties necessary for sending a message to the Risk Management engine. For more information about using parameter sets, see Parameter sets in the scheduler.
Note: Using the jmsPriority parameter for the EndOfDayCheck event is recommended so the endOfDayCheck message is delivered to Risk Management faster. If the jmsPriority parameter is used, set the message delivery sequence property to priority, not FIFO, for the FXH.RISK.INPUT.QUEUE.