Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Message ID

Hi Experts,

How to extract the message ID from the Message monitoring and send it to the receiver side, as my scenario is file to file in the receiver file i need to send message id to one field in the receiver, how can i fulfill my requirement

regards,

rakesh

replied

Hi

use udf.

getMessageId

public void getMessageId(ResultList result,Container container){

String headerField;

java.util.Map map;

// get runtime constant map

map = container.getTransformationParameters();

// get value of header field by using variable key

headerField = (String)map.get(StreamTransformationConstants.MESSAGE_ID);

result.addValue(headerField);

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question