Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Creating and Initializing Events | Event Overview | Event Type Names
 
Event Type Names
Each event type has a unique name that distinguishes it from other event types.
Note: Parameter Naming Rules describes the restrictions on event type names.
Event types are organized into event families, allowing you to group all of the events related to a particular application domain. An event type name consists of two components; a scope and a base name.
Scope::BaseName
The scope component can consist of one or more levels. Consider the following fully qualified event type name.
WesternRegion::Hardware::Sales::receiveCustOrder
The base name for this event type would be receiveCustOrder.
The scope would be WesternRegion::Hardware::Sales.
Use the BrokerEvent.getTypeName method to obtain the fully-qualified name for an event type.
Use the BrokerEvent.getBaseTypeName method to obtain the name for an event type event type without the scope qualification.
Use the BrokerClient.getEventTypeNames method to obtain the fully-qualified names of all the event types known to the Broker to which your Broker client is connected.
Use the BrokerClient.getScopeNames method to obtain the fully-qualified names of all the event types known to the Broker to which your Broker client is connected. All event scopes that contain at least one event type will be returned.
Note:
Only the names of the event types which your client is permitted to browse are returned by the getEventTypeNames and getScopeNames methods. In most cases, this corresponds to the set of event types which your client can publish or for which it can register subscriptions.
Use the BrokerEvent.getScopeTypeName method to obtain the scope name from a particular event.