Salesforce

How Do I Set Up My Computer for MSMQ? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Set Up My Computer for MSMQ? (Magic xpa 3.x)

MSMQ or Microsoft Messaging Queues is Microsoft’s standard for sending messages to queues managed by Microsoft. MSMQ is a part of the Windows 2000 and Windows XP setup but is not part of the “Typical” setup configuration. Let’s see how to install it.

Installing MSMQ

Before you can work with MSMQ, you need to have it installed on your computer. To do this:

  1. Select Windows Start->Control Panel.

  2. Click on Add/Remove Programs.

  3. Click on the Add/Remove Windows Components icon on the left.

  4. Select Message Queuing. Select the check box.

  5. Click on the Details button.

  6. Select Common.

  7. Keep clicking OK to continue the install.

Adding Queues

  1. Open Control Panel->Administrative Tools->Computer Management.

  2. Open Services and Applications->Message Queueing. You can add queues to Private or Public queues, but you will only see Public queues if Active Directory is installed.

  3. To add a queue, select New->Private Queue from the right-click menu. (or Public Queue, as needed).

  4. A New Queue dialog box will appear. Give the queue a name (in our example, it is $\eDevMsg. This is the name you will use when opening up a queue in Magic xpa.

  5. Check the Transactional box if needed. Some versions of MSMQ do not allow sending non-transactional messages to a transactional queue.

  6. Then click OK. The new queue will be created.

Installing the Messaging Component

This is installed when you installed Magic xpa, if you selected it as part of the installation. If you don’t have it, you should rerun the Magic installation, using the Add/Remove option.

There are two logical names that are used in working with messaging:

  • MessagingComponentDir: this points to the messaging component. The component is an .ecf file, and contains programs and handlers for you to use in working with messaging. An .eci file is also included, so you can add this component to your application.

  • MessagingErrorLogFile: this points to the location of the error log.

For help in how to set up the component, see How Do I Load a Component Into My Project?.

Reference
Attachment 
Attachment