To identify duplicate messages or trace back a message, the mapping of an XI message ID to an external message ID is saved. You can use the MessageIdMapper for the mapping.
More information: Transactions for the Asynchronous Sender Direction , Transactions for the Asynchronous Receiver Direction
Interface Overview
Characteristic | Value |
---|---|
Name |
AF utility service |
Purpose |
To create message ID mappings for checking duplicate entries and for tracking in the PMI |
Type |
Service in the facade com.sap.aii.af.svc.facade |
Technical name |
com.sap.aii.af.service.idmapi |
Certification |
Optional |
Syntax |
JavaDoc package com.sap.aii.af.service.idmap |
Open SPIManagedConnectionFactory.java and search for the character string CS_IDMAPINSERT.
SPIManagedConnectionFactory.java
If the XI message is created in the modules of the Adapter Framework, for example, you can use this mechanism. Generate the message ID in the adapter and specify it during instantiation of the XI message.
However, the mapping of the IDs must be executed in the adapter so that the procedure complies with the general strategy for using transactions.
callPMIAgentTRUE
More information: Connecting to PMI .