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.  publishAndWait and Reply problem.

    Posted Tue March 13, 2012 09:00 AM

    Hi Folks,

    I have a scenario where i am using publishAndWait to publish DocumentA and wait for 1hr in serviceA.
    Replying with DocumentB in serviceB.

    But the twist is Service B should not be invoked by docA. But by some other JMS message.And still it should be sending the reply documentB and service A should receive that. Is it possible?


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 2.  RE: publishAndWait and Reply problem.

    Posted Tue March 13, 2012 05:09 PM

    Using publishAndWait to wait this long is not a good idea.

    If service B isn’t subscribing to docA then this won’t work.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 3.  RE: publishAndWait and Reply problem.

    Posted Wed March 14, 2012 05:45 AM

    Yes. We got to know. But after subscribing also, we cant use that reply. Because reply will always send volatile documents. Any thought on this?


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 4.  RE: publishAndWait and Reply problem.

    Posted Wed March 14, 2012 08:01 PM

    Use of volatile document in a request/reply scenario is perfectly acceptable. If the reply is lost for some reason, then the requestor simply requests it again. There is no need to make a reply document guaranteed.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB