com.sap.aii.af.lib.mp.processor

Interface ModuleProcessor


public interface ModuleProcessor

The XI AF module processor controls the process flow among the XI AF modules. For XI AF adapters it represents the entry point of messages in case of sender/inbound channels. Internally it is used to call the MP for the receiver/outbound direction.


Method Summary
 ModuleData process(String objectKey, ModuleData inputModuleData)
          Analogous to the process() method of the module itself the module processor offers a process() method to inject new messages into the XI AF MP processing.
 

Method Detail

process

ModuleData process(String objectKey,
                   ModuleData inputModuleData)
                   throws ModuleProcessorException,
                          ModuleException
Analogous to the process() method of the module itself the module processor offers a process() method to inject new messages into the XI AF MP processing. The objectKey must be set to the channel ID that identfies the XI channel which processes this message. The following supplemenatl data may be placed in the inputmoduleData.

Parameters:
objectKey - Channel ID of the XI channel
inputModuleData - ModuleData container that wraps the (request) message and supplemental data
Returns:
outputModuleData ModuleData container that wraps the (response) message (if available) and supplemental data
Throws:
ModuleProcessorException - An exception thrown by the MP itself
ModuleException - An exception that was thrown by one of the included modules in the module chain


Copyright 2009 SAP AG Complete Copyright Notice