Creating a Destination and SimpleEvent from a StreamBase Schema
The StreamBase Channel in BusinessEvents requires a Simple Event definition in the BusinessEvents Project to match the corresponding schema definition in the StreamBase application.
Procedure
- In BusinessEvents Studio Explorer, select File > New > Other > TIBCO Channel Wizards > StreamBase Destination and Event and click Next.
-
In the StreamBase Event Details window, select the parent folder for the simple event, enter its name in the
Name field and description in the
Description field, and click
Next.
The StreamBase Schema Location Info window is displayed to specify the source location of the StreamBase Schema.
-
Select the StreamBase schema source location:
- StreamBase Server - Select this option if you want to select the schema available on the StreamBase server. You can either enter the StreamBase server details or import it from an existing StreamBase channel.
- Select the Populate server details from existing StreamBase Channel check box, if the BusinessEvents project already has a StreamBase channel with the StreamBase server details. Click Browse and select the required StreamBase channel. The server details are automatically populated from the StreamBase channel. Click Next.
- Enter the StreamBase server details, see
StreamBase Channel Properties.
Optionally, select the Create new StreamBase Channel from Server details check box, if you want to create a new StreamBase Channel using the entered StreamBase server details. Click Next.
- StreamBase Named Schema - Select this option if you want to load the StreamBase schema from an SBAPP or SBINT file. The SBAPP file is an XML source file for an EventFlow application. Click Browse and select the .sbappor .sbint file from the local system. Click Next.
If you have selected the Create new StreamBase Channel from Server details check box, the StreamBase Channel Details page is displayed; otherwise, the StreamBase Schema selection page is displayed. - StreamBase Server - Select this option if you want to select the schema available on the StreamBase server. You can either enter the StreamBase server details or import it from an existing StreamBase channel.
-
(Optional) In the StreamBase Channel Details page enter the channel details and click
Next.
Option Description Enter or select the parent folder Enter the name of the parent folder in the project or select the parent folder from the project tree. Channel name Name of the channel. Description Short description for the channel. Destination Name Optional. Name of the destination to be created in the channel. See Configuration for StreamBase Destinations for more details about StreamBase destination properties.
The StreamBase Schema selection page is displayed listing the available schemas from the source location. -
Select the StreamBase schema from the
Available schemas list and click
Finish.
For a StreamBase Server source location, the schemas are retrieved from all input and output streams from the application. For a StreamBase Named Schema source location, the source SBAPP file is parsed and the named schema definitions are displayed.A new Simple Event is created, with properties defined from the Schema Structure of the selected schema. See Datatype Conversion for more details about mapping of StreamBase datatype to BusinessEvents datatype.
Copyright © Cloud Software Group, Inc. All rights reserved.