Starting the JMS Object Array Adapter

To start the JMS Object Array adapter from the command line, start Event Stream Processor and execute the start command.

  1. Start Event Stream Processor.
    Windows:
    1. Start the example cluster.
      cd %ESP_HOME%\cluster\nodes\node1
        %ESP_HOME%\bin\esp_server --cluster-node node1.xml
    2. Compile CCL to create CCX.
      %ESP_HOME%\bin\esp_compiler -i model.ccl -o model.ccx
    3. Deploy the project on the cluster.
      %ESP_HOME%\bin\esp_cluster_admin" --uri=esp://localhost:19011 --username=sybase --password=sybase --add_project --workspace-name=w1 --project-name=p1 --ccx=model.ccx
    4. Start the deployed project on the cluster.
      %ESP_HOME%\bin\esp_cluster_admin" --uri=esp://localhost:19011 --username=sybase --password=sybase --start_project --workspace-name=w1 --project-name=p1
    UNIX:
    1. Start the example cluster.
      cd $ESP_HOME/cluster/nodes/node1
        $ESP_HOME/bin/esp_server --cluster-node node1.xml
    2. Compile CCL to create CCX.
      $ESP_HOME/bin/esp_compiler -i model.ccl -o model.ccx
    3. Deploy the project on the cluster.
      $ESP_HOME/bin/esp_cluster_admin" --uri=esp://localhost:19011 --username=sybase --password=sybase --add_project --workspace-name=w1 --project-name=p1 --ccx=model.ccx
    4. Start the deployed project on the cluster.
      $ESP_HOME/bin/esp_cluster_admin" --uri=esp://localhost:19011 --username=sybase --password=sybase --start_project --workspace-name=w1 --project-name=p1
  2. Start the adapter.
    Operating System Step
    UNIX Open a terminal window and enter:

    For the JMS Object Array Input adapter: cd $ESP_HOME/adapters/framework/instances/jms_objlist_input

    For the JMS Object Array Output adapter: cd $ESP_HOME/adapters/framework/instances/jms_objlist_output

    ./start_adapter.sh <adapter configuration file name>

    Windows Open a command window and enter:

    For the JMS Object Array Input adapter: cd %ESP_HOME%/adapters/framework/instances/jms_objlist_input

    For the JMS Object Array Output adapter: cd %ESP_HOME%/adapters/framework/instances/jms_objlist_output

    start_adapter.bat <adapter configuration file name>