Transform Message is a very powerful component in Mule 4. It gives a lot, but with the new DataWeave 2.0 language, we need to be careful. Sometimes we lack metadata or metadata is insufficient and Transform Message component may behave differently as we expect. What is more we may receive transformation exception. Case In the…
DataWeave Tip #8 – write function
Recently I have been working on a really simple case. When an HTTP server returned an error and not empty body I needed to embed this body into an error structure. Although this is simple case I got a problem with implementing it in Mule 4. In the previous Mule edition it was a little bit simpler. So let’s see what it is all about.
Property placeholder’s issue in MUnit
In this brief article I will describe the problem and solution that I have lately faced. As it is a good practice not to hard-code connection data I have extracted them to external file called connection.properties. I did not expect to receive an error something like $[smtp.host]. I did not know what it can means. Below I have described what it is.