EasyManua.ls Logo

IBM BJ0NJML - Service And Asset Management - Processing Class; User Exit Postprocessing

IBM BJ0NJML - Service And Asset Management
330 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Outbound Customization
Integration Framework Customization with Java and XSL 217
T Change system data by changing the IR record to be sent to the
external system
T Stop the message from being saved in the database by throwing a
system exception. The entire message is rolled back, including any
changes you make in the application that initiated the event.
T Stop the message from being sent to the external system by throwing a
SKIP_TRANSACTION exception
T Log the transaction
Processing Class
If you use a provided adapter, the publish channel processing class contains the
processing logic. You can implement your code in the preprocessing or the second
postprocessing exit. If your customization is dependant upon the logic of the
adapter, you must implement your custom logic in the postprocessing or after exit
class.
If you create a publish channel, use the following method to customize the
publish channel processing class.
public StructureData setDataOut(StructureData sData)
The following method can perform the noted processes:
T Validate data
T Change system data by changing the IR record to be sent to the
external system
T Stop the transaction from being saved in the database by throwing a
system exception
T Stop the message from being sent to the external system by throwing a
SKIP_TRANSACTION exception
T Log the transaction
You identify the publish channel processing class on the Publish Channel tab in
the Publish Channels application.
User Exit Postprocessing
In the postprocessing method of the user exit, both the IR (XML from object
structure) and ER (XML output from the processing class) records are available
for processing. Use the following method to customize outbound messages.
public StructureData setUserValueOut(StructureData irData,
StructureData erData)

Table of Contents

Related product manuals