Articles

Articles tagged mule

Solving Complex Problems With DataWeave

Posted by Lipika Naik on 16 November 2018

DataWeave is the primary transformation language in Mule. What is interesting about DataWeave is that it brings together features of XSLT (mapping), SQL (joinBy, splitBy, orderBy, groupBy, distinctBy operators), Streaming, Functional Programming (use of functions in DataWeave code) to make it a power-packed data transformer. I am going to discuss some of the scenarios which will help developers solve some difficult problems using DataWeave. The three topics I would like to discuss here are:

Continue reading

XSLT Extension Functions in Mule 3.6+

Posted by Robert Valk on 19 November 2015

The Mule 3.6 release brought a comprehensive and very welcome refresh of XML capabilities, including cutting-edge XSLT support via the Saxon 9.6 HE library. Unfortunately one feature lost in this overhaul was Saxon’s easy mechanism for using Java methods as XSLT extension functions. Here’s how we made it easier to use Java extension functions that work with Mule’s new XML stack.

Continue reading

Upgrade your Groovy Scripts in Mule with DSLDs

Posted by Edward McLoughlin on 29 September 2015

The groovy script transformer component is a very powerful piece of Mule. I use it for almost every message transformation that I need to make. Its XML and JSON libraries reduce message format conversion down to little more than building a map, while closures give you some powerful processing tools for handling complex data structures.

Continue reading

Advanced File Handling in Mule

Posted by Robert Valk on 15 June 2015

With all the drag-and-drop goodness of AnyPoint Studio these days, it’s easy to forget that under the hood Mule ESB remains a very powerful, configurable and extendible framework. This power comes in handy when you’re faced with demanding file processing requirements in advance of Mule’s out-of-the-box functionality.

Continue reading

LDAP Security in Mule

Posted by Devendra Khanolkar on 26 February 2015

On a recent client engagement we adopted SOAP over HTTP as our preferred communication channel for Web Service consumers. Since the transport protocol was HTTP, our next requirement was to setup HTTP Basic Authentication and role-based authorization. We tend to prefer simpler transport-level authentication over WS-Security which is overkill for most situations.

Continue reading

Developing Bulk APIs with Mule, RAML and APIKit

Posted by Robert Valk on 02 December 2014

Recently we’ve been writing quite a few ‘bulk’ APIs - where consumers don’t want a single resource, or a screenful of search results but instead need (close to) the entire record set. In this blog we discuss several features of the Mule ESB platform that make is easy to design and implement bulk APIs over a variety of back-end technologies.

Continue reading

Reliable Messaging with Mule ESB and Amazon SQS

Posted by Andy Evans on 19 June 2014

I recently used Mule ESB with Amazon's Simple Queue Service (SQS) as the supporting messaging infrastructure. Whilst I was able to achieve a reliable outcome that satisfied all requirements, there are a number of aspects of SQS that make it different to the typical JMS-based messaging system. In this post I’ll cover these key points of difference and walk through an example of a robust and reliable Mule flow that can be applied to a range of common integration scenarios.

Continue reading

Accelerating Mule ESB Development With Project Templates

Posted by on 27 May 2014

For a recent Mule ESB project we needed to pump out a lot (100+) of ESB service operations. Most of them followed the same pattern: synchronous request-response to a single provider API. With so many similar flows to knock out, our thoughts quickly turned to ways to automate development. How much of our code could we generate? Thanks to strong coding and naming standards and the clean and open nature of Mule XML configuration, the answer turned out to be 'almost all of it'.

Continue reading

Data Mapping with Groovy - Part 2

Posted by on 02 December 2013

Part 1 of this series layed the foundation for some Groovy concepts and what makes the language suitable for data mapping tasks. With that in mind, lets dive into some of the advanced mapping features and some real world samples.

Continue reading

Data Mapping with Groovy - Part 1

Posted by on 14 November 2013

ESB services involve working with a variety of different data formats and structures e.g. XML, JSON, CSV, spread sheets, key-value structures. Transformations between XML and other data structures are quite common when it comes to developing an ESB layer. Mule ESB provides a wide range of choices when it comes to scripting and data transformation.  There’s enough choice to satisfy the proclivities of any developer.

Continue reading