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
  • 1.  File timestamp issue

    Posted Mon November 03, 2003 02:14 PM

    Hi all,

    webMethods Enterprise Integrator V4.6

    I am polling for a file using the File IO adapter. Almost everything works fine, except the filename that I receive has a timestamp appended to it. It looks more like the working filename whereas I need the original filename.

    I have NOT checked the append timestamp checkbox.

    Does anyone know if I’m doing something wrong ?

    Any help would be great.
    Thanks
    Rax


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


  • 2.  RE: File timestamp issue

    Posted Mon April 19, 2004 11:02 AM

    Hello Rax,

    we are experiencing the same problem using wM Enterprise Integrator and V4.2 File IO adapter.

    The append timestamp checkbox is not checked but the output looks like the working file name. The behavior is only in production.

    Any help would be really appreciated.
    Thx
    Franziska


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


  • 3.  RE: File timestamp issue

    Posted Thu April 22, 2004 05:01 PM

    Hello,

    I am not sure any fix is available for this. I could not find in advantage.

    However, the best practice is not to poll the data file directly. Instead of having one polling directory separately and put a small empty polling.txt file after the data file is being exported to the data directory. Once the polling is completed a file read operation can be configured to read the data file. In this case the polling file can have time stamp.

    This solved one more big issue that in case the data file is too large, the file poll ommits the half data and moves the file into completion with partial read.

    Hope this helps.

    Thanks,
    Jeyaraman R


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


  • 4.  RE: File timestamp issue

    Posted Tue May 11, 2004 11:23 AM

    Hi Rax, fancy bumping into you on this board!

    Alternative workaround for the problem: if you really need to use or interrogate the filename in your IC, then you could write a simple java common operation to strip off the date/time stamp from the file name as it’s passed into the IC.

    Writing it as a common operation, rather than coding it into the IC, means that you can then call the same function from any other file-based IC to perform the same task.

    Not an ideal solution, but a work-around nonetheless.


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