cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter

Former Member
0 Kudos

Hi,

My scenario is, I've configured a file adapter with server, port, source directory and the rest all.

But my problem is i need to look for the data from four different source directories with the same server and port.(as the data will be polled in four different directories)

Is it a good idea to configure four different file adapters with four different source directories or elase any other easy way to resolve this?

Cheers,

smith

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Paul,

You just need one file adapter for this,

In your Sender Comm channel, select Advanced selection for source file, add four rows and give all the directories and file names, leave Exclusion mask as blank.

In your souce Directory give any one of the directories and file name as <nothing> as these are mandatory fields.

Have a look at this blog

/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter

Regards,

Sreenivas Nettem

Message was edited by:

Sreenivas Nettem

Answers (4)

Answers (4)

Former Member
0 Kudos

I've just follwed this thread....

/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter

and it worked for me.

Cheers!!!

Former Member
0 Kudos

Thanks for your response.

I've solved my problem.

Cheers,

Smith

Former Member
0 Kudos

would you pleae give the solution. share it to all of us

thanks for your cooperation

Kevin

Former Member
0 Kudos

Hi paul,

If huge amount of data is to be picked up from the source side....then from the performance point of view..it is recommended....that you divide it in different..directories.....

Because if a file adapter instance (File communication channel) is reading from a directory...it locks it for that time and then that directory is not available for any other channel.

So if the source data is split and kept in form of files in multiple directories at the source side..and we will...have multiple channels polling to respective directories...This will increase the performance of the Scenario

Refer this....

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/423f5046-0a01-0010-2698-b2dc7c3185f1">SAP NetWeaver Process Integration Tuning Guide</a>

*Reward points if Helpful*

Regards,

Sushil.

Shabarish_Nair
Active Contributor
0 Kudos

<i>Is it a good idea to configure four different file adapters with four different source directories or elase any other easy way to resolve this?</i>

>>

you will require to configure 4 diff. file adapters.Right now there is no way to resolve this.