Setting Up a Message Queue
To support outbound calling applications in a deployed Microsoft Speech Server (MSS) system, Microsoft Message Queue (MSMQ) must be installed on:
- Computers with Windows Server 2003 running Telephony Application Services (TAS), so that TAS can read from the queue.
- Business Logic computers (Application Servers), so that Application Servers can write to the queue.
Figure 1 in the document entitled "Microsoft Speech Server Support for Outbound-Calling Applications" illustrates the relationship of these components in the outbound notification message flow architecture.
After installing MSMQ, create a message queue to be used by outbound calling applications.
Installing MSMQ
MSMQ is included with Windows Server 2003, but is not installed by default.
To install on Windows Server 2003:
In Control Panel, double-click Add or Remove Programs.
Click Add/Remove Windows Components.
In the Windows Components Wizard, select Application Server, and then click Details.
Select Message Queuing, click OK, and then click Next to complete the installation.
In Control Panel, double-click Administrative Tools, and then double-click Computer Management.
Expand Services and Applications, and then click Services.
Right-click Message Queuing in the services list, and then click Properties.
Note Be sure to right-click the Message Queuing service in the services list on the right side of the window. Do not confuse it with the Message Queuing folder in the tree view.
Click the Recovery tab, set the first, second, and subsequent failures to Restart the Service, and then click OK.
To create a message queue
In Control Panel, double-click Administrative Tools, and then double-click Computer Management.
Expand Services and Applications, and then expand Message Queuing.
Note A queue may be either public or private, depending on the requirements of the notification application. These instructions create a private queue.
Right-click Private Queues, and then click New.
Enter a name for the private queue, and then click OK.
Note The queue does not require transaction support.
The business logic can now reference this queue for placing outbound notification requests, and TAS can reference it for picking up the requests.
For more information on MSMQ, see Message Queuing Overview on MSDN.