Mule ESB 3.1 Released

by Tim Cull on Jan 13, 2011 |

This week, MuleSoft released version 3.1 of its enterprise service bus, Mule ESB. Mule 3.0 was released in September with one major focus: "simplify make Mule 3 more accessible to everyone".  Mule 3.1 takes the simplification further by focusing on Mule Cloud Connect, Mule Flow and BPM.

Mule Cloud Connect is the branding for Mule's ability to use publicly available services. Version 3.1 ships with only four connectors to use Twitter, SalesForce and online payment services Authorize.Net and Cybersource. All of the Mule announcements use Twitter as an example, so to change things up below is an example of Authorize.NET processing a credit card payment:

    <auth:config merchantLogin="<YOUR MERCHANT LOGIN>" merchantTransactionKey="<YOUR MERCHANT TRANSACTION KEY>" name="auth" testMode="true"/>

    <flow name="payment">
        <http:inbound-endpoint address="http://localhost:9898/payment" exchange-pattern="request-response"/>

        <auth:authorization-and-capture cardNumber="370000000000002" expDate="12/12" amount="400"/>
            <return-argument evaluator="bean" expression="responseReasonText"/>

Developers can also build their own cloud connectors (instructions, login required) that use their own, custom XML schema for configuration.

Mule Flow, which was introduced in version 3.0, was improved with added support for three higher-level abstractions: "invoke" which calls a service, "poll" which monitors an endpoint and triggers a process when something arrives, and "enricher" which can take the results of a system call and inject them into the payload of the currently running process. In addition, version 3.1 upgrades the underlying version of Apache CXF to 2.3.0 and adds support for Spring Security v3.

Lastly, Mule loosened up its relationship with Business Process Management (BPM). jBPM is "now a component in Mule rather than a transport, this not only enable the use case when we are connecting to an external BPM engine but also enable the use case when using jBPM "inside" Mule to process messages". One practical implication of this change is that the BPM transport that was deprecated as of Mule 3.0.1 has now been removed in 3.1. The new recommended way to interact with BPM is via the "<bpm:process>" message processor.

While Mule code is open source under the CPAL license, extra features like the Mule management console and other features require a commercial license. Other alternatives to Mule include Apache ServiceMix, Apache Synapse and JBoss ESB. With 3.1's Flow capability, Mule also starts to resemble integration solutions like Apache Camel and Spring Integration.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

General Feedback
Marketing and all content copyright © 2006-2016 C4Media Inc. hosted at Contegix, the best ISP we've ever worked with.
Privacy policy

We notice you're using an ad blocker

We understand why you use ad blockers. However to keep InfoQ free we need your support. InfoQ will not provide your data to third parties without individual opt-in consent. We only work with advertisers relevant to our readers. Please consider whitelisting us.