Created
December 22, 2015 16:36
-
-
Save SriniBlog/2a5880590f7e8e0ded80 to your computer and use it in GitHub Desktop.
This method is used in SAP PI Mapping UDF to read the message ID
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public String getMessageID(Container container) throws StreamTransformationException{ | |
String messageID = ""; | |
java.util.Map map = container.getTransformationParameters(); | |
messageID = (String) map.get( StreamTransformationConstants.MESSAGE_ID); | |
return messageID; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this code returns wrong message id, please give your suggestions.