4.4.2 Terminating adaptors (custom adaptors)

You must terminate custom adaptors. The method used for in-process connection differs from that used for RMI connection. The following subsections describe the termination methods for both connection modes.

Organization of this subsection
(1) When in-process connection is used
(2) When RMI connection is used

(1) When in-process connection is used

Use the sdpstopinpro command to terminate an adaptor.

In the command's argument, specify the custom adaptor name specified as the name of the in-process connection property file.

For details about the in-process connection property file, see 8.9 In-process connection property file (user_app.adaptor-group-name-or-adaptor-name.properties).

An example of command execution is shown below. In this example, InproAppSample is the custom adaptor name.

working-directory\bin\sdpstopinpro InproAppSample

For details about the sdpstopinpro command, see sdpstopinpro (terminates in-process-connection adaptors) in 7. Commands.

(2) When RMI connection is used

When you are using RMI connection, you must implement a termination process within the custom adaptors because Stream Data Platform - AF commands cannot be used to terminate them.