Business object processing on inbound transactions
The user exit class on an enterprise service has an additional method, setUserMboIn, that enables custom processing at the point when the business objects are created from object structure XML, but are not yet saved to the database.
This user exit is called after the system processing and can run on the objects that are created in the system by using the following method:
public void setUserMboIn(MboRemote mbo)
The object parameter is a reference to a primary object in the object structure.
This method is called once for the primary object. For an XML transaction with multiple nouns, the object exit is called once for each noun.
The method can perform the following processes:
- Validate data.
- Stop the transaction from being saved in the system by throwing a system exception. For queue-based messages, the transaction remains in the queue and is retried.
- Log the transaction.
You identify the user exit class in the Enterprise Services application.