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

Integration guide
Table of Contents

Advertisement

Processing Class

User Exit Postprocessing

Integration Framework Customization with Java and XSL
Change system data by changing the IR record to be sent to the
external system
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.
Stop the message from being sent to the external system by throwing a
SKIP_TRANSACTION exception
Log the transaction
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:
Validate data
Change system data by changing the IR record to be sent to the
external system
Stop the transaction from being saved in the database by throwing a
system exception
Stop the message from being sent to the external system by throwing a
SKIP_TRANSACTION exception
Log the transaction
You identify the publish channel processing class on the Publish Channel tab in
the Publish Channels application.
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)
Outbound Customization
217

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents