Creating a connector-specific property template

To create a configuration file for your connector, you need a connector-specific property template as well as the system-supplied standard properties.

You can create a brand-new template for the connector-specific properties of your connector, or you can use an existing connector definition as the template.

Creating a new template

This section describes how you create properties in the template, define general characteristics and values for those properties, and specify any dependencies between the properties. Then you save the template and use it as the base for creating a new connector configuration file.

To create a template in Connector Configurator:

  1. Click File>New>Connector-Specific Property Template.
  2. The Connector-Specific Property Template dialog box appears.
  3. You can use an existing template whose property definitions are similar to those required by your connector as a starting point for your template. If you do not see any template that displays the connector-specific properties used by your connector, you will need to create one.

Specifying general characteristics

When you click Next to select a template, the Properties - Connector-Specific Property Template dialog box appears. The dialog box has tabs for General characteristics of the defined properties and for Value restrictions. The General display has the following fields:

The Property Subtype can be selected when Property Type is a String. It is an optional value which provides syntax checking when you save the configuration file. The default is a blank space, and means that the property has not been subtyped.

After you have made selections for the general characteristics of the property, click the Value tab.

Specifying values

The Value tab enables you to set the maximum length, the maximum multiple values, a default value, or a value range for the property. It also allows editable values. To do so:

  1. Click the Value tab. The display panel for Value replaces the display panel for General.
  2. Select the name of the property in the Edit properties display.
  3. In the fields for Max Length and Max Multiple Values, enter your values.

To create a new property value:

  1. Right-click on the square to the left of the Value column heading.
  2. From the pop-up menu, select Add to display the Property Value dialog box. Depending on the property type, the dialog box allows you to enter either a value, or both a value and a range.
  3. Enter the new property value and click OK. The value appears in the Value panel on the right.

The Value panel displays a table with three columns:

After a value has been created and appears in the grid, it can be edited from within the table display.

To make a change in an existing value in the table, select an entire row by clicking on the row number. Then right-click in the Value field and click Edit Value.

Setting dependencies

When you have made your changes to the General and Value tabs, click Next. The Dependencies - Connector-Specific Property Template dialog box appears.

A dependent property is a property that is included in the template and used in the configuration file only if the value of another property meets a specific condition. For example, PollQuantity appears in the template only if JMS is the transport mechanism and DuplicateEventElimination is set to True.
To designate a property as dependent and to set the condition upon which it depends, do this:

  1. In the Available Properties display, select the property that will be made dependent.
  2. In the Select Property field, use the drop-down menu to select the property that will hold the conditional value.
  3. In the Condition Operator field, select one of the following:

    == (equal to)

    != (not equal to)

    > (greater than)

    < (less than)

    >= (greater than or equal to)

    <=(less than or equal to)

  4. In the Conditional Value field, enter the value that is required in order for the dependent property to be included in the template.
  5. With the dependent property highlighted in the Available Properties display, click an arrow to move it to the Dependent Property display.
  6. Click Finish. Connector Configurator stores the information you have entered as an XML document, under \data\app in the \bin directory where you have installed Connector Configurator.

Setting path names

Some general rules for setting path names are:

Copyright IBM Corporation 1997, 2005. All Rights Reserved.