Transactions in the Asynchronous
Sender/Inbound Message Flow
In message processing in the sender/inbound direction, you execute the following steps.

An example is available for the first seven steps. Open SPIManagedConnectionFactory.java and search for the character string specified in the steps.
...
1. Module processor lookup and TransactionManagerlookup.
Character string: CS_TXMGR
2. Check whether the external message ID is already saved in the MessageIdMapper.
Character string: CS_IDMAPCHECK
3. Create the new inbound XI message object or at least the ID for the new XI message
Character string: CS_MSGCRE
4. Start a new LUW.
Character string: CS_LUWBEGIN
5. Call the module processor: The modules involved must not execute a commit for the LUW. However, they can produce exceptions in error situations.
Character string: CS_AFMPCALL
6. Use the MessageIDMapper to create a mapping between the external message ID and the XI message ID for the new sent message.
Character string: CS_IDMAPINSERT
7. Commit the LUW: The Adapter Framework messaging service queues and the message ID mapping are executed together. This means that the commit for the external protocol can be executed later. The check of the external message ID performed beforehand identifies any duplicate messages.
Character string: CS_LUWCOMMIT
8. Commit the processing of the external protocol, if it supports local transactions.
In the event of an error, the commit is not executed but a rollback of the LUW is performed.