Chapter 23. Packaging the custom adapter for distribution 399
For our scenario with the Message Broker, the properties that we configure will
form part of the local configuration file.
23.2.1 Defining the connector with the Connector Configurator
To define the connector, you create a connector definition. This connector
definition includes the following information to define the connector in the
repository. For initial deployment of a customer adapter, you create a connector
definition with a set of standard properties — the properties that are common for
most connectors. You also create the WebSphere MQ objects that are required
for the connector. You then conduct some basic tests to ensure that the
connector starts correctly before testing some of the business objects that you
created previously. A tool called
Connector Configurator collects this information
and stores it in the repository.
Note: Not every connector uses all the standard properties. When you select
an integration broker from Connector Configurator, you see a list of the
standard properties that you need to configure for your adapter running with
that particular broker type.
Note: If your integration broker is the InterChange Server, the connector and
its configuration must be deployed to the repository. The repository is a
database with which InterChange Server communicates to obtain information
about components in the WebSphere Business Integration System.
Connector definitions must be deployed to the repository. These connector
definitions include both standard and connector-specific connector
configuration properties that the Connector Controller and the client Adapter
Framework require. The connector can also have a local configuration file,
which provides configuration information for the connector locally. When a
local configuration file exists, it usually takes precedence over the information
in the InterChange Server repository.
If your integration broker is WebSphere, there are deployment steps that you
must take for integration of the artifacts for your adapter service.
The most straightforward connector deployment is using the Message Broker
because the connector reads the business object definitions from the local file
system. For basic testing at this stage, there is no deployment involved as
such. You can save the configuration in a file and test immediately.