You configure service components using the queue manager configuration files, except on
Windows systems, where each queue manager has its own
stanza in the Registry.
Procedure
-
Add stanzas to the queue manager configuration file, qm.ini, to define the
service to the queue manager and specify the location of the module:
- Each service used must have a
Service stanza, which defines the service to the
queue manager. For more information, see Service stanza of the qm.ini file.
- For each component within a service, there must be a
ServiceComponent stanza.
This stanza identifies the name and path of the module containing the code for that component. For
more information, see ServiceComponent stanza
of the qm.ini file.
The authorization service component, known as the Object Authority Manager (OAM), is supplied
with the product. When you create a queue manager, the queue manager configuration file (or the
Registry on Windows systems) is automatically updated to
include the appropriate stanzas for the authorization service and for the default component (the
OAM). For the other components, you must configure the queue manager configuration file manually.
The code for each service component is loaded into the queue manager when the queue manager is
started, using dynamic binding, where this is supported on the platform.
-
Stop and restart the queue manager to activate the component.