A name service provides the following entry points for use by the queue manager:
If there is more than one name service configured:
Do not have more than one component that supports the insert and delete functions. However, a component that only supports lookup is feasible, and could be used, for example, as the last component in the list to resolve any name that is not known by any other name service component to a queue manager at which the name can be defined.
In the C programming language the names are defined as function datatypes using the typedef statement. These can be used to prototype the service functions, to ensure that the parameters are correct.
The header file that contains all the material specific to installable services is cmqzc.h for the C language.
Apart from the initialization function (MQZ_INIT_NAME), which must be the component's main entry point, functions are invoked by the entry point address that the initialization function has added, using the MQZEP call.
The following examples of UNIX(R) configuration file stanzas for the name service specify a name service component provided by the (fictitious) ABC company.
# Stanza for name service Service: Name=NameService EntryPoints=5 # Stanza for name service component, provided by ABC ServiceComponent: Service=NameService Name=ABC.Name.Service Module=/usr/lib/abcname ComponentDataSize=1024
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
amqzag06170 |