DataWeave 2.0 scopes for local variables: 'using' vs. 'do' operators
In this post, I'll go through some of the main differences between these two operators so you decide which one to use in your scripts!
Feb 14, 2023
Reference-style deep dives and explainers you can come back to.
In this post, I'll go through some of the main differences between these two operators so you decide which one to use in your scripts!
Feb 14, 2023
The other day I was reading some StackOverflow DataWeave questions and I got to this very interesting thread.
Jan 31, 2023
As you are aware that recently MuleSoft has introduced Universal API Management capabilities via Flex Gateway and API Governance components as part of Anypoint Platform. These two components are very important as a part of API lifecycle management and those will help to manage any APIs using a single platform and ensure that whatever API specs that you are designing are with best practices and all security aspects have been taken care of during API design.
May 31, 2022
This article is going to explain the mechanisms that you can use within a MuleSoft application to read messages from a Topic and partitions, and which are the expected behaviors and consequences.
May 10, 2022
In a recent MuleSoft project, I noticed a problem when trying to run an Oracle stored procedure that took a fair amount of time to complete.
Feb 15, 2022
A transaction is a group of operations where all the steps are needed to be successful to commit a result. If any one of the intermediate steps fail, the whole chain of steps fails collectively. In this post, we'll learn how to implement Single and XA transactions using MuleSoft.
Oct 12, 2021
In this series of posts, I’ll show you how to create a striking README.md file to attach to your GitHub profile.
Sep 14, 2021
We know that in DataWeave the types can be coerced from one type to another. For that we use the as operator. There is a property called mode that we can use when we are parsing date and time values. The mode parameter has three different valid values: SMART, STRICT, and LENIENT. The default mode when you are parsing dates is SMART.
Jul 13, 2021
It took me some time to find and fully understand how to use these hacks. Trust me; they're truly worth it: the DataWeave Playground, the dw output, the log function, the do statement, and assigning types to variables and functions (with Function Overloading when needed).
Jun 1, 2021
A step-by-step guide for new writers on how to create a blog post with ProstDev, covering the Google Doc template, word count, title, excerpt, SEO description, article formatting, and the review process.
May 4, 2021
There are different ways to import a module in DataWeave for functions that aren't part of the core: import the module directly, import all functions from a module, or import one or more specific functions from a module.
Apr 20, 2021
A compilation of all the core functions that can be used in DataWeave 2.0 according to MuleSoft's official documentation, separated by input and output, with a link to each function's official documentation page.
Jan 19, 2021
There are a lot of Status Codes reserved for certain API Responses, but we will be looking at the most popular ones: 200, 201, 202, 204, 400, 401, 403, 404, and 500.
Jan 12, 2021
A walkthrough of the features available so far in the Anypoint Platform Chrome Extension: see your Organization name, Organization id and Environment id, inspect Runtime Manager applications, view schedulers, and check alerts.
Dec 1, 2020
Learn what a URL and a URI really are and how they fit into our previously defined API diagram, using the public Joke API as a hands-on example.
Nov 24, 2020
The most popular HTTP methods are GET, POST, PUT, PATCH, and DELETE. GET retrieves data, POST creates new data, PUT updates or replaces data, PATCH updates parts of existing data, and DELETE removes data — and how each fits into the API Request and Operation.
Nov 3, 2020
CIDR stands for Classless Inter-Domain Routing and it's a way of allocating IP addresses or hosts in a more efficient manner. It replaces the old way of allocating IP addresses based on the class system and avoids the waste of IP Addresses.
Sep 29, 2020
Dedicated Load Balancer is an optional component within the Anypoint Platform used to route HTTP and HTTPS traffic to multiple applications deployed to CloudHub workers in the VPC. Learn how to apply mapping rules on a dedicated load balancer (DLB) to redirect requests to CloudHub apps.
Sep 22, 2020
Thinking about writing your first technical article but not sure where to start? Here are some tips on choosing what to write about and defining your target audience so you can get your first post out.
Sep 8, 2020
Learn about some analogies and real-life examples of APIs to understand them better, including a restaurant, a calculator, and a Human Resources (HR) API using CSV and JSON data types.
Sep 3, 2020
The concept of an API can be hard to grasp. This post gives a simple explanation of what an API is, its 4 aspects (Inputs, Operations, Outputs, Data Types), and how Requests and Responses fit together — plus a diagram to refer back to.
Aug 27, 2020
Learn how to implement a Merge Sort sorting algorithm using Python. Merge Sort's time and space complexity: worst, best, average case time complexity and space complexity. Big-O Complexity Chart and more study resources to understand how to implement this sorting technique with other programming languages.
Aug 25, 2020
This article on Error Handling in Mule 4 will help you understand the core concept of On-Error Propagate and On-Error Continue, with three simple rules and five examples.
Aug 13, 2020
Learn how to implement the new ForEach MuleSoft component that was released in Mule 4. Read this post for information about this integration technique: how does it work, how can you implement it, how to install in your Mule palette, and how to configure Error Handling for this scope.
Aug 6, 2020
Learn how to implement an Insertion Sort sorting algorithm using Python. Insertion Sort's time and space complexity: worst, best, average case time complexity and space complexity. Big-O Complexity Chart and more study resources to understand how to implement this sorting technique with other programming languages.
Aug 4, 2020
Learn how to implement a Selection Sort sorting algorithm using Python. Selection Sort's time and space complexity: worst, best, average case time complexity and space complexity. Big-O Complexity Chart and more study resources to understand how to implement this sorting technique with other programming languages.
Jul 14, 2020
Learn about what is software quality, what is a quality assurance resource (QA), best practices when coding, what is the importance of testing, some software quality types and objectives: unit testing, integration testing, system testing. Functional vs. Non-functional testing. How to ensure your customer's satisfaction
Jul 9, 2020
Learn about the scatter-gather integration pattern and how to implement it in MuleSoft (Mule 4). How the input message gets processed, how to code error handling scope with this component, and how to test it using Postman. What happens if you have multiple services calls, and the configuration XML file for you to try.
Jul 7, 2020
Learn how to implement a Bubble Sort sorting algorithm using Python. Bubble Sort's time and space complexity: worst, best, average case time complexity and space complexity. Big-O Complexity Chart and more study resources to understand how to implement this sorting technique with other programming languages.
Jun 30, 2020
What is an IDE? This post explains the concept and walks through five reasons you need one: syntax highlighting, text autocompletion, refactoring options, importing libraries, and build/compile/run — plus favorite IDE examples for different languages.
Jun 25, 2020
What is the Scatter-Gather integration pattern? Enterprise Integration Patterns definition. Learn about how this component processes messages in MuleSoft (Mule 3 or Mule 4), when you should use scatter-gather and how does it work, why you should be using it and how to implement it and test it with Postman.
Jun 23, 2020
What is object concatenation and how to use it in Mule 4 - DataWeave (DW) 2.0. Similar to concat or + functions in other languages, in DW you can use ++ (plus plus), using {( )} and {([ ])} parentheses object destructors with or without arrays. Learn more about MuleSoft here!
May 28, 2020
An intro to what MuleSoft is, what the company and its products do, and how you can get certified for free through their online fundamentals training.
May 25, 2017
See every category and topic on the blog or browse the tag directory.