Show TOC

Message Flow from the SenderLocate this document in the navigation structure

Use

The graphic shows the message flow from the sender to the Integration Server.

Features

The message flow from the sender system to the Integration Server/PCK involves the following steps:

  • A message from an external system is transferred to the JCA resource adapter (JCA RA).
  • The JCA resource adapter either calls the module processor of the Adapter Framework (AF MP) directly or it calls its own conversion Enterprise JavaBeans first.
  • In any event, the message must go through the module processor to ensure that the module interfaces are taken into account.

    The module processor can be created using the ModuleProcessorFactory.getModuleProcessor()method. It provides an implementation of the ModuleProcessor interface, which uses the process() method to receive messages.

    More information: Adapter-Framework Module Interfaces

  • You can also use adapter-specific Adapter Framework modules, either before or after message transfer to the Adapter Framework messaging service (XI AF MS).

    The Adapter Framework provides the module CallSapAdapter for transferring a message to the messaging service. This module should always be in the module chain in sender channels. Before this module is called, the adapter or its modules must convert the message to a Java object that implements the XI message interface.

    Note

    Use the Adapter Framework message factory to create XI messages.

  • Finally, the Adapter Framework messaging service (AF MS) receives the message and saves it (if it is sent asynchronously) or sends a response message (if it is transferred synchronously). Adapter-specific modules can be called on the way back to the JCA resource adapter.