End-of-day processing
Transaction Server controls the end-of-day processing for the Gateway Server. Configure the Transaction Server scheduler to send the IBM® MQ messages for the inbound Gateway Server and the outbound Gateway Server. After you configure the Gateway Server to participate in the end-of-day processing, it must run the end-of-day check process and the end-of-day process.
Even though you configure to send separate IBM MQ messages to each type of Gateway Server, they try to process the end-of-day requests irrespective if they have access to file paths. If the inbound Gateway Server and the outbound Gateway Server are configured with correct inbound and outbound file paths, then they both try to delete these files.
After you configure the Gateway Server to participate in the end-of-day processing, it must run the end-of-day check process and the end-of-day process.
Run end-of-day check
If you request an end-of-day check for a business day and if any transmissions for that business day are in
the ERROR and PROCESSING states, then the end-of-day check fails.
Run end-of-day
When you run the end-of-day process, the following sub-processes run.
- The records that are older than the dupKeepDays are deleted from the Gateway Server duplicate detection tables.
- The transmissions that are older than keepDays are deleted from the following paths.
- eodCompletePath
- processedPath
- errorPath
- outEodCompletePath
- outProcessedPath
- outErrorPath
- The expired (older than the keepDays) Gateway Server file status records are deleted.
- The transmissions are moved from the processed to the
eodCompletePathstate for that business day. The status of the transmission is updated to indicate that the end-of-day process ran. - The transmissions are moved from the
outProcessedPathstate to theoutEodCompletePathstate for that business day. The file status is updated to indicate that the end-of-day process ran. - The transmissions that are older than keepDays are deleted from the following paths.
- dtaRcvFileTransmittalPath
- dtaSndFileTransmittalPath
- dtaProcessNotificationPath
- notificationMsgPath
- saMsgDir
- The expired trackable records (records older than the keepDays) are deleted.
- The Gateway Server incoming file processor threads partner cache information is cleared.
Configure Transaction Server, the inbound Gateway Server, and the outbound Gateway Server to participate in the end-of-day processing
- Define separate Transaction Server queues for the inbound Gateway Server and the
outbound Gateway Server in the Transaction Server
scheduler.
<PARAMETERSET name="sendToInbGatewayServerEOD"> <PARAMETER name="destinationID">Gateway</PARAMETER> <PARAMETER name="jmsSendQueue">FXH.GATEWAY.INB.EOD.QUEUE</PARAMETER> </PARAMETERSET> <PARAMETERSET name="sendToOutbGatewayServerEOD"> <PARAMETER name="destinationID">Gateway</PARAMETER> <PARAMETER name="jmsSendQueue">FXH.GATEWAY.OUTB.EOD.QUEUE</PARAMETER> </PARAMETERSET> - Configure the
EndOfDayCheckevent to send message to the inbound Gateway Server and the outbound Gateway Server.<EVENT> <NAME>Business Day End of Day for Check</NAME> <TYPE>EndOfDayCheck</TYPE> <EXEC>com.ibm.paydir.ima.txsvr.event.appbridge.EndOfDayCheckEventHandler</EXEC> <PARAMETER name="schemeId">Check</PARAMETER> <PARAMETER name="msgType">endOfDayCheck</PARAMETER> <PARAMETER name="jmsReplyTimeout">240000</PARAMETER> <PARAMETERREF>schedulerReferenceProperties</PARAMETERREF> <PARAMETER name="target#">sendToDistribution</PARAMETER> <PARAMETER name="target#">sendToServicesFramework</PARAMETER> <PARAMETER name="target#">sendToInbGatewayServerEOD</PARAMETER> <PARAMETER name="target#">sendToOutbGatewayServerEOD</PARAMETER> <PARAMETER name="target#" include="SETTLEMENT">sendToSettlement</PARAMETER> <PARAMETER name="target#" include="TCR">sendToTCR</PARAMETER> <PARAMETER name="target#">sendToAdjustment</PARAMETER> <PARAMETERREF>syncReplyQueue</PARAMETERREF></EVENT> - To process the end-of-day messages, configure the inbound Gateway Server and the outbound
Gateway Server to listen to the appropriate IBM MQ queue.
Inbound Gateway Server
endOfDayMQListnerName = LISTENER.EOD endOfDayMQReceiveQueue = FXH.GATEWAY.INB.EOD.QUEUE endOfDayMQErrorQueue = FXH.GATEWAY.INB.EOD.BACKOUT.QUEUEOutbound Gateway Server
endOfDayMQListnerName = LISTENER.EOD endOfDayMQReceiveQueue = FXH.GATEWAY.OUTB.EOD.QUEUE endOfDayMQErrorQueue = FXH.GATEWAY.OUTB.EOD.BACKOUT.QUEUE