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.  pub.jms:sendAndWait

    Posted Wed March 15, 2017 03:02 AM

    Hi Guys,

    I’m using pub.jms:sendAndWait to get a synchronous responses.

    I would like this service to wait for certain milliseconds and resend the message if the response is not received with in given time. Can’t find any relevant parameter in default IS server config file <wm_home>/IntegrationServer/default/config.

    Can you please advise if this can be done, if so where can I set this config?

    Kind regards,
    Raj


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: pub.jms:sendAndWait

    Posted Thu March 16, 2017 08:35 AM

    Please try using a repeat block with this service and if response is not retrieved in the given time repeat the service.

    Thanks,
    Sathya


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: pub.jms:sendAndWait

    Posted Thu March 16, 2017 08:59 AM

    Hi Raja,

    use the parameter waitTimeout of the sendAndWait service to configure the wait time.

    You will have to make sure that the message is only processed once at the receiver side.
    When the receiver is not able to reply in time it will have to rollback the message.

    See IS Built-In-Services Guide for further informations on the sendAndWait service.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB