Category: Mule ESB

Recently, I came across the following situation while working with : I needed to handle an http post that would carry not one but N > 1 uploaded .

If I were to do this back in the days where I didn’t know about such a thing called “Mule”, I would have needed to:

  • Handle a http stream
  • Identify all the parts in the message
  • Read each file
  • Clean up

Of course there’re libraries and frameworks that can help you with this, but all of them still require some level of understanding of the multipart request beneath.

3.4 is entering the final lap in the race to the finish line with a GA launch.  Rounding the last corner on two-wheels, we are excited to launch a second Early Preview release.

A couple of weeks ago, we released the first  Mule 3.4 Early Preview which introduced a whole set of new features; in this second pre-beta release, we have further stabilized the new features and added a few more. Just to recap, the list below enumerates the highlights of the the first Early Preview release:

  • Visual Flow Debugging
  • Connection Management
  • Documentation Generation
  • DataMapper Enhancements

This second early preview has incorporated early-adopter feedback and offers even more!

Enterprise integrations running across trust boundaries demand robust security solutions. Enterprise Security enables end-to-end protection of your integration ecosystem. Join Reza Shafii, Director of Product Management at MuleSoft, to better understand how our enterprise-grade security solution can help you.



In this webinar, you will learn how to:

  • Block unauthorized access to your systems
  • Eliminate exposure of sensitive data and information
  • Prevent attacks through proactive threat management

Presenter: Reza Shafii,  Director of Product Management, MuleSoft, Inc.
Date: Thursday, January 10, 2013
Time: 8 AM PST / 11 PM EST

Register now >>

Since 3.3 the Expression Language () has been the default scripting language for expressions in Mule. It is very powerful and based on the MVEL language (note you can also use JavaScript, Groovy, Python and Ruby).   provides a very easy way to access the current message in a flow, write conditional filters and perform content based routing.  The MEL Cheat Sheet, gives you an overview of the commands you can use.


Other Resources

reza.shafii on Thursday, January 3, 2013

How to Protect Your APIs with OAuth


On this 10th ‘Day of Christmas’ blog post, we tackle an increasingly important question in the world of APIs: Presume that you would like to create a remote API (which perhaps exposes some legacy business logic) for access by internal and/or external clients. How can you make sure that access to your API is protected in such a way that:

A) Only clients that you trust can access them;
B) Those clients can access your API through the explicit authorization of their end-users; and
C) The end-users can be authenticated with a central entity, *withouth* having to share their credentials with your API’s clients.

One of our New Year resolutions is to create more content around specific subject areas. The aim of MuleSoft Blueprints is to provide a complete guide on a specific topic in a way that can be easily read and kept for reference.

To get you started we have a preview of the Load Balancing Mule for Availability and Scalability. This blueprint will introduce the necessary concepts and show how to achieve availability and scale with , , VM queues and more. This is a preview, we’d love to get your feedback on format, content and topics, you can reach us in the forums or just comment on this post.

Google Apps offers a cloud alternative to many of the office products.  If you have a Gmail account then you have Google Apps including Spreadsheets, Docs, Presentations, Contacts, Calendars and Tasks.  Of course Google Apps have APIS and of course we have the connectors to make it easy to connect Google Apps and your applications together.  Lets get the connectors and then take a look at what you can do.

Its good to connect and while we can’t help you get your cousin Billy to look up from his Nintendo 3DS we can help you connect to all the applications you use on the Web and a in the Enterprise.  APIs are common language of the web and the New Enterprise and this book is the perfect guide to get your applications talking to each other. With the number of open APIs reaching over 13,000 this year according to APIhub, 2013 will all be about how developers orchestrate to create applications.   is here to help.  Ryan Carter has done an excellent job of covering the subject in depth in his forthcoming O’Reilly book, Getting Started with Mule Cloud Connect. Here are the first 2 chapters to get you started.

john.demic on Sunday, December 30, 2012

Get your Mule 3.3 Refcard from DZone


Just a quick one today since you’re probably busy getting ready for the New Year (or clearing out your bunker after the world didn’t end on Christmas Eve as they Mayans predicated).  Either way we recommend that you go download and print the 3 Refcard from .  If you haven’t seen these reference cards before they are a great companion for working with many open source and commercial platforms. Th Mule 3.3 Refcard will guide you through the basics as well as provide examples for working with components , filters, annotations and exception handling.  You can get yours here.


john.demic on Friday, December 28, 2012

Holiday Reading: Mule in Action


You’re going to read more in 2013, right? Well lets get you started with this sample chapter, Implementation Patterns in Mule from the forthcoming book from Manning Publishing.  This book is the ultimate companion for anyone using and Manning run an early access program so you get get you hands on 8 chapters currently and even pre-order the book. Enjoy!