In the last article, you can find the idea of how to introduce field filtering for your APIs. My simplified Content Filter allows for providing negative or positive filtering. The first one tells which fields Filter removes from the target response. The latter one tells which fields should be available in the response. Today I…
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.
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…