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.  throwExceptionForRetry not working for queue

    Posted 01/03/17 11:37 AM

    Hi all,

    I am quite new to webMethods and am trying to implement a trigger service with a retry. I am using a mock service to return a SOAP Fault to the trigger service which causes the flag for throwExceptionForRetry to be set as true. I can see by using a debug log that the service is inf act reaching the pub.flow:throwExceptionForRetry service but then nothing happens.

    Previously i had a topic instead of a queue and the retry worked correctly then, since changing to a queue it no longer seems to work and i can’t see why

    Any help would be greatly appreciated

    Thanks

    Chris


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


  • 2.  RE: throwExceptionForRetry not working for queue

    Posted 01/03/17 01:07 PM

    Hello Chris,

    Happy New Year!

    Just trying to get clarification on your issue. When you say Queue are you using Broker pub/sub here or UM topics part of your messaging configuration?

    HTH,
    RMG


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


  • 3.  RE: throwExceptionForRetry not working for queue

    Posted 01/03/17 01:19 PM

    Hi, and Happy New Year to you too!

    I am using pub.jms.send to send the jms message to a UM Queue which is then picked up by the trigger. Not sure if this is relevant or not, but even when the service is working correctly i cannot see any hits on the queue when i snoop. I can however see events being pushed onto it, but only once, no retries

    Now, even changing back to the topic which used to previously work, does not work

    Chris


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


  • 4.  RE: throwExceptionForRetry not working for queue

    Posted 01/04/17 12:41 PM

    Solved it… I had the finally sequence set to exit on done instead of failure…


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


  • 5.  RE: throwExceptionForRetry not working for queue

    Posted 01/04/17 04:21 PM

    Glad to hear that!

    It sounds to be a Try/Catch sequence labeling issue?

    HTH,
    RMG


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