Hi,
is it possible to create our custom defined operations to operate on the received messages ?
For example, consider this scenario:
- For all messages received into SAP XI, I want to log the Message Interface name and Sender Service name in a database table.
Can someone suggest some creative ideas how this could be accomplished in XI ? Thanks.
Hi,
Its possible to retrieve all the following values:
CONVERSATION_ID
DIRECTION
DIRECTION_FAULT
DIRECTION_REQUEST
DIRECTION_RESPONSE
INTERFACE
INTERFACE_NAMESPACE
MAPPING_TRACE
MESSAGE_CLASS
MESSAGE_ID
PROCESSING_MODE
RECEIVER_NAME
RECEIVER_NAMESPACE
RECEIVER_PARTY
RECEIVER_PARTY_AGENCY
RECEIVER_PARTY_SCHEME
RECEIVER_SERVICE
RECEIVER_SYSTEM
REF_TO_MESSAGE_ID
SENDER_NAME
SENDER_NAMESPACE
SENDER_SERVICE
SENDER_SYSTEM
TIME_SENT
VERSION_MAJOR
VERSION_MINOR
using the following packages:
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationConstants;
import com.sap.aii.mapping.api.StreamTransformationException;
You can write a Java mapping to retrieve and utilize these values.
Regards,
Sridhar
Add a comment