cancel
Showing results for 
Search instead for 
Did you mean: 

Message_ID in Mapping when two source

Former Member
0 Kudos

Hello,

I need obtain the Message_ID in message mapping.

I am using the UDF:

String MessageID;

java.util.Map param = container.getTransformationParameters();

MessageID = (String) param.get (StreamTransformationConstants.MESSAGE_ID);

return MessageID;

However fails.

Same UDF I am using in the other mapping and working properly.

I think the problem is that in this mapping, I have two message source and one message target. I guess I do not know which of the two source messages should return the ID. Me it either.

SourceMessage1               TargetMessage

                                                  ID

SourceMessage2

How I can do?

Thanks and regards,

Silvia

Accepted Solutions (0)

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Silvia,

i think you are using BPM?

Michal's blog: XI: How to... retrieve MESSAGE_ID from a BPM is explaining the issue.

Regards,

Udo

Former Member
0 Kudos

Thanks Udo,

The problem is not in use in the BPM, indeed in other interfaces (using BPM) works.