A Q engine uses operating system native threads. The max native threads per engine configuration parameter controls the maximum number of native threads that a Q engine uses. In this example, the procedure limits every Q engine to a maximum of 100 native threads:
sp_configure 'max native threads per engine', 100
The parameter has the following values:
Minimum value is 50
Maximum value is 1000
Default value is 50
If there are more messaging sessions than there are native threads configured, the messaging operation blocks and waits until a native thread is released.