Chapter 26 Deploytime Configuration : Configuring a BAR File for Deployment

Configuring a BAR File for Deployment
The procedure in this section explains how to set up a BAR file as an inference agent or query agent. Most of the actions require background understanding. Object management configuration is explained in detail in the referenced sections.
To Configure a BAR File for Deployment
1.
2.
If you have not yet added a BAR to the EAR resource, open the EAR, right-click in the design panel, and select Add Resource > BusinessEvents Workbench > BusinessEvents Archive.
3.
Configuration
4.
In the Configuration tab, provide a name and optionally a description. You can also add a person’s name in the Author field.
5.
Select Query to configure a query agent. Query agents are available for Cache object management only, and only in TIBCO BusinessEvents Enterprise Suite.
See Configuration for a reference to the settings.
Rule Sets
6.
See Rule Sets for a reference to the settings.
Input Destinations
7.
BusinessEvents checks the Default column if the default event for that destination is used in a rule set selected for deployment on the RuleSets tab.
Preprocessors for Input Destinations
8.
a.
Click in the Preprocessor field. You see the Search button. Browse to and select the rule function you have set up to be the preprocessor for the destination.
Only functions with one argument of type simple event appear in the list. See Working With Event Preprocessors.
To remove a preprocessor from the Preprocessor field, click the Search button, then click OK without making a selection.
b.
c.
See Input Destinations for a reference to the settings.
Startup and Shutdown
9.
a.
Click the plus sign to browse to and select a function. Only rule functions that take no argument and whose Validity field (in the rule function’s Configuration tab) is set to Action appear in the list.
b.
If you have selected more than one function in one list, click the up and down arrows to arrange the functions. BusinessEvents calls the functions in the order listed.
See Startup and Shutdown for a reference to the settings.
Object Management
10.
Select the Object Management tab. From the Type drop-down list, select one of the options:
For Persistence and Cache options, setting up object management is a larger task than simply configuring this tab. See the referenced sections for details.
11.
Click Apply and save the project.