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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  File Adapter Help

    Posted 12/20/02 02:36 PM

    Hi,
    I have a scenario where i have to read records from files in a directory and insert into database. The fields in a record is separated by comma and every line holds a records. I have created a integration component which polls a directory ,reads the records from file and creates a event for each record which is subscribed by db adapter and inserted into db as the documents arrive.
    But is there any mechanism where i can put all records in a file and sent as one document .

    regards
    johnson


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


  • 2.  RE: File Adapter Help

    Posted 12/20/02 02:52 PM

    Either the Poll or the Read option allows you to send all the data in a single chunk. You could then add an operation to parse the records and insert them into a struct array. The struct array can then be passed to the DB adapter.


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