Modifying Properties of Event Type Elements
After you have added a node to the event type, you can view and modify the node's properties in the Properties view of the perspective.
At run-time, when events of the given event type are transmitted over the event bus, event consumers subscribing to the event bus to receive events can apply a filter, so that only events that match certain selection criteria are consumed. Such criteria can be, for example, the topic name (which must always be provided), properties in the event header such as the start and end timestamp, and filterable properties selected from the body of the event. The Filterable property of the node in the event type indicates which values from the event body are available for filtering.
To modify the properties of an event type element
1. With the node selected, open the Properties view.
2. For a field node or a composite node, enter the new value or values as required, then save your changes.
For a reference node, continue with the following steps.
3. For the Referenced Component property, use the Browse button to list all schemas that are located in the event lookup path.
The list can show both schemas and event types. Schemas that are valid and that can be selected are shown with an icon with a white background. Event types are shown with an icon with a colored background.
The field labeled Choose an Object that will be referenced is a type-ahead search field that you can use to search for a schema that matches the text you enter. You can use wildcards at the beginning or at the end of the field. If, for example, you specify obj* as the name of the schema, the display with show all schemas in the lookup path that begin with the letters obj.
When you have chosen a schema, click OK.
Note:
Recursive schema references are not allowed. For instance, a schema should not reference itself or reference another schema that refers the current one.
4. After you specify a value for the Referenced Component property, the drop-down list for the Referenced Item property is automatically updated to contain the names of the available top-level nodes for the chosen referenced schema. The top-level nodes can be XSD elements, XSD simple types or XSD complex types. This is indicated in the drop-down list by the notation [Element], [Simple Type]or [Complex Type] after the node name.
Select the required node from the drop-down list.
5. Supply values for the node name and cardinality as required.
6. Save your changes.
Related Topics