public interface Module
ModuleProcessor
interface. If an
adapter calls the XI AF MP it has to use the ejb remote or local ModuleProcessor
interface
to feed a message into the ModuleProcessorBean
.Modifier and Type | Field and Description |
---|---|
static char |
MODULE_TYPE_CLASS
indicates a module that is a class.
|
static char |
MODULE_TYPE_LOCALBEAN
indicates a module that is a local bean.
|
static char |
MODULE_TYPE_REMOTEBEAN
indicates a module that is a remote bean.
|
Modifier and Type | Method and Description |
---|---|
ModuleData |
process(ModuleContext moduleContext,
ModuleData inputModuleData)
The
process() method is called by the XI AF ModuleProcessor (MP) with the
input message data and the context information. |
static final char MODULE_TYPE_LOCALBEAN
static final char MODULE_TYPE_REMOTEBEAN
static final char MODULE_TYPE_CLASS
ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException
process()
method is called by the XI AF ModuleProcessor (MP) with the
input message data and the context information. The module should
return the updated or enriched ModulData
, which is forwarded to the
next module by the XI AF MP. Modules are successively called by the MP until there
are no more Modules or an exception is thrown by one of the Module. If an exception
is thrown, the onFault() method of the preceeding SModules are caled in the reverse order until there are
no more SModules or the pivotting Module (any Module that sets module parameter
mp.pivot to true) is reached.moduleContext
- The module context contains configuration data and other basic data such as channel IDinputModuleData
- Contains the message data as arbitrary type and evtentually further supplement dataModuleException
- Raised when the module ends in a error condition. Cause should be set to XI AF MS MessagingException
or RecoveryException depending on required retry behavior.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.lib.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice