Dear All.
We got a requirement to read XI messageID dynamically and mapped it to one of the field at target side. Up on checking the SDN i found the below code to load messageID to a field.
java.util.Map map = container.getTransformationParameters();
String MSGID = (String)map.get(StreamTransformationConstants.MESSAGE_ID);
return MSGID;
In simple message mapping the code is working absolutly fine but the output am getting value"NULL" when i used the same message mapping in a BPM. is there any changes required in coding or is there any other way to follow to get MessageID.
Please suggest!