cancel
Showing results for 
Search instead for 
Did you mean: 

Child Message ID in 1:N multimapping

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

samiullah_qureshi
Active Contributor
0 Kudos

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.

prateek
Active Contributor
0 Kudos

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