Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Run Time Activities | Retry and Recovery Architecture | Detection
 
Detection
The ability to recognize these errors is critical in every component of an adapter. It is up to the adapter developer to determine which backend errors are transient. When an adapter recognizes this situation, it throws an AdapterConnectionException to alert Integration Server to the error. This exception is a subclass of the ResourceException. This is a valid exception to throw from any ADK method that declares, "throws ResourceException".
An adapter writer should make an effort to isolate the errors that are transient. When Integration Server catches the AdapterConnectionException it will initiate the retry operations. If this occurs for non-transient errors it will be a waste of processing time.