cancel
Showing results for 
Search instead for 
Did you mean: 

obtain message id in receiver

Former Member
0 Kudos

Hello,

generally I'm trying to find out what is a message id for a message sent to given adapter. That is, there is custom adapter which works as receiver/outbound. However, I don't know how to get a message id of the sent message...

Maybe on receiver side something else should be done to get sent message?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181962
Active Contributor
0 Kudos

You can try this code in one of your Java modules of the custom adapter:

String constant;
java.util.Map map;
map = container.getTransformationParameters();
 
constant = (String) map.get(StreamTransformationConstants.MESSAGE_ID); 
return constant;

Regards,

Ravi