Understanding read and readUrl Functions With MuleSoft DataWeave

read Function

read function is used to read the string or binary and returned parsed content. It is a very useful function when the reader isn’t able to determine the content type by default.

It takes three parameters:

Source de l’article sur DZONE

How to Use Mulesoft VM Connector

VM Connector is used for intra-app (within the app) and inter-app communication through either transient or persistent asynchronous queues.               

  • Transient queues: This type of queue is volatile means data would be lost in case of system crashes or restart. Transient queues are faster than persistent queues.
  • Persistent queues: This type of queues are more reliable, data would be persisted in case of a system crash or failure, or restart. These queues are slower than Transient Queues.

VM Connector is mainly used for the following: 

Source de l’article sur DZONE

Logging With New Relic for Mulesoft APIs

What Is New Relic?

New Relic is web application performance service designed to figure in real-time together with your live web app. New Relic Infrastructure provides flexible, dynamic server monitoring. You can see the important performance data of your app in New Relic, like browser reaction time by geography and browser type, web transactions in real-time, etc.

Steps to Registering With New Relic

  1. Go to
  2. Click on Sign Up if you do not have an account already.

New Relic sign-up screenshot.

Source de l’article sur DZONE

Dataweave Interview Question Using Map and Reduce

This article will help you practice your Dataweave skills in Mulesoft. Here we have to convert the input to a specific type of output. Let’s get started.


Source de l’article sur DZONE

Implementing Custom Policies With MuleSoft


MuleSoft provides out-of-box policies that can be applied to APIs for enhancing the functionalities of the APIs. These policies include various categories like security, compliance, troubleshooting, transformation, QoS, custom, etc.

MuleSoft also provides the capabilities to implement custom policies and Custom Policies are policies that anyone can develop and apply to their APIs, with the intention of extending existing functionality or defining new ones. 

Source de l’article sur DZONE

MuleSoft for Beginners – Mule 4 Development (Complete Series )

Hey Guys

These are below 10 videos that help you to learn MuleSoft Development Hands-on!

Source de l’article sur DZONE

Anypoint Deployment Models Which One to Go For?

Being an Architect, Product Owner, or a CXO of your organization has already purchased a brand new Anypoint platform subscription or planning to get one based on evaluation of the platform and now In dilemma which subscription model to go for?

This article will help you to provide a 1000ft overview of various deployment options available in Anypoint platform and which one to go for. 

Source de l’article sur DZONE

Editors’ Picks: Summer 2020



Big Data





  • Mulesoft 4: Continuous Delivery/Deployment With Maven by Ashok S — This article is a great example of what we want every tutorial to look like on DZone. The main aim of this article is to provide a standard mechanism to release project artifacts and deploy to Anypoint Platform, from the local machine or configure in continuous delivery pipelines.
  • Integration With Social Media Platforms Series (Part 1) by Sravan Lingam — This article helps you to build a RESTful API through MuleSoft that integrates with LinkedIn and shares a post on behalf of one’s personal account. I like this article because, in the age of social media, it’s so important for businesses to be connected and integrated!




Open Source


  • What Is Big O Notation? by Huyen Pham — Aside from a silly name, this article is an example of an in-depth analysis on a little-spoken-about concept. In this article, take a look at a short guide to get to know Big O Notation and its usages.
  • Is Python the Future of Programming? by Shormisthsa Chatterjee — Where is programming going? This article attempts to answer this question in a well-rounded way. The author writes, "Python will be the language of the future. Testers will have to upgrade their skills and learn these languages to tame the AI and ML tools".


Web Dev

  • A Better Way to Learn Python by Manas Dash: There’s so many resources available for learning Python — so many that it’s difficult to find a good and flexible place to start. Check out Manas’ curated list of courses, articles, projects, etc. to get your Python journey started today. 
  • Discovering Rust by Joaquin Caro: I’m a sucker for good Rust content, as there’s still so many gaps in what’s available. Joaquin does a great job of giving readers his perspective of the language’s features in a way that traditional docs just 

Source de l’article sur DZONE

Website Hosting with MuleSoft API


One of the interesting features of MuleSoft is that we can use a MuleSoft application to package and host website content. We package our website pages inside a MuleSoft application and deploy it to Anypoint Platform or Cloudhub and our website is published and accessible to the end-users. In this article, I will give you an example scenario of how it’s done so, you can use it for your own needs.

Imagine you are doing file transfers with MuleSoft and your target location is not always accessible. You have an option to move files in a temporary location and retry at a later point in time. While you can automate all of this, sometimes your customers would like a little bit more flexibility and control around retrying and clear visibility into what has not been yet transferred successfully.

Source de l’article sur DZONE

Establish Connection Between Google Cloud Platform and MuleSoft Anypoint VPN Using BGP Routing (IPSec Tunneling)

In my last article, we have deep dive into the architecture of Anypoint VPC, VPN (IPSec Tunneling and VPC Peering). We are going to see how we can establish the connection between Anypoint platform and GCP using the VPN IPSec tunneling.


  • Anypoint Platform account with VPN
  • Set up Anypoint VPC.
  • GCP Account for creating VPN.

Lets understand how we can create or establish the connection between the Anypoint Cloudhub and GCP.

Source de l’article sur DZONE