2. Overview
- MuleSoft provides the most widely used integration platform to
connect any application, data service or API, across the cloud and on-
premise continuum.
- Microsoft Azure is cloud-based data-storage infrastructure that is
accessible to the user programmatically via a MuleSoft ‘Microsoft Service
Bus’ connector..
- The Microsoft Service Bus Mule connector allows developers to access
any amount of data, at any time, from anywhere on the web. With
connectivity to the Microsoft Azure API, users can interface Azure to
store objects, download and use data with other Azure services, and
build applications that call for internet storage - all from within MuleSoft
Anypoint Platform.
2
3. Prerequisites
Microsoft Azure Account
Microsoft Azure Namespace, Shared Access Key Name and Shared
Access Key
Mule Anypoint Microsoft Service Bus Connector
Microsoft Azure Account
To complete this sample, you need an Azure account. You can activate
your MSDN subscriber benefits or sign up for a free trial.
3
4. Creating Microsoft Azure
Namespace
To begin using Service Bus topics and subscriptions in Azure, you must
first create a service namespace. A service namespace provides a scoping
container for addressing Service Bus resources within your application.
Log on to the Azure Management Portal.
In the left navigation pane of the Management Portal, click Service
Bus.
In the lower pane of the Management Portal, click Create.
In the Add a new namespace dialog, enter a namespace name. The
system immediately checks to see if the name is available.
4
5. Microsoft Azure Shared Access Name
and Key
Click Connection Information. In the Access connection
information dialog, find the connection string that contains the SAS key
and key name. Make a note of these values, as you will use this
information later to perform operations with the namespace.
5
6. Mule Anypoint Microsoft Azure
Connector
Configuration: This element must be placed outside
of your flows and at the root of your Mule
application. You can create as many configurations
as you deem necessary as long as each carries its
own name.
Connection Pool : Azure connector offers automatic
connection management via the use of a
connection pool. The pool will act a storage
mechanism for all the connections that are in-use
by the user of this connector.
Reconnection Strategies : Reconnection Strategies
specify how a connector behaves when its
connection fails. You can control how Mule
attempts to reconnect by specifying a number of
criteria
6
7. Mule flow
Steps to be followed for integrating 'Microsoft Azure' with MuleSoft Applications:
Install the Microsoft Service Bus Connector in Anypoint Studio (3.5 and above)
http://repository.mulesoft.org/connectors/releases/3.5
Create a new Anypoint Studio Project and Flow.
Before using the Microsoft Service Bus Connector in the Mule Flows, create a global
element for ‘Microsoft Service Bus: Azure Service Bus’ configuration which can be
reused in all other flows across the Mule project - wherever the objects are created &
deleted to & from Microsoft Azure cloud server.
7
8. Mule Flow (cont.)
Configure the ‘Microsoft Service Bus: Azure Service Bus’ connector
by providing the following information for the global element
Service Namespace
Shared Access Key Name
Shared Access Key
Use HTTP inbound endpoint to hit the service to pull the list of
queues from the Microsoft Azure storage server
Configure the Microsoft Service Bus endpoint by providing the
following to fetch the list of queues from the Azure server -
link to the ‘global Connector Configuration’
Operation
8
Follow Do's and Do Not'sCommon Profile PicFollow Company and Geography:HydAdd followers from peers and WW, MuleSoftHave a Note about yourselfAsk Questions in live BrightTalk Webinars using #tweetsTweet/Retweet Articles on Mule. WW blog, G+ and Forum Links
Follow WW and Mulesoft....