Setting Up a Message Queue

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 2003 running Telephony Application Services (TAS).

Additionally, MSMQ must be installed on the Business Logic computers (Application Servers) that write to the queue and the computer that hosts the queue.

After installing MSMQ, create a message queue to be used by outbound calling applications.

Installing MSMQ

MSMQ is included with Windows Server 2003 and Windows XP. However, while MSMQ is installed by default on Windows XP, it is not installed by default on Windows Server 2003.

To install MSMQ on Windows Server 2003
  1. In the Control Panel, double-click Add or Remove Programs.

  2. Click Add/Remove Windows Components in the left pane.

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

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

  5. In the 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 the 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. This example creates 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.

Next Step: Securing a Message Queue

See Also

Message Queuing Overview (MSDN) | Support for Outbound-Calling Applications