Here are some other topics that you should consider when preparing WebSphere MQ for distributed queue management.
It is advisable that you have an application available to process the messages arriving on the undelivered-message queue (also known as the dead-letter queue or DLQ). The program could be triggered, or run at regular intervals. For more details, see the WebSphere MQ for iSeries System Administration and the WebSphere MQ Application Programming Guide.
MCAs for receiver channels may keep the destination queues open even when messages are not being transmitted; this results in the queues appearing to be "in use".
You can specify the maximum number of channels allowed in your system and the maximum number that can be active at one time. You do this in the qm.ini file in directory QIBM/UserData/mqm/qmgrs/queue manager name. See Appendix C, Configuration file stanzas for distributed queuing.
This section deals with remote messaging aspects of security.
You need to provide users with authority to make use of the WebSphere MQ for iSeries facilities, and this is organized according to actions to be taken with respect to objects and definitions. For example:
The message channel agent at a remote site needs to check that the message being delivered has derived from a user with authority to do so at this remote site. In addition, as MCAs can be started remotely, it may be necessary to verify that the remote processes trying to start your MCAs are authorized to do so. There are three possible ways for you to deal with this:
Here are some facts about the way WebSphere MQ for iSeries operates security:
A facility is provided in the channel definition to allow extra programs to be run at defined times during the processing of messages. These programs are not supplied with WebSphere MQ for iSeries, but may be provided by each installation according to local requirements.
In order to run, such programs must have predefined names and be available on call to the channel programs. The names of the exit programs are included in the message channel definitions.
There is a defined control block interface for handing over control to these programs, and for handling the return of control from these programs.
The precise places where these programs are called, and details of control blocks and names, are to be found in Part 7, Further intercommunication considerations.