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.  Call custom Java function from the SetValue

    Posted 12/12/15 09:46 AM

    Hi,

    I’m asking me, if it would be possible to use a Java function, directly from the Pipeline, inside a Transformer (from the “Service In” section) ?

    Examples :

    1/ in the setValue window of an input of a transformer, I would like to write :
    String.valueOf(%myIntegerParam%)

    2/ In the setValue of the message of a pub.flow:debugLog, if would like to add :
    String.format(“My values are : %s and %s”, %myParam1%, %myParam2%)

    3/ In the setValue of the message of a pub.flow:debugLog, if would like to add :
    "My date is " + getCurrentDateString()

    The 2 is probably a bad example, because of the “%” using inside the format function…

    For using java function I do not feel confortable, to always have to drag Java service in the Pipeline or the Tree View for doing a little task…

    Regards


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


  • 2.  RE: Call custom Java function from the SetValue

    Posted 12/12/15 12:34 PM


  • 3.  RE: Call custom Java function from the SetValue

    Posted 12/14/15 05:55 AM