cancel
Showing results for 
Search instead for 
Did you mean: 

adapter

Former Member
0 Kudos

Hi,

what is the role of adapter specific msg attributes ?Pls explain with example

Regards,

somenath

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

Hi somenath,

These informations such as

1.File Name

2.File Size

3.Source Directory

4.File Type

are there in the Dynamic configuration payload.

Scenario.

1. Consider u need to store the file name in one of the field in the target message then u need to get the file name from the source, this can be done by selecting the adapter specific message attribute.

Have a look at this thread for my reply which solved an similar problem

2. If u need to check and route the file receiver based on the source FileType/ Directory u can acheive this, bu selecting this option and using the context object in the receiver determination.

Regards

San

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi somenath,

After SP 14 this facility is incorporated in File adapter.using adapter specific msg attributes u can pass the following information to message(SOAP message) File adapter send to XI.these are

1)File name

2)Directory name(the directory name where source file is residing)

3)File type(.txt/.xml/.csv or what ever)

4)Source file size( size of file Xi gonna pick)

5)Source File timeStamp(the time at which source file is picked up will be included)

remember if u r using the <b>adapter specific msg attributes</b> in sender adapter...u have to tell that in the reciver adpater also.....

u can see in SXMB_MONI under <b>dynamic configuration</b>..in the inbound message(thats coming from XI to reciver). this new elements are created..in the message!!

check this blog..

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

regards

biplab

Former Member
0 Kudos

Hi,

See this link

We use Adapter Spceific Attibutes to assign the logical system and others for ALE .

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

**Reward points if helpfull**

santhosh_kumarv
Active Contributor
0 Kudos

Hi Somenath,

Adapter Specific message attributes are used to pass attributes such as..

1.File Name

2.File Size

3.Source Directory

4.File Type

to the payload.

<a href="/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14: The same filename from a sender to a receiver file adapter - SP14</a> By Michal Krawczyk

Regards

San