It creates one or more background processes in which to execute the business operation.
The number of background processes is determined by the business operation’s PoolSize property within the production configuration. Each background process is referred to as an instance of the business operation and contains an instance of a business operation object.
InterSystems IRIS will only create a background process for a business operation if the following conditions are true:
-
The business operation class must set its INVOCATION class parameter to Queue.
-
The business operation’s Enabled property within the production configuration must be set to 1 (otherwise the business operation is considered to be disabled). A disabled business operation still has an incoming message queue. Any requests posted to this queue will not be processed until the business operation is enabled.
-
The business operation’s PoolSize property within the production configuration must be set to a value greater than 0.
If the business operation’s Foreground property within the production configuration is set to 1, then InterSystems IRIS will create a foreground process (that is, it will create a Terminal window) for the business operation. This feature facilitates testing and debugging.