webMethods

webMethods

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

Transformer used inside loop

  • 1.  Transformer used inside loop

    Posted Wed August 22, 2007 06:15 AM

    Hi,

    Is there any reason behind not using transformers inside LOOP?? any performance reason?

    Thanks
    Puneet


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


  • 2.  RE: Transformer used inside loop

    Posted Wed August 22, 2007 02:05 PM

    This is a common misperception caused by an ill-worded error message.

    There is no problem with using transformers inside a loop. What you can’t do is try to pass a list (an array) to a transformer that expects a single variable–and this is true whether the transformer is in a loop or not.

    The Developer User’s Guide covers this in the section named “Transformers and Array Variables.”


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