Starting and Stopping Adapters

In-process adapters are started automatically by the server. Out-of-process adapters must be started by the user.

The order in which adapters are started is important. Since adapters connect to streams, the adapters must be started after the streams already exist (in other words, after the project (query module) has started), or the adapters must be able to handle the error that they get when the stream doesn't exist and must then wait and re-try to connect to the stream. In addition, if the input adapter starts inserting data before the output adapter is ready, some of the data may "disappear" (never show up in the output). Start projects and adapters in the following order:

  1. Project (query module).
  2. Output adapter.
  3. Input adapter.

    If you have written your output adapter to re-try to connect to the stream, then you can start the project and the output adapter in either order.

    If you are using Guaranteed Delivery, you can start the queries and adapters in any order. However, to minimize the chance of overloading any buffers, it is best to use the order shown above.