Feature #62

tpautopause() - do not consume the messages by server thread while worker thread is working

Added by Madars over 7 years ago.

Status:NewStart date:08/22/2016
Priority:Normal (Code 4)Due date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

For async systems like node.js we need some kind of mechanism to disable XATMI service dispatcher to consume the messages while the javascript process is running. This would allow on platforms such as linux to load balance the requests across the free nodejs instances.

The setting tpautopause(1 - enable | 0 - disable) would do following:
If enabled, then service dispatcher would make the unnmaed pipe and wait for message to come in order to continue. tpreturn() and tpforward() could generate these messages in autopause mode.

Also available in: Atom PDF