on 05-11-2009 10:50 PM
Hi friends,
I have a scenario in which am creating 1:N messages.Everything is perfectly working.
When i check the message in Message Monitoring in the trace log i can find the
Message ID of the message and when i check in the Technical routing payloads, i can see the different MessageIDs for the created target message.
Assume, 1:3 messages are getting generated then
If the Main MesageID is =A then for the generated taget message i can see the 3 different MessageIDs.
My question is how can i populate the message IDs of the target message in the map..IS it possible to do that?
I can populate the main message ID by using below code
java.util.Map map = container.getTransformationParameters();
// Message ID for this message
String sMessageID = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
But i wanted the message IDs of the target messages to be populated in map, Is there a way to do that?
Thanks and Regards
Venkatesh
Target messsages will be generated(with some message ID) after the completion of your mapping execution.So I think you can not get the message Id in the message mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not possible by any standard means. You can only have one single value in the header and that will be the source value here.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.