IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

File Locking issue using File IO adapter

  • 1.  File Locking issue using File IO adapter

    Posted Thu September 19, 2002 01:53 PM

    Hi,

       Here i would like to address some regular issues with file resources and File I/o Adapter . 
    
    1. When a document arrives to ES broker i want append a string to a file which another application might be reading at regular intervals . here i would to check weather the file is locked(reading) by another application,if locked i need to wait untill the completion of reading and append the record string eventually - How ?

    What might be the condition to check the file locks ?

    On other way round i would like to pool for a file modification (which can be modified at regular inetervals by other application ) 
    

    and pubilsh a document into ES broker . how to check the file is locked by another application for write when pooling ?

    1. The other scenario where i need to create a file everyday as fileyymmdd.txt and append a record for all the subscribed documents arrives in ES broker in that day . How can i change the file name every day .

       solution  : may this we can solve by pass the file name to append or create from integration script by preparing the string of file name with current date . 
      
      
      please post your comments regarding the above issues which we normally face in real time scenarios . 
      

    thanks & regards

    murali


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker
    #broker


  • 2.  RE: File Locking issue using File IO adapter

    Posted Mon September 23, 2002 02:09 PM

    Hi

    any body can explain how to deal the file locking issue using File I/O adapter .

    thanks & regards

    murali


    #Universal-Messaging-Broker
    #broker
    #Integration-Server-and-ESB
    #webMethods