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
  • 1.  PublishAndWait timing out

    Posted Fri November 14, 2003 12:11 PM

    Hi,
    I am using publishAndWait in my flow service .
    publishAndWait is waiting for the entire duration of wait period and then exits .I have placed a higher wait time which is causing performance degradation.

    When I use publish it takes 5 seconds but when I use publishAndWait its taking 20 min for 4 documents . This is because of the publishAndWait has 5 min wait time .

    I want the publishAndWait to exit as soon as it receives the reply document rather than waiting till wait period. Do I need to set any paramters in reply service or publishAndWait?
    Any setting to be done based on envelope?


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


  • 2.  RE: PublishAndWait timing out

    Posted Fri November 14, 2003 12:28 PM

    Are you publishing a document to an EI component and waiting for an EI component to publish a reply? If so, ensure that the EI component creates the document you are waiting for as “output” and not as “publish”.

    Did you track your documents using the document tracker?


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


  • 3.  RE: PublishAndWait timing out

    Posted Fri November 14, 2003 12:52 PM


  • 4.  RE: PublishAndWait timing out

    Posted Fri November 14, 2003 01:13 PM

    When you publish and wait… what is picking up your document and return another document back? Is it another flow service?


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


  • 5.  RE: PublishAndWait timing out

    Posted Fri November 14, 2003 02:08 PM

    I am publishing the document in a flow service .
    Another flow service subscribes and replies the document.


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


  • 6.  RE: PublishAndWait timing out

    Posted Thu January 22, 2004 01:57 AM

    Hi,

    I am also facing the same issue, I have waittime 60000 millisec(1 min),
    Most of the time its timing out, If I execute the adapter service seperately it takes only 2 sec. Broker takes more time for this case,
    What should I do to improve the Broker performance to give the reply immediately. Any one please help me to find out …

    Thanks
    Rajkumar


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


  • 7.  RE: PublishAndWait timing out

    Posted Tue April 13, 2004 11:27 PM

    Can’t you just include that flow service in the main flow rather than having publishAndWait. input of that service will be your publishble document

    Thnx
    Deepak


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


  • 8.  RE: PublishAndWait timing out

    Posted Mon April 19, 2004 04:11 PM

    Hi,

    If you are suing wM6.1, create an output step instead of a publish step for the reply document. Also check the publish and deliver check boxes.

    Thanks,

    Pauly


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