FileTrackingEventHandler
The FileTrackingEventHandler handles the FileTrackingStateChange event. This event only occurs when the released or transmitted states in the file_tracking table are changed.
EXEC specification: com.ibm.paydir.ima.txsvr.event.appbridge.FileTrackingEventHandler
This event handler issues a Messaging API message on the JMS send queue when a file tracking entry reaches a specified state configuration and all the other criteria specified is met.
Event parameters
This event handler uses the general Messaging API event handler parameters and parameters that are specific to the event. Event parameters are specified in the Scheduler.xml file. The parameters correspond to columns in the file_tracking table.
| Parameter name | Trigger | Type | Value | Description |
|---|---|---|---|---|
| states | Yes | String |
|
A comma delimited list of file tracking state column names. This parameter is required. |
| processName | No | String | User defined | A comma delimited set of file tracking process names. This parameter is optional. |
| uowType | No | String |
|
A comma delimited set of unit of work type codes. This parameter is optional. |
| triggerType | No | String |
|
A comma delimited set of trigger type codes. This parameter is optional. |
|
Note: The following list describes what the value in the trigger column means:
|
||||
Message contents
| Message part | Value | Description |
|---|---|---|
| Unit of Work | File Tracking Entry ID as a long | This value is used to locate the file tracking entry in the database. |
| Payload |
|
The name of the file tracking state that changed in order to trigger this event. |
Response processing
A response is required only if the file tracking entry that changed has a business day associated with it. Responses for all other file tracking entries are ignored.
Example handler XML
<EVENT>
<NAME>File Tracking Entry Released</NAME>
<TYPE>FileTrackingStateChange</TYPE>
<EXEC>
com.ibm.paydir.ima.txsvr.event.appbridge.FileTrackingEventHandler
</EXEC>
<PARAMETER name="msgType">fileReleased</PARAMETER>
<PARAMETER name="states">RELEASED</PARAMETER>
<PARAMETER name="uowType">PRESENTMENT_ID</PARAMETER>
<PARAMETER name="triggerType">EVENT,MANUAL</PARAMETER>
<PARAMETER name="destinationID">File Tracking Services</PARAMETER>
<PARAMETER name="jmsQmgrHostname">localhost</PARAMETER>
<PARAMETER name="jmsQmgrChannel">SYSTEM.DEF.SVRCONN</PARAMETER>
<PARAMETER name="jmsQmgrPort">1414</PARAMETER>
<PARAMETER name="jmsClient">true</PARAMETER>
<PARAMETER name="jmsQmgrName">FTM.QMANAGER</PARAMETER>
<PARAMETER name="jmsSendQueue">FILE_TRACKING.QUEUE</PARAMETER>
</EVENT>