KB Article #60041
Automatic Retry Issue - 500 Internal Error
Problem
How to trigger automatic retry in case of 500 Internal error occurs?
Resolution
By default Interchange will retry only HTTP 503 error codes. To configure Interchange to retry other error codes you must create a file in the conf directory named retryablehttperrorresponses.xml. The format of the file is simple. Each error code that you would like to retry is included as a XML element in the file. The example below configures the Http Producer to retry on 503 and 400.
< HttpResponseCodes >
< Code >503< /Code >
< Code >400< /Code >
< /HttpResponseCodes >
In the same way you can create the script for Http Code 500.
** Do not forget to include <Code>503</Code> in your
retryablehttperrorresponses.xml file. Although this code is retried by
default once you create a retryablehttperrorresponses.xml file
Interchange will only retry for codes listed in that document (i.e.,
there is no longer any default aside from what''s specified in the
document).