Category: Mule ESB

When we started working on the High Availability () solution we wanted to create the simplest and most complete ESB HA solution out there. With we have further enhanced the capabilities of the Mule HA solution. In this blog post we would like to share with you some details about some of the the following highlight HA features of :

  • Dynamic Scale Out
  • Unicast Cluster Discovery
  • Distributed Locking
  • Concurrent File Processing

If you think that telemetry should only be dealt with by Mr. Chekov, think again… When the “Internet of things” met publish/subscribe, the need for a lightweight messaging protocol became more acute. And this is when the MQ Telemetry Transport ( in acronym parlance) came into play. From its own words, this connectivity protocol “was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium“.

In a world where everything will eventually have an IP address, messages will be constantly flowing between devices, message brokers and service providers. And when there are messages to massage, who you gonna call? ESB of course! With this new MQTT Connector, built on Dan Miller‘s solid ground work, the Internet of things, which had its rabbit, will now have its Mule!

In this blog we will look at an example where Mule is used to integrate conference booth QR Code scanners with an MQTT broker. Why using MQTT? If you’ve ever been to a technical conference and expo, you’ve surely tasted how abysmal the quality of a WIFI network can be. Beside confirming that the shoemaker’s children always go barefoot, it is also an encouragement for using a messaging protocol that’s both resilient and modest in its network needs. With this said, let’s first start by looking at the overall architecture diagram.

Apache Cassandra is a column-based, distributed database.  Until recently the only way to interact with databases from was to reuse one of the existing Java clients, like Hector or Astyanax, in a component.  Mule’s Cassandra DB Module now provides message processors to insert, update, query and delete data in Cassandra.

To show off some of the features of the Cassandra module I’ll show how to implement a simple account management API.  This API will allow clients to perform CRUD operations on accounts, behaving similarly to something like an LDAP directory.

Picture an architecture where production data gets painstakingly replicated to a very expensive secondary database, where, eventually, yesterday’s information gets analyzed. What’s the name for this “pattern”? If you answered “Traditional Business Intelligence (BI)”, you’ve won a rubber and a warm handshake at the next Summit!

As the volume of data to analyze kept increasing and the need to react in real-time became more pressing, new approaches to BI came to life: the so-called Big Data problem was recognized and a range of tools to deal with it started to emerge.

Apache Hadoop is one of these tools. It’s “an open-source software framework that supports data-intensive distributed applications. It supports the running of applications on large clusters of commodity hardware. Hadoop was derived from Google’s MapReduce and Google File System (GFS) papers” (Wikipedia). So how do you feed real-time data into Hadoop? There are different ways but one consists in writing directly to its primary data store named HDFS (aka Hadoop Distributed File System). Thanks to its Java client, this is very easily done in simple scenarios. If you start throwing concurrent writes and the need to organize data in specific directory hierarchies, its a good time to bring Mule into the equation.

In this post we will look at how Mule’s HDFS Connector can help you write time series data in HDFS, ready to be map-reduced to your heart’s content.

In Part 1 of this three part blog, we created an HTTP REST service that retrieves employee records from an Oracle HR database and returns it in JSON format. In Part 2, we took a look at how to easily turn this into a SOAP XML service without any coding by utilizing the SOAP component for top-down web service generation and the Data Mapper for transformations. Let’s now publish the Employee Record as a message to WebSphere MQ, which is a common approach for integrating with legacy on-premise systems. (Note: Setup steps are at the end of each part for the necessary software. Parts 1 and 2 of this blog needs to be completed.)

In Part 1 of this three part blog, we created a simple message flow in Mule Studio exposed as a basic HTTP service that retrieves employee data from an HR database and returns it in JSON format. JSON is a standard format that is very popular among web and mobile applications. Let’s now take a look at how to easily turn this into a SOAP web service, which is a standard in use in a lot of internal SOA and on-premise integration projects. We will do this without any coding. We will first generate a SOAP web service using a top-down approach with an existing WSDL and then graphically map the database table structure to the expected message format of the SOAP web service (Note: Setup steps are at the end of each part for the necessary software. Part 1 of this blog needs to be completed.)

I made a shift to MuleSoft! After spending most of my career in Big Red and Big Blue, I decided to jump from the walls of the big commercial enterprise technology vendors to the fast moving world of open-source technologies, SaaS and the Cloud. I’ve worked with several of the traditional on-premise integration tools from and IBM and now I’ll be working with MuleSoft’s latest and greatest integration platform that brings integration to the cloud.

Connecting the New EnterpriseThe mega-trends of SaaS, mobile and are converging, generating a new wave of business opportunity for enterprises. The convergence demands a new kind of platform – one that connects and takes advantage of the explosion of endpoints and data caused by organizations each choosing a uniquely diverse set of best-of-breed applications to power their business. In this live webinar, Ross Mason will discuss his vision for this new platform and demonstrate how MuleSoft’s solutions are making it a reality.

Watch now >>

Questions discussed include:

  • How will SaaS and mobility impact my business?

The Service Oriented Architecture stipulates a change in perspective for software purchase and development which traditionally limited itself to catering for the isolated needs of a department or sub-division of the Enterprise. SOA exploits emerging standards to facilitate the development and purchase of software so that the requirements of the Enterprise as a whole are satisfied. Thus, services are identified, defined and subsequently reused in orchestrations with other services that map to the processes which form the life arteries of the Business. SOA advises the use of a Service Registry to govern the initiative in order to ensure the proper re-use of existing candidate Services and their compliance to the policies of the Enterprise. That said, in recent times, with the explosion of APIs, the Enterprise has flung open its doors and windows and ripped off its roof in order to reach to the sky to exploit the vast array of cloud-based services on offer and include them in its software inventory. Thus, the New Enterprise has come of age and brought with it the need for a suitable form of Governance.  With Anypoint Service Registry, MuleSoft are the first to offer a cloud-based Governance solution which allows the New Enterprise to securely register, discover, manage and monitor its services as well as the consumers of those services. With this post, we’d like you to see for yourselves how sets the standard for next generation SOA Governance.

reza.shafii on Wednesday, May 8, 2013

Mule 3.4 Blog Post Line Up


It has now been nearly a month since 3.4 was released and coming back from the 8 city tour Spring 2013 summit, I can truly say there is tremendous excitement within the community around the great features that this release offers.

In the coming weeks, key members of the MuleSoft team who were behind this release will be blogging about its various features and capabilities. Here is what this blog post line-up looks like: