Register or Login to Your Account
Can anyone please explain me what are transient errors in webMethods and how we can handle them ? if possible please give an example or scenario for handling with configuration or properties details ?
I have a scenario to execute outside services and webservices, need to handle while executions
Ex : java.net.SocketTimeoutException: Read timed out : Signals that a timeout has occurred on a socket read or accept.
One way of handling is configure as key value pair "Ex: TransiantErrorList:java.net.SocketTimeoutException: Read timed out ,Error2,Error3...". In your Catch block check if the error falls in to this transiant error what you have defined if so have one retry block of code which will retry when ever transiant error occures.
We can create a catch block and based upon response we get other than success we can have a retry with an interval of 60secs for abt 3 times would be better.