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

Integration guide
Table of Contents

Advertisement

Inbound Customization

Enterprise Service Processing Class

User Exit Postprocessing

226
Stop further processing of the transaction by throwing an exception
In this case, the transaction remains in the queue to be retried.
Stop the message from being sent to the external system by throwing a
skip_transaction exception
In this case, the message is not saved in the system; the message is
removed from the queue.
Log the transaction
You identify the interface user exit class on the Enterprise Service tab in the
Enterprise Services application.
If you use a provided adapter, the enterprise service processing class contains the
processing logic. You must implement your code in the first or second user exit.
If you create an enterprise service, customization can be done in the enterprise
service processing class by using the following method:
public StructureData setDataIn(StructureData sData)
This method can perform the following processes:
Validate data
Change external data by changing the ER record before it is mapped to
the IR record and saved in the system
Stop further processing of the transaction throwing an exception. In
this case the transaction remains in the queue to be retried
Stop the message from being processed into the system by throwing
skip_transaction exception
In this case, the message is not saved in the system; the message is
removed from the queue.
Log the transaction
You identify the interface processing class on the Enterprise Service tab in the
Enterprise Services application.
In the second exit, both the IR and ER are available for processing. Inbound
transaction customization can be done in the second exit using the following
method:
public StructureData setUserValueIn(StructureData irData,
StructureData erData)
Integration Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents