Yuan Meng, Author at Perficient Blogs
Blog

Posts by this Author

  • Topics
  • Industries
  • Partners

Explore

Topics

Industries

Partners

Yuan Meng

Posts by this author:

Effectively Managing Mule API Versions

I attended the MuleSoft Connect 2018 conference, the largest industry gathering focused on integration & APIs. While I was at this conference, I had the honor of presenting how to effectively manage Mule API versions and portal site in multiple environments. Check out my presentation from the conference below: Effectively Managing Mule API Versions and […]

Read more

MuleSoft Crowd Release vs. Mule 4 Release

MuleSoft Crowd Release and Mule 4 Release have been out for a while. Crowd Release was out around May 2017, and Mule 4 was released at the end of 2017. Many existing Mule clients have upgraded to the Crowd Release, more new clients have adopted Mule 4. However, even with the rapid adoption, I have […]

Read more

OAuth Dance with Mule – Connect 2018

Here is the full presentation converted to PDF: Oauth Dance with Mule – Connect 2018.PDF OAuth2 has become the de facto standard for REST APIs. Yet, there are still many misconceptions of OAuth2 and its relationship with REST API. This session will first cover the general OAuth2 topics: Is OAuth2 a protocol?  What are grant types […]

Read more

Join Me at My Speaking Sessions at MuleSoft Connect 2018

I’m speaking at MuleSoft CONNECT, May 8 – 10 in San Jose, CA. Join me at the premier conference for digital business, where CIOs, IT leaders and developers come together to exchange ideas and pragmatic insights on driving business transformation! www.connect.mulesoft.com/2018 If you plan to come speaking sessions, please note the time just got updated! I […]

Read more

Upload and Download Files From AWS S3 Bucket Using Mule Connector and Access Token

For the most part, it should be straightforward to transfer files to and from AWS S3 buckets with Mule connector. S3 connector has been out there for a long time. If you just use customer key and secrete, you can see an example here http://www.dejim.com/blog/2016/03/10/amazon-s3-connector-download-bucket/ The complication comes when you also want to use an […]

Read more

Json Data Processing with Mule Transformers and Dataweave

As REST APIs are taking over the world, json has stood out and become the de facto data format for APIs. It’s important that developers are familiar with json data processing. A couple of years ago I wrote a blog post discussing Mule Json transformers. Since then, I have seen many new nuances dealing with […]

Read more

MuleSoft – Correlating Array and HashMap with Dataweave

In data processing, two of the most common collection data types are array (list) and map (HashMap). The key difference between a list and a map is how they are accessed. A list is accessed by an integer positional index, such as list. However, map is accessed by a key, such as map.getValue(“key1”) or simply […]

Read more

Generating Log Entries in Mule Java Component

This is another journal post so I don’t have to re-learn the same thing many times over in the future. There are different options if you need to use log file to debug Java component with Mule application. The laziest way is to use System.out.println() inside your Java code. If you do that, you just […]

Read more

Mule Flat File and Cobol Copybook Processing

A few months back, I worked on a project that involves flat file handling. I thought it was such an odd thing that people still use flat file in the 21st century. Ironically, I’m now on my 3rd project which involves flat file processing. It is not just flat file; I am actually dealing with […]

Read more

What is in a Mule API Version?

“What’s the version of your Mule API?” you might be asked one day. On the surface, you would think it’s such a trivial question, but if you think again, you would know there is much to more to the story. The truth is, there are a few “versions” of the same Mule API depending on […]

Read more

Mule API Exception Handling Patterns

Unlike regular Mule applications, when a new RAML based Mule API project is generated, the APIKit tool will create a global exception handler. Although this default exception handler covers some basic HTTP 400-level errors, it is only a starting point for a comprehensive error handling strategy. More can be done to enhance the error handling […]

Read more

Mule 4 and Studio 7 Beta Release: What’s New?

MuleSoft just announced the beta release of Mule 4 and Studio 7. If you have worked with any Mule products for the past few years, you will come to appreciate many of the new features in this beta release. To communicate all of the new features, MuleSoft is sharing a series of webinars on the […]

Read more

Applying a Mule API OAuth2 Security Policy

This post demonstrates the steps for applying an OAuth2 policy with Mule API manager. We will use the Mule External OAuth2 Provider as the authorization server. Most of the steps also apply to the Client-ID enforcement policy. For a Client ID policy, you can skip step 4, and pick the Client-ID enforcement policy for step […]

Read more

The SOA, the API and “REST” of the API

When I jumped on the API bandwagon a couple years ago, I thought I just caught the last train of the API phenomenon. Today API is still hot and getting hotter each day with no signs of abating. With things where they are now, I thought that it would be a good time to look […]

Read more

Exporting Common Mule Project as Jar

You might be puzzled why I’m posting such a simple thing. Let me tell you why I’m doing this post at this very moment. I do posting under two scenarios. Happy scenario: I come up with a topic, think it through and post it. Unhappy scenario: I did something a few months or a few […]

Read more

Mule And SSL Debugging

The newer Mule release (I’m currently on 3.8.3) has stopped supporting TLSv1 out of the box. But in some cases, your Mule application may need to “shake hands” with an older application that runs SSL (with TLSv1). For  an on-prem server, the solution is to modify “MuleHome/conf/tls-default.conf” file, and change this line: enabledProtocols=TLSv1,TLSv1.1,TLSv1.2 Please note […]

Read more

OAuth Dance with Mule External Provider

OAuth Dance sounds like such a romantic term in the otherwise boring IT landscape. The term also helps dazzle many beginners who are trying to grasp the essence of this seemingly magical new security mechanism. Although plenty has been said about OAuth2, I still find it is valuable to walk through all four OAuth grant […]

Read more

Running Mule API in Hybrid Mode – 3.8.x

Things are moving fast with Mule (no pun intended). It has been barely a year since I posted about the Mule hybrid API with 3.7 release.  That version has already become somewhat obsolete. With the Mule release 3.8, the API gateway and ESB are firmly fused into one (technically that already happened with the last 3.7.x) and […]

Read more

Enabling HTTPS for a Mule Application

Enabling HTTPS is a common task when developing HTTP based applications. With many platforms, such as Apache server, WebLogic, JBoss etc, it’s simply a matter of clicking a checkbox, or change one config line. For a Mule application, it takes a bit more finessing. There are plenty of posts and online resources discussing it. Yet […]

Read more

Mule Variable Scopes and Passing Global Values with Mule Registry

Mule variables and their scope are a widely-discussed subject. Even with the official document (linked above) and plenty of online discussions, I still find there are subtleties left to be discovered. Sometimes it takes experimenting to find out the precise behavior. This is how I sum up the general rules concerning variables and scopes: Flow […]

Read more

Subscribe to the Weekly Blog Digest:

Sign Up