Contents
This sample consists of a Studio project that contains three application files
(dividemodule.sbapp, dividetoplevel.sbapp and outoforder.sbapp), a customized StreamBase Server configuration file
(sbd.sbconf), and a small amount of Java code used by the
applications as a custom function. This sample is designed to be walked through using a
Cheat Sheet in StreamBase Studio that guides you step by step.
The goal of this sample is to demonstrate various use cases for error streams in StreamBase applications.
In StreamBase Studio, import this sample with the following steps:
-
From the top menu, select → .
-
Select this sample from the Applications list.
-
Click OK.
StreamBase Studio creates a project for the sample.
By default, the sample files are installed in:
-
On Windows:
C:\Program Files\StreamBase Systems\StreamBase.n.m\sample\errorstreams -
On UNIX:
/opt/streambase/sample/errorstreams
When you load the sample into StreamBase Studio, Studio copies the sample project's
files to your Studio workspace. StreamBase Systems recommends that you use the
workspace copy of the sample, especially on UNIX, where you may not have write access
to /opt/streambase. In the default installation, the
path to this sample in your Studio workspace is:
UNIX: ~/streambase-studio-n.m-workspace/sample_errorstreams Windows XP: C:\Documents and Settings\username\My Documents\StreamBase Studion.mWorkspace\ sample_errorstreams Windows 7 and Windows Vista: C:\Users\username\Documents\StreamBase Studion.mWorkspace\ sample_errorstreams
This sample uses a StreamBase Studio cheat sheet to provide an interactive walk-through of the Error Ports and Error Streams features.
-
In StreamBase Studio, select → .
-
In the Cheat Sheet Selection dialog, open the StreamBase Studio folder, select Sample - Error Streams, and click .
-
Follow the instructions on the cheat sheet Introduction page.
