Ashok,
I see that you have already gone ahead with the “Max attempts reached” option. Just wanted to add a couple of issues to this chain regarding infinite retry in case anyone is interested.
Issue 1: The trigger property “Deliver until” doesn’t works as expected when it is set to “successful”. I see that in our environment on WM 6.1, it rejects the document after a single attempt.
The WM support provided a “Fix 15” for IS that fixes this issue as well as provides for interrupting the infinite loop - a problem the WM documentation warns about - when an IS shutdown is initiated.
Issue 2: This is on specifying Time-To-Live property for infinite retries. On the subscribe service, we generally catch and rethrow Runtime exceptions for the trigger to retry. Before we throw this exception, we can also perform a check against the current time vs. the time of publish of the document. We can throw Runtime exceptions only if the time difference is less than a Time-To-Live period.
Since we are using a generic error handling service to handle any type of exceptions, it makes it all the more easy for us to set a TTL parameter as input to this service from our main service.
I must confess that we have not tried this solution with TTL yet, but I don’t see why it shouldn’t work. If anyone sees a problem with this approach, please let us know.
Cheers,
Gowri Shankar.
#webMethods#Integration-Server-and-ESB#webMethods-Architecture#webMethods-General