TransmissionCreatedEventHandler
The TransmissionCreatedEventHandler handles the TransmissionCreated event.
EXEC specification:
com.ibm.paydir.ima.txsvr.event.appbridge.TransmissionCreatedEventHandler
This event handler issues a Messaging API message on the JMS send queue when a transmission that matches values specified in the event parameters is created. For example, specifying a value of Risk Engine for the clientApplicationName parameter causes the handler to put a message on the send queue when a transmission with that client application name is created. Transmissions created by other client application names are ignored.
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 | Trigger | Type | Value | Description |
|---|---|---|---|---|
| clientApplicationName | String | Risk Engine, for example | The name of the client application that created this transmission. For additional options available with this parameter, see Specifying Value Modifiers and Special Values. | |
|
Note: The following list describes what the value in the trigger column means:
|
||||
Message contents
| Message part | Value | Description |
|---|---|---|
| Unit of Work | Transmission ID as a long | This value is used to locate the transmission in the database. |
| Payload | The client application name and, optionally, the tracking ID of the expected event | The name of the client application that created the transmission. If an expected event record was generated when the transmission was created, the client application name is followed by a comma and then the tracking ID of the expected event. |
Response processing
Any response from the target application is ignored.
Example handler XML
<EVENT>
<NAME>Post Transmission Created to Services Framework</NAME>
<TYPE>TransmissionCreated</TYPE>
<EXEC>
com.ibm.paydir.ima.txsvr.event.appbridge.TransmissionCreatedEventHandler
</EXEC>
<PARAMETER name="msgType">transmissionCreated</PARAMETER>
<PARAMETER name="clientApplicationName">^Risk Engine</PARAMETER>
<PARAMETER name="sourceID">RISK-102</PARAMETER>
<PARAMETER name="destinationID">SERVICES-FRAMEWORK</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.SERVICESFRAMEWORK.INPUT.QUEUE</PARAMETER>
</EVENT>