PresentmentGroupLoadedEventHandler
The PresentmentGroupLoadedEventHandler handles the PresentmentGroupState event.
EXEC specification:
com.ibm.paydir.ima.txsvr.event.appbridge.PresentmentGroupLoadedEventHandler
This event handler issues a Messaging API message on the JMS send queue for each batch (ICL) within the transmission whose state is not the state specified by the stateName parameter.
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.
| Parameter name | Type | Value | Description |
|---|---|---|---|
| stateName | String | One of the batch (ICL) states that can be used for triggers. | A single batch (ICL) state name. A message is sent for each batch (ICL) in the
transmission that is not in the specified state. Note:
|
Message contents
| Message part | Value | Description |
|---|---|---|
| Unit of Work | Batch (ICL) ID as a long | This value is used to locate the batch (ICL) in the database. |
| Payload | Contents specified in the ABSvcPayload |
The only payload delivered is the one specified using the ABSvcPayload event handler parameter as described in the general Messaging API event handler parameters. |
Response processing
Any response from the target application is ignored.
Example handler XML
When a batch (ICL) is loaded, Transaction Server determines if the batch (ICL) has any suspects for review. If not, the batch (ICL) is marked as reviewed. If suspects are available for review, the PresentmentGroupLoaded event in the sample XML causes a reviewSuspectImages message to be placed on a message queue. The message queue is specified by the jmsSendQueue element and should be the same queue on which the Suspect Image Review components listen for notifications.
<EVENT>
<NAME>Presentment Group Loaded Event</NAME>
<TYPE>PresentmentGroupLoaded</TYPE>
<EXEC>
com.ibm.paydir.ima.txsvr.event.appbridge.PresentmentGroupLoadedEventHandler
</EXEC>
<PARAMETER name="msgType">reviewSuspectImages</PARAMETER>
<PARAMETER name="stateName">REVIEWED</PARAMETER>
<PARAMETER name="sourceID">PDTXS-01</PARAMETER>
<PARAMETER name="destinationID">ImageReview0001</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">FXH.IMAGECOMPLIANCE.INPUT.QUEUE</PARAMETER>
<PARAMETER name="jmsReplyQueue">FXH.TRANSSERVER.INPUT.QUEUE</PARAMETER>
<PARAMETER name="ABSvcPayload">EXEC-REVIEW</PARAMETER>
</EVENT>