External Event Types will need to be configured so that it is possible to manage which events cause CAP messages to be sent to the Message Broker.
Also, Code table items need to be added for each External Event Type so each Event Type will have a code table value associated with it.
For more details on Code Tables, refer to the Application Configuration section of the System Configuration guide.
CTX data files can be used to add External Event Types, as illustrated in the following example.
<codetables package="curam.codetable">
<codetable
java_identifier="EXTERNALEVENTTYPE"
name="ExternalEventType"
>
<displaynames>
<locale language="en">External Event Type</locale>
</displaynames>
<code
default="false"
java_identifier="EVENTADAPTOR_SAMPLE"
status="ENABLED"
value="ET2000"
>
<locale
language="en"
sort_order="0"
>
<description>Sample External Event</description>
<annotation/>
</locale>
</code>
</codetable>
</codetables>
Alternatively, another mechanism for providing the external event information is via the admin application UI.
The External Event Type code table item has been added and is now available to be configured.
Alternatively, DMX data can be used to configure External Event Types, as illustrated in the following example.
<table name="EXTERNALEVENTTYPE">
<column name="externalEventType" type="text" />
<column name="externalEventEnabled" type="bool" />
<column name="externalEventTypeID" type="id" />
<column name="versionNo" type="number" />
<row>
<attribute name="externalEventType">
<value>ET2000</value>
</attribute>
<attribute name="externalEventEnabled">
<value>1</value>
</attribute>
<attribute name="externalEventTypeID">
<value>8897986963777257472</value>
</attribute>
<attribute name="versionNo">
<value>2</value>
</attribute>
</row>
</table>
Another mechanism for providing the external event information is via the admin application UI. For details on enabling / disabling, please see the administration section.
To access the External Event Type admin page, login as a user with administrative privileges and navigate to the "Administration Workspace". Select "Event Adaptor" from the shortcuts panel. This will open the Event Adaptor tab.
Adding External Event Types
An External Event Type will need to be added to the list so that it can be managed.
The selected External Event Types will be added to the list.
Deleting External Event Types
An External Event Type may need to be deleted.