90 WebSphere Business Integration Adapters
8.1 Overview of event notification
The ways in which application-specific components detect and retrieve events
differ from one adapter to another. However, the way in which
application-specific components send events to the Adapter Framework and the
way in which the Adapter Framework delivers those events to the integration
broker is standard across all adapters.
When an event occurs in an application, the connector application-specific
component processes the event, retrieves related application data, and returns
the data to the integration broker in a business object. The following steps outline
the tasks of an event-notification mechanism:
1. An application performs an event and puts an event record into the event
store. The
event store is a persistent cache in the application where event
records are saved until the connector can process them. The event record
contains information about the change to an event store in the application.
This information includes the data that has been created or changed, as well
as the operation (such as create, delete, or update) that has been performed
on the data.
2. The connector’s application-specific component monitors the event store,
usually through a polling mechanism, to check for incoming events. When it
finds an event, it retrieves its event record from the event store and converts it
into an application-specific business object with a verb.
3. Before sending the business object to the integration broker, the
application-specific component can verify that the integration broker is
interested in receiving the business object.
If you use WebSphere InterChange Server as the business integration
system, the Adapter Framework does not assume that the integration broker
is always interested in every supported business object. At initialization, the
Adapter Framework requests its subscription list from the Connector
Controller. At run-time, the application-specific component can query the
Adapter Framework to verify that some collaboration subscribes to a
particular business object. The application-specific connector component can
send the event only if some collaboration is currently subscribed. The
application-specific component sends the event, in the form of a business
object and a verb, to the Adapter Framework, which in turn sends it to the
Connector Controller within InterChange Server.
However, if you use the Message Broker or WebSphere Application Server
(Server Foundation) as the business integration system, the Adapter
Framework assumes that the integration broker is interested in all the
connector’s supported business objects. If the application-specific connector
component queries the Adapter Framework to verify whether to send the