You can optionally allow a message channel agent (MCA) to transfer messages using multiple threads. This process, called pipelining, enables the MCA to transfer messages more efficiently, with fewer wait states, which improves channel performance. Each MCA is limited to a maximum of two threads.
You control pipelining with the PipeLineLength parameter in the qm.ini file. This parameter is added to the CHANNELS stanza:
With WebSphere MQ for Windows(R), use the WebSphere MQ Services snap-in to set the PipeLineLength parameter in the registry. Refer to the WebSphere MQ System Administration Guide book for a complete description of the CHANNELS stanza.
When you use pipelining, the queue managers at both ends of the channel must be configured to have a PipeLineLength greater than 1.
Note that pipelining can cause some exit programs to fail, because:
Check the design of your exit programs before you use pipelining:
Consider a message exit that opens a queue and uses its handle for MQPUT calls on all subsequent invocations of the exit. This fails in pipelining mode because the exit is called from different threads. To avoid this failure, keep a queue handle for each thread and check the thread identifier each time the exit is invoked.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqzae1097 |