Configure the settings for the Sample Input and Output adapter using the ESP Server
and Studio.
Start the ESP Server, and use the command prompt to set your directory to
Sybase\ESP-5_1\cluster\examples on Windows, or
Sybase/ESP-5_1/cluster/examples on Linux.
Set your ESP folder to %ESP_HOME% on Windows, or $ESP_HOME on Linux.
In the examples folder, configure the adapter.xml file:
Enter an address for espProjectUri.
Enter a user name for espUser.
Enter a password for espPassword.
Enter a sample input data for input.
Enter an output from the subscriber process for
output.
Start Studio, and select File > New > Project... >
Browse.... Open the folder
Sybase\ESP-5_1\adapters\examples\managed on Windows, or
Sybase/ESP-5_1/adapters/examples/managed on Linux.
Open the model.ccl file, and click the Compile
Project (F7) icon on the Studio toolbar. The file is compiled into the
model.ccx file.
Open the Run-Test perspective, add the server URL
"localhost:19011", and connect.
Right-click on the URL server, select Create a New
Workspace, and enter "default" for the name.
Right-click on the workspace named "default", and select Load
Project.
Browse to the folder of the compiled file to select the
model.ccx file. In Studio, the project appears as "model"
under the "default" workspace.
Right-click on the "model" project, and select Start
Project.