You can define the behavior of an active Java transformation when it receives a transaction notification. Define the transaction notification behavior in the On Receiving Transaction section of the Java editor.
The code snippet in the On Receiving Transaction section is only executed if the Transaction Scope for the transformation is set to Transaction. You cannot access or set the value of input field variables in this section.
Access and use the following output data, variables, and methods from the On Receiving Transaction section:
Output field variables
Use the names of output fields as variables to access or set output data.
User-defined methods
Use any iuser-defined method that you declare in the Helper Code section.
Java transformation API methods
Call API methods provided by the Java transformation.