Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Msmq connectivity
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.
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.
• 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.
3. Download and install MSMQ Connector:
• Before downloading and installing MSMQ
Connector we need to have following
softwares installed.
• Install the Windows Gateway Service.
• .NET 4.0
• MSMQ Service
4. Step:1 Installing the Windows Gateway Services
• Download the Windows Gateway Services installer . Unzip the
software distribution. For more information, see the Windows
Gateway Services Guide.
• Double-click the AnyPoint-Windows-Gateway-Service.exe file.
• Click Options to change the installation location, or click Install to
start the installation.
• 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.
• After the installation completes, the installer gives you the option
to view the readme.txt file with additional instructions.
• Click Finish to exit.
5. Step:2 Installing the .NET 4.0
• Download .NET 4.0 from the following site
(https://www.microsoft.com/en-
US/download/details.aspx?id=17851) and install it.
• Step:3 Installing the MSMQ Services
• Open Control Panel.
• Click Programs , and then under Programs and Features , click Turn
Windows features on or off .
• 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.
• Click OK .
• If you are prompted to restart the computer, click OK to complete
the installation.
6. 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:
• Goto Help-> Install NewSoftware from Studio
• In Work with: select the following URL or type it:
• :Anypoint Connectors Update Site -
http://repository.mulesoft.org/connectors/releases/3.5.0
• In type filter text type MSMQ.Select the latest version and
install it.
• Accept the license agreement and click OK.
• Restart when prompted.
7. From Anypoint Exchange:
• Click on Open Exchange Action button icon which will be below Edit button
• A new Exchange window opens after loading.
• Type MSMQ in the search box and click Install on (MicroSoft Message Queuing
Connector)
• Restart when prompted.
8. Step:5 RUN SAMPLE APPLICATION
• After installing, now we need to run a Sample Application. Two steps
• 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+Connec
tor
•
• 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+Connec
tor