Configure services and components

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

  1. Add stanzas to the queue manager configuration file 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 each component within a service, there must be a ServiceComponent stanza. This identifies the name and path of the module containing the code for that component.

    For more information, see Service stanza format and Service component stanza format.

    The authorization service component, known as the Object Authority Manager (OAM), is supplied with the product. When creating 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, we 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.

  2. Stop and restart the queue manager to activate the component.

Parent topic: Installable services and components for UNIX, Linux and Windows