msmq connectivity

11
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. W hatisM SMQ

Upload: ramakrishna-kapa

Post on 19-Aug-2015

29 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Msmq connectivity

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

Page 2: Msmq connectivity

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.

Page 3: Msmq connectivity

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

Page 4: Msmq connectivity

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

Page 5: Msmq connectivity

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.

Page 6: Msmq connectivity

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.

Page 7: Msmq connectivity

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.

Page 8: Msmq connectivity

From Anypoint Exchange:1. Click on Open Exchange Action button icon

which will be below Edit button

Page 9: Msmq connectivity

Search Exchange for MSMQ

Page 10: Msmq connectivity

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.

Page 11: Msmq connectivity

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+Connector

• • 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+Connector