Executing the Out-of-process Input Adapter

This section describes how to execute the out-of-process input adapter.

These instructions assume that you have already installed the Sybase CEP Server and Sybase CEP Studio, and that you have compiled the programs according to the instructions in the previous section.

  1. Start the server and let it fully initialize.
  2. Start Sybase CEP Studio.
  3. Start Sybase CEP Studio, connect to the Default workspace, and load the PassThrough example, located in the SybaseC8Repository under examples/FeatureExamples/Basic/PassThrough.
  4. Click on the '+' icon next to the PassThrough to show the Streams.
  5. (Optional). Click on the '+' icon next to the InTrades stream to view the existing adapter.
  6. Open stream viewers for both InTrades and OutTrades by right-clicking on the stream name and then selecting "view stream". Notice the URI in the header of each viewed stream. This URI is used to connect to the stream.
  7. Press the "Start Module" button (the green triangle) in Studio's tool bar. After a brief delay, both the InTrades and OutTrades windows start displaying values.
  8. Start the input adapter. If the query module is not already running, the streams won't be live and the example input adapter won't be able to connect to them.