A good design practice is to code the connector application-specific code
so that it shuts down whenever the connection to the application is
lost. To respond to a lost connection, the connector's
application-specific component should take the following steps:
- Log a fatal error message so that email notification is triggered if the
LogAtInterchangeEnd connector configuration property is set to
True.
- Return the
BON_APPRESPONSETIMEOUT outcome status to inform the connector controller
that the application is not responding. When this occurs, the process
in which the connector runs is stopped and then restarted
automatically.
The following user-implemented virtual methods should check for a loss of
connection to the application:
