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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Caching returns pipeline Values instead of my output template

  • 1.  Caching returns pipeline Values instead of my output template

    Posted Wed March 12, 2003 08:18 PM

    Hello,

    In a flow I am using ‘runTemplateOnPipe’ followed by
    ‘setResponse’ to return an output template to a client.

    When I set this service to be cached, the output template is
    not returned. Instead, I am receiving the pipeline Values
    object.

    I need the output template returned when caching this
    service. Can anyone please advise?

    Thank you,
    Chris


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


  • 2.  RE: Caching returns pipeline Values instead of my output template

    Posted Wed March 12, 2003 08:18 PM

    Hi, Chris B.

    I am presuming that your template is unchanging, hence the
    caching of the results.

    To that end, you could store the template as a string in
    local memory at package startup. The template is only a
    string so at the appropriate step in your Flow, load the
    template from memory and then apply the Pipeline object to
    it.

    If this will fit your needs, let me know and we’ll take it
    from there.

    Thanks.


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