Working with Sample Project

This Sample project gives you a quick overview of how to use TIBCO ActiveMatrix BusinessWorks Plug-in for Apache Cassandra.

Prerequisites

Navigate to TIBCO_HOME\bw\palettes\cassandra\6.3\samples directory and extract the SampleProject.zip file that contains schema.cql. Run the schema.cql script on the Cassandra cqlsh to create a schema for the project activities.

Procedure

  1. Start TIBCO Business Studio.
  2. Click File > Import.
  3. In the Import window, expand the General folder and select the Existing Studio Projects into Workspace item. Click Next.
  4. Click Browse next to the Select archive file field to locate the samples. Click Finish.
    The sample project is located in the TIBCO_HOME\bw\palettes\cassandra\6.3\samples directory.

    In this project, the CassandraSample Process is created. This process is used to show the general configurations of Cassandra activities, such as Update, Query, and GetCasandraConnection.

  5. In the Module Properties of the SampleProject, enter the keyspace and cassandraNodes values. The cassandraNodes value is the host name and port number of your Cassandra database server.
  6. (Optional) In the Confidentiality panel of the Cassandra Connection Resource, configure the SSL Client.
  7. Test the connection and run the CassandraSample process in the project.