on 09-12-2008 2:04 PM
Hi All,
I am doing File to File , my requirement is to get message id of the message transformed in the target file,
i target a special field design to store the message id , How to map that eild to which field, any functions present in Xi.
regards,
radhika
Hi radhika,
Use UDF to get the message ID
getMessageId
public void getMessageId(ResultList result,Container container){
String headerField;
java.util.Map map;
// get runtime constant map
map = container.getTransformationParameters();
// get value of header field by using variable key
headerField = (String)map.get(StreamTransformationConstants.MESSAGE_ID);
result.addValue(headerField);
Regards,
Jayasimha jangam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.