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.  Large File Splitting Java Service

    Posted Tue April 17, 2012 02:07 PM

    Hi,
    Can anybody help me with writing a fileSplitter Java service for handling a large file.Thanks in advance.

    Regards
    Anupam


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: Large File Splitting Java Service

    Posted Tue April 17, 2012 04:21 PM

    Are you sure you need one? What is leading you to want to split the file? Perhaps if you describe the high-level integration you need someone can provide an approach that doesn’t require Java or explicit file splitting.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Large File Splitting Java Service

    Posted Tue April 17, 2012 07:21 PM

    Hi Raemon,
    Ok,my requirement is somewhat similar to tokenize service…but here in my case there are 2 problems i m facing:

    1. the string is too large.
      2.and in place of delimiter i want to tokenize using index( means I want to tokenize the string into a list according to position/index).For eg: split the string into list by each 200 position/index;
      Please let me know if there is any other way possible…Thanks for the response…

    Regards
    Anupam Deb


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: Large File Splitting Java Service

    Posted Wed April 18, 2012 04:38 PM

    Is this a fixed field length flat file? If so, will the flat file services help in performing the processing? The convertToValues supports reading a record at time, avoiding loading the entire string into memory. The key will be don’t load the entire results of convertToValues into memory either. Read a record (or a many with some custom work), process it completely, then do the next.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services