on 2007 Jul 12 8:55 AM
When i read Tuing Document, found question about File Adapter.
"
File Adapter
You configure File adapter sender channels by specifying one directory where files are located. <b><u>To guarantee Exactly-Once processing of files, multiple J2EE server nodes are synchronized using enqueue locks when accessing this directory</u></b>. Therefore, adding J2EE server nodes will not improve the performance of such a scenario. To get a higher degree of parallelism and increase throughput, you can split the files to be processed into different directories. You can then set up several File adapter sender channels to process these files in parallel.
"
so is that means "XI has locked the directory"?
and so we must do separate each directory for a file. is it right?
Hehe.. who know the File Adapter mechanism?
I wish yours smart answer.. bye
<i>so is that means "XI has locked the directory"?</i>
XI locks it when it is actully accessing the file
<i>and so we must do separate each directory for a file. is it right?</i>
Only if u need parallel processing.
Otherwise in normal scenario, one directory could be used.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>Hi,</b>
Yep thatz right Same Directory can be used by only 1 adapter at a particular point of processing. If you check the adapter configuration of file adapter in PI 7.0 as a receiver you can aslo control the number of messages that can be processed at a point of time *concurrency and can specify the size of file etc...
Cheers
<b>*RAJ*
*REWARD POINT IF FOUND USEFULL*</b>
well
"XI has locked the directory"
if you are referring to file level locking mechanism as is possible in Unix etc, I am afraid this is not the case with XI file adapter, having written in Java. Java lacks this feature till the 1.4 version of it and that what is in use in all stable versions of XI.
the statement probably tried to tell you that even though there are multiple J2EE server nodes, the thread safe features i.e. synchronized access makes it sure that at one point of time only one thread processes it and thats it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.