$USE_PMQ
Specify that the Uniface Router is to create a postmessage queue for each postmessage target application, and a separate thread to deliver the postmessages from the queue to the target application.
$USE_PMQ
Defaults
Assignment file: | urouter.asn |
Section: | [SETTINGS] |
Default value: | None |
Description
By default, the Uniface Router creates a thread for each postmessage request. Under normal circumstances, these threads finish very quickly, and the number of threads does not escalate even if many messages come in. However, if messages cannot quickly be delivered to a particular destination, threads will start to block, and the number of threads will get bigger and bigger. In this case, the Uniface Router may produce the message:
"Cannot start process message thread for ..."
To prevent this from happening, use the $USE_PMQ to set up a separate queue for each postmessage target. Use the assignment setting $NET_TIMEOUT pmi=PostmessageTimeout to control the inactivity timeout period.