PaymentUpdateEventHandler
The PaymentUpdateEventHandler handles the PaymentUpdateEvent event.
The EXEC specification is
com.ibm.paydir.ima.txsvr.event.appbridge.PaymentUpdateEventHandler.
This event handler issues a Messaging API message on the JMS send queue after a transaction reaches a specified set of states and column values. A message is only sent when one of the specified states changes values but ALL of the states and columns that are specified in the stanza match the values in the database. If a parameter corresponds to a column in a database table, then that parameter determines whether a message is 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.
| Parameter name | Trigger | Type | Value | Description |
|---|---|---|---|---|
| state | Yes | String | The payment state name that triggers the event when changed. | The name of a payment state column names. For more information about using this
parameter, see Specifying Triggers. Specify the state parameter to process a PaymentUpdateEvent. |
| responseRequired | No | Boolean | Example values are shown in the following list.
|
This parameter indicates whether the event handler requires the target application to return a response to
complete the work in progress record in the service manager. When this parameter is true, the event handler
uses the The default value of the parameter is true. This parameter is not mandatory. |
| deleted | No | Boolean |
|
This parameter indicates whether a payment is logically deleted. If this parameter is specified, the value of the deleted column must correspond to this value for theMessaging API message to be sent. |
| presDeleted | No | Boolean |
|
This parameter indicates whether the batch (ICL) that a payment belongs to is logically
deleted. If this parameter is specified, the value of the pres_deleted column in the payment
table must correspond to this value for the Messaging API message to be sent. |
| inPaymentStandard | No | Short | N/A | This parameter is a comma-delimited list of inbound message standard values that cause the message to be sent for a transaction. Use the not indicator to cause the message to be sent when the transaction does not have this inbound message standard value. When the not indicator is used, only a single payment standard is specified. |
| inPaymentMsgType | No | Short | N/A | Specify a single inbound message type that causes the message to be sent for a
transaction. Use the not indicator to cause the message to be sent when the transaction
does not have this inbound message type. For more information about using the not indicator, see Specifying Value Modifiers and Special Values. |
| inPaymentSchemeId | No | String | Example values are shown in the following list:
|
A comma-delimited list of inbound payment scheme IDs. The values to use for this parameter are found in the Name column of the PAYMENT_SCHEME_TYPE table. |
| outPaymentStandard | No | Short | N/A | Specify a single outbound message standard value that causes the message to be sent for
a transaction. Use the not indicator to cause the message to be sent when the transaction
does not have this outbound message standard value. For more information about using the not indicator, see Specifying Value Modifiers and Special Values. |
| outPaymentMsgType | No | Short | N/A | Specify a single outbound message type that causes the message to be sent for a
transaction. Use the not indicator to cause the message to be sent when the transaction
does not have this outbound message type. For more information about using the not indicator, see Specifying Value Modifiers and Special Values. |
| outPaymentSchemeId | No | String | Example values are shown in the following list:
|
A comma-delimited list of outbound payment scheme IDs. The outbound payment scheme for a payment is the same as the payment scheme of the business day associated with the processing batch. The values to use for this parameter are found in the Name column of the PAYMENT_SCHEME_TYPE table. |
|
Note: The following list describes what the value in the trigger column means:
|
||||
Message contents
| Message part | Value | Description |
|---|---|---|
| Unit of Work | Transaction ID as a long | This value is used to locate the transaction in the database. |
| Payload | State | The name of the state that triggered the message. |
paymentReady msgType to Distribution to
indicate that an individual payment is now ready.Response processing
Any response from the target application is ignored.