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.  variable retry interval

    Posted Wed May 06, 2009 11:01 PM

    We are using HTTP post to send data to customer. Incase of bad data we retry sending the data with the following rules.

    max retries = 15
    initial retry interval = 1 minute
    max retry interval = 60 minutes

    The retry interval should increase with each retry and after every retry following steps implemented.

    Decrement retries left
    Sleep for retry delay
    Double retry delay
    Is retry delay greater than max retry delay?
    If Yes, set retry delay = max retry delay
    Go to “Submit request”.

    What is the best way of implementing this when we have all components of webMethods product?


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


  • 2.  RE: variable retry interval

    Posted Fri May 08, 2009 01:30 PM

    This functionality is provided by TN apart from checking the maximum wait period. You can have a look at it. If TN is not the suitable one for you then you have to implement it with repeat step (repeat on failure) and use a wait step inside it. For each retry you can calculate the wait time based on your logic and pass it t the wait step. (But I suggest using TN functionality)

    Cheers
    Guna
    http://www.nibodo.com


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


  • 3.  RE: variable retry interval

    Posted Thu February 11, 2016 03:49 AM

    Hi Guna,

       Can you tell me how to use runtime variable in count of repeat properties. for example "C" is variable which will be validate at runtime. I used like %C%/2 in count, but its not working. Please help me regarding this.
    

    Thank you
    Mani


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


  • 4.  RE: variable retry interval

    Posted Thu February 11, 2016 08:46 AM

    Use the variable name in %variablename% and make sure to check the option “Perform Variable Substitution”


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


  • 5.  RE: variable retry interval

    Posted Thu February 11, 2016 09:21 AM

    Make sure what Mahesh has suggested. Please go through Develper and Built-in services guide for more details.

    Thanks,


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