Below is an interactive infographic about the basics of Error Handling in Mule 4. It is a guide that prepares you for MuleSoft Certified Developer – Level 1. You will find here how is error message structured. How do On Error Propagate and On Error Continue works. What is the default behavior for error handling?…
Call asynchronous SAP service using Web Service Consumer
SAP is a well-known company that offers many products, mainly from the ERP domain. It is a matter of time when you need to write an integration with any SAP products. In this article, we do not use any existing connectors like the Mule 4 SAP connector. We consume exposed SOAP Web Service with an…
Chat API exposed over Web Socket
On one of the Calicut MuleSoft Meetups, I was presenting the idea of Web Sockets on the MuleSoft platform. To make it more interactive, I prepared a demo application. It was a simple Chat API with a straightforward HTML page to post a message and see chat room messages. Today I want to describe this…
Introducing fault tolerance using Until Successful scope
Our APIs should be fault-tolerant. We have many strategies to cope with this. Previously I described a possible scenario with a circuit breaker pattern. Today I remind you of another, simpler way. Retry! We can retry the operation a couple of times before using a different fault tolerance pattern or stopping processing the message. Let’s…
How to shuffle elements in the DataWeave array?
In this short article, I show you how to shuffle your array. In other words, we will randomly reorder the elements in the array. So let’s get started. Sample case I have an array of numbers like Anytime I run the operation I would like to receive different order of elements in the array. Here…
Discover how to sign AWS API Request using DataWeave
MuleSoft and its Partners are publishing many connectors. It’s great as we can quickly and with less overhead start integrating with 3rd parties. However, there are situations where no connector exists. This may happen for smaller or bigger systems. I come across that challenge while trying to call AWS service through its REST API. This…
Set up Anypoint Studio 7.7 – all you need to know
What is the most important thing that a mule developer needs? I think that well configured IDE is the answer. While you can have an appropriate set of skills, without a good toolkit you wouldn’t be as efficient as you could. Therefore in this article I explain how I configure my development environment. I hope that you would enjoy it :).
How to get months and years difference between the two dates?
Some time ago, I was asked to compute the difference between the two dates (Period). Sounds simple, isn’t it? However, I needed this difference presented in days, months, and years. It was not that obvious how to achieve that. Let’ see how I did it. Overview We want to see how long given employee is…
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…
Publish API via CloudHub for Salesforce – connectivity test
Once we develop and deploy our MuleSoft applications, it is a good idea to test the connectivity. Is the calling system able to reach our API and receive a response? In this article, I will focus on the case when I expose API to Salesforce. I will use the Salesforce playground that is available on…