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
Expand all | Collapse all

Webmethods trigger is not retrying

  • 1.  Webmethods trigger is not retrying

    Posted Thu January 24, 2019 06:49 AM

    I am just trying to let a service retry whenever a transient error pops up. I have followed the guide (https://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite10-1/Integration_Server/10-1_Publish_Subscribe_Developers_Guide.pdf), but its still not working.

    This is my flow:

    1. I publish a user
    2. With a webMethods trigger i invoke my subscribeUser service
    3. In my subscribe user i try to insert the user into a database with an adapter in a try sequence
    4. In my catch sequence i throw a throwExceptionForRetry

    When my adapter connection is enabled everything is working fine, when i disable him i would like my user to be retried, but this isnt working. I have tried alot of settings already, these are my settings right now:

    retry until: max attempts reached
    max retry attempts: 0
    retry interval: 10 secs
    on retry failure: suspend and retry later
    resource monitoring: flow:monitor

    In my monitor service i always return isAvailable as true (just for testing purposes)


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker


  • 2.  RE: Webmethods trigger is not retrying

    Posted Thu January 24, 2019 12:57 PM

    Hi,

    have you tried different values for “max retries”?

    I think that “max retries”=0 means no more retries possible after first execution.

    You might find additional informations in the Service Development Help Guide.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 3.  RE: Webmethods trigger is not retrying

    Posted Fri January 25, 2019 03:11 AM

    I think that after 0 retries, the integration server will look at my monitoring service, which will return true, so my first service should do a retry.

    (I also tried to put it on another number like 5 retries, but it still didnt work :slight_smile: )


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB