cancel
Showing results for 
Search instead for 
Did you mean: 

Get message Id of incoming message

former_member185171
Participant
0 Kudos

Hi,

there are ways to pick up the Id of an outgoing message you have sent using a protocol.

We would like to have the Message Id of an incoming message - in our case the confirmation message in an asynchonous scenario. Are there any ways to obtain this using any classes or some other way ?

Thanks a lot in advance.

Kris

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

See this thread:

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

The following code is used to get the message ID:

UDF is of type value, there are no arguments

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

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

return MSGID;

Hope this helps,