ScheduledPaymentExecStatesEventHandler
The ScheduledPaymentExecStatesEventHandler handles the ScheduledPaymentExecStateChange event.
EXEC specification:
com.ibm.paydir.ima.txsvr.event.appbridge.ScheduledPaymentExecStatesEventHandler
This event handler issues a Messaging API message on the JMS send queue when the ScheduledPaymentExecStateChange event occurs. If configured, a message is sent when scheduled payments or notifications need to be sent.
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 following table shows the additional event parameters for the scheduled payment state change event
handler.
| Parameter name | Trigger | Type | Value | Description |
|---|---|---|---|---|
| stateName | Yes | String |
|
The event handler sends the Messaging
API message when the state of the
scheduled payment processing changes to the state specified in this parameter. The states are described in the
following list.
|
| paymentSchema | String |
|
Indicates which payment schema that this scheduled payment event handler is for. | |
|
Note: The following list describes what the value in the trigger column means:
|
||||
Example handler XML
The following example XML shows a scheduledPaymentsExecStateChange Messaging
API message that
is sent on the FXH.TRANSSERVER.SCHEDPAY.QUEUE when a ScheduledPaymentExecStateChange event
occurs.
<EVENT>
<NAME>TCH - Scheduled Payments Initiation</NAME>
<TYPE>ScheduledPaymentExecStateChange</TYPE>
<EXEC>
com.ibm.paydir.ima.txsvr.event.appbridge.ScheduledPaymentExecStatesEventHandler
</EXEC>
<PARAMETER name="msgType">scheduledPaymentsExecStateChange</PARAMETER>
<PARAMETER name="stateName">STARTED</PARAMETER>
<PARAMETER name="paymentSchema">TCH</PARAMETER>
<PARAMETERREF>schedulerReferenceProperties</PARAMETERREF>
<PARAMETERREF>sendToTransactionServerSchedPay</PARAMETERREF>
</EVENT>