faqts : Computers : Integration : BizTalkServer2004

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

When write a file using File Adapter, how is it locked?

Apr 6th, 2005 22:34
Balaji Ramachandran, http://www.netologi.se/default.aspx?Contents=BizTalkFAQ


When the file adapter write a file to disk it places an exclusive lock 
on the first byte, to prevent two BizTalk systems from trying to write 
at the same time. However, if you lock a range outside of the first 
byte, it will succeed. 
This means that if another application is reading files in the same 
folder you need to ensure that the application only read files that it 
has exclusive access to/lock on.