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?…
CloudHub Networking Infographic – easy networking guide
Below is an interactive infographic about the basics of CloudHub Networking. Not sure how to tackle VPC? Where fits shared load balancer or dedicated load balancer? You will find your answers here. Do you like it? Leave the comment and share it with the Community 🙂 If you like it, you can find here new…
Security issue while client certificate validation on DLB
In many projects that I participated in, mutual TLS was a first choice to secure some of the experience APIs. Two-way TLS is great in proving that two sides are known to each other via the exchange of client certificates. Let’s see how it works in CloudHub when we are leveraging Dedicated Load Balancer. Architecture…
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…
Async API is a way to describe event-driven APIs
We are used to designing and exposing REST APIs using Design Center and Anypoint Exchange. MuleSoft is one of the leading middleware vendors that introduced the complete design life cycle. It helped a lot as the majority of the APIs are RESTs. On the other hand, we have event-driven APIs using queues, streams, sockets. So…
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…
A useful guide on exposing APIs using DLB on CloudHub
If you want to follow the API-led principles your process and system APIs should not be accessible from outside. These APIs are only for internal usage. On top of them, other APIs are built and the application network grows. Experience APIs should be available for consumers to use. Today I show you how can it…
How to map your API version using DLB?
In the last article, I described two scenarios of API versioning for the CloudHub environment. I recommended embedding the API version in the application name to allow easily deploying multiple versions of the API at the same time. Did you know that we can even improve that approach? We can use a feature of Dedicated…
How to version an API to easily deploy many versions?
We version the APIs to track the changes we made to them. Most of the time, it is sufficient to host just a single, major version of the API. However, there are cases when we need to host the previous version for backward compatibility reasons. In this article, I decided to share my thoughts on…
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…