cancel
Showing results for 
Search instead for 
Did you mean: 

setting messageId in File Adapter

Former Member
0 Kudos

Hi all,

I am trying to set the message Id in the file adapter, does somebody know it is possible?

I tried with DynamicConfigurationBean, but while i'm able to set other header values (like correlationId or interface name), it is not modifying the message ID at all, even when in the adapter log I see

"property message.messageId from key (http://sap.com/xi/XI/System/File)FileName with value EBSP_20090214_090130"

If i test reading from message.messageId I get the id generated by XI, but when I write it is not changed...

I want to use the file name as ID, it is already an unique identifier in the sender system and it would be great to use this ID in XI too...

I am using XI 3.0 SP19.

any ideas?

thanks!!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nicholas,

Did you place this module before the adapter module for the file adapter.

You might want to have a look at this

[http://help.sap.com/saphelp_nw70/helpdata/en/45/da2239feb22e98e10000000a155369/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/45/da2239feb22e98e10000000a155369/frameset.htm]

Regards,

Akshay

Former Member
0 Kudos

Hi Akshay, yes it is placed before the adapter module...

I had already read that help...

Nicolas

Former Member
0 Kudos

Hi,

Have you configured the "Adapter-Specific Message Attributes" ans checked "File Name" ?

Former Member
0 Kudos

yes I have. I already was able to move the filename value to another header fields, but no luck with the messagId in particular...

Former Member
0 Kudos

Hey

You can not change Message ID within XI.Its auto generated

Thanks

Aamir

Former Member
0 Kudos

Hi Aamir,

I do know it is possible to set the message Id in XI when using other adapters, i just dont know if it is possible with the file adapter... thanks anyway.

Nicolas