A couple of my last articles focuses on connectivity between Salesforce and MuleSoft. This will be the next article in the series. In many cases, we would like to set up as secure communication as possible. We can start by enabling secure HTTP traffic, then sending a basic authorization header. How about sending a signed…
Why Salesforce can’t connect to my API over DLB?
Last time I described connectivity scenario when Salesforce was reaching MuleSoft API exposed via Shared Load Balancer. What do we need to take into consideration when we slightly change our infrastructure and purchase a Dedicated Load Balancer? There are some vital changes that we should be aware of. In this article, I point out at…
Content Filter pattern for REST service fields filtering
At some point, you may have a service that returns a lot of fields and related objects. What if the service consumer doesn’t want all the fields all the time? In other words, he/she would like to have the response filtered. Here come the Content Filter to the rescue. After you read this article you…
Circuit Breaker Module
I guess that we more often think about our services in “happy path” term, but we underestimate not so happy paths. What if my API is trying to reach another API/system and it is failing constantly? Can I reach it less often in case of timeout? I thought about that in case of a Mule 4 application and I come up with Circuit Breaker pattern. In this article I will briefly introduce the pattern and show you how you use it in your Mule application.
Object Store v2 – rate limiting may be a problem
Lately, I had to design the solution that would store errors next to the application on CloudHub in Object Store v2. However, the problem arouses when the object store started to contain more than one thousand entries. Eventually, the solution began to fail reads and other operations. What has happened? In this article, you will…
How to attach your application to Mule Domain?
In the previous article, I have described how to create a custom Mule Domain Project. This time we will try to consume that. In other words, we will attach the Mule application to our previously defined domain. Link Just to recap. Let us see how our domain looks like. We have a mydomain project with…
Practical overview of sharing global configuration using Domain Project
In the previous article, I have described how to share common functionality encapsulated in the flows and subflows. This time I will focus on the common configurations that should be shared among our applications, especially in the context of on-prem deployment. Mule has a domain project application that can solve that. You will see how…
How to share reusable code in MuleSoft
Reusability is essential to deliver functionality quicker and more consistently. I wrote about reusing DataWeave code in Modules, and also reusing RAML using API Fragments. Today I focus on sharing common logic encapsulated within the (private) flow or subflow. I will create a standard MuleSoft application and amend it to make it truly Common Module….
Enrichment Pattern in Mule 4
Content Enricher is definitely a useful integration pattern. It allows easily enrich message content with new data gathered from external resources. In the vast majority of Mule’s apps, I have been using the Message Enricher Component. Today I will point main differences in Mule 3.x and Mule 4.x regarding this element. Content Enricher pattern When…
Is my service healthy? How to for Mule 4 Runtime.
It is a good practice to monitor your service and check whether it is available and/or is performing as expected. To do this, we need to specify what the service’s health term means. In this article, I will present two different definitions. However, keep in mind that you can have your own project’s specific definition. All…