creating service components" />
Creating your own service component
To create your own service component:
- Ensure that the header file
cmqzc.h is included in your program.
- Create the shared library by compiling the program and linking it with the shared libraries
Note:Because the agent can run in a threaded environment, build the OAM to run in a threaded environment. This includes using the threaded versions oflibmqm and libmqmzf.
- Add stanzas to the queue manager configuration file to define the service to the queue manager and to specify the location of the module. Refer to the individual chapters for each service, for more information.
- Stop and restart the queue manager to activate the component.