cancel
Showing results for 
Search instead for 
Did you mean: 

how to create dynamic file name with message id?

former_member270261
Participant
0 Kudos

Hi Experts,

i have received the requirement,

Dynamic file name with message id creating the target side.

source and target side used the JMS adapter used.

can you please help to reslove this issue.

Thanks

Narendra

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Hello Narendran,

Use the UDF code mentioned in the below link

va.util.Map map = container.getTransformationParameters();

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

return YourMessageID;

Answers (1)

Answers (1)

suchitatomar
Participant
0 Kudos

Hi Narendran,

Refer below link for similar type of requirement for different adapter so same approach you can follow

Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integr...

Regards

S Tomar