Setting Up a Message Queue

  Microsoft Speech Technologies Homepage

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:

  1. In Control Panel, double-click Add or Remove Programs.

  2. Click Add/Remove Windows Components.

  3. In the Windows Components Wizard, select Application Server, and then click Details.

  4. Select Message Queuing, click OK, and then click Next to complete the installation.

  5. In Control Panel, double-click Administrative Tools, and then double-click Computer Management.

  6. Expand Services and Applications, and then click Services.

  7. 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.

  8. Click the Recovery tab, set the first, second, and subsequent failures to Restart the Service, and then click OK.

To create a message queue

  1. In Control Panel, double-click Administrative Tools, and then double-click Computer Management.

  2. 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.

  3. Right-click Private Queues, and then click New.

  4. 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.

See Also

Building Speech Applications