1. MSMQ Connectivity
Microsoft Message Queuing or MSMQ is a message queue
implementation developed by Microsoft. MSMQ is essentially a
messaging protocol that allows applications running on separate
servers/processes to communicate in a failsafe manner. A queue is
a temporary storage location from which messages can be sent
and received reliably, as and when conditions permit.
What is MSMQ
2. What is MSMQ Connector in MULE
• The MSMQ Connector allows you to send and
receive data from MSMQ queues via the
Anypoint Gateway for Windows.
3. What is Anypoint Gateway for Windows
• Windows Gateway Services provides
functionality used by the MuleSoft Microsoft
Dynamics CRM and MSMQ connectors. It acts
like a UI between MSMQ Mule Connector and
MS Message Queuing
4. Download and install MSMQ
Connector
• Before downloading and installing MSMQ
Connector we need to have following
softwares installed.
• 1. Install the Windows Gateway Service.
• 2. .NET 4.0
• 3. MSMQ Service
5. Step:1 Installing the Windows Gateway Services
• 1. Download the Windows Gateway Services installer from here.
Unzip the software distribution. For more information, see the
Windows Gateway Services Guide.
• 2. Double-click the AnyPoint-Windows-Gateway-Service.exe file.
• 3. Click Options to change the installation location, or click Install to
start the installation.
• 4. Copy the Authentication Token that displays for use when you
configure the PowerShell connector in Anypoint Studio. For more
information, see the Windows PowerShell Connector Guide. After you
copy the token, click Install.
• 5. After the installation completes, the installer gives you the option
to view the readme.txt file with additional instructions.
• 6. Click Finish to exit.
6. Step:2 Installing the .NET 4.0
• Step:3 Installing the MSMQ Services
• 1. Open Control Panel.
• 2. Click Programs , and then under Programs and
Features , click Turn Windows features on or off .
• 3. Expand Microsoft Message Queue (MSMQ) Server
, expand Microsoft Message Queue (MSMQ) Server
Core , and then select the check boxes for the Message
Queuing features that you want to install.
• 4. Click OK .
• 5. If you are prompted to restart the computer, click
OK to complete the installation.
7. Step: 4 Install the MSMQ Connector
• We can install MSMQ Connector in two ways either from
the Update Site or using Anypoint Exchange
• From Update Site:
• 1. Goto Help-> Install NewSoftware from Studio
• 2. In Work with: select the following URL or type it:
• :Anypoint Connectors Update Site -
http://repository.mulesoft.org/connectors/releases/3.5.0
• 3. In type filter text type MSMQ.Select the latest version
and install it.
• 4. Accept the license agreement and click OK.
• 5. Restart when prompted.
10. 2.A new Exchange window opens after loading.
• 3.Type MSMQ in the search box and click
Install on (MicroSoft Message Queuing
Connector)
• 4. Restart when prompted.
11. Step:5 RUN SAMPLE APPLICATION
• After installing, now we need to run a Sample Application. Two steps
• 1. Setup a Demo Queue in MSMQ
• This is easily understandable from the following link: topic “Setup a
Demo Queue in MSMQ”
• Link:
http://www.mulesoft.org/documentation/display/current/MSMQ+Con
nector
•
• 2. Setting Up a Mule Project
• This is easily understandable from the following link: topic “Setting Up
a Mule Project”
• Link:
http://www.mulesoft.org/documentation/display/current/MSMQ+Con
nector