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

Change the file name in the file polling listerner complete directory

  • 1.  Change the file name in the file polling listerner complete directory

    Posted Wed September 29, 2004 11:40 AM

    webMethods places a source file @ complete directory after completion of polling process.

    WM assigns file name as “FilePolling” + <random> + <time> for complete source file.

    I would like to know, Is it possible to change file name?

    Is there any configuration parameter for change the file name in the file polling listener complete directory?.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods-Architecture
    #webMethods


  • 2.  RE: Change the file name in the file polling listerner complete directory

    Posted Wed September 29, 2004 07:29 PM

    Nagaraj,

    There is no such configuration parameter for changing the filename when you use filepolling mechanism.This is the default behaviour coded internally by WM.

    Other option would be write your own polling routine and schedule it. The PSUtilities package has a listFiles service that returns the list of files (among other things). pub.file:getFile can be used to read in the data. and use moveFile(Complete/Archive directory or Error directory) and also there is deleteFile service available in PSUtilities package(you can get this from webMethods Advantage website).

    HTH,
    RMG.


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods
    #webMethods-Architecture


  • 3.  RE: Change the file name in the file polling listerner complete directory

    Posted Thu September 30, 2004 06:36 AM

    Yes. I agree your comments. There is no way to change file name.

    The file naming in complete directory is being set in the webMethods server class file (wmflat package).

    Its not configurable for changes.


    #Integration-Server-and-ESB
    #webMethods-Architecture
    #webMethods
    #webMethods-General


  • 4.  RE: Change the file name in the file polling listerner complete directory

    Posted Thu September 30, 2004 04:24 PM

    Nagarj,

    you are correct,its not best practice if you violate the webMethods specified rules of changing the config which is used internally.

    So i mentioned the custom doable process.

    Regards,


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods-Architecture
    #webMethods