Author: Gaurav Dubey

Exception Handling in Apache Camel using Spring

Reading Time: 3 minutes Apache Camel is a rule-based routing and mediation engine that provides a Java object-based implementation of the Enterprise Integration Patterns using an API (or declarative Java Domain Specific Language) to configure routing and mediation rules. In this post we will implement Exception Handling in Apache Camel using Spring. Features of Apache Camel Apache camel is a lightweight framework. It provides us with a number of components. Continue Reading

Spring Cloud Gateway Pre and Post Filters

Reading Time: 4 minutes Spring Cloud Gateway Spring Cloud Gateway provides a flexible way of routing requests based on a number of criteria, as well as focuses on cross-cutting concerns such as security, resiliency, and monitoring. An API gateway allows you to implement the complexity separately from the client, moving that responsibility from user side to server side. All the client needs to know is how to talk to the gateway. It Continue Reading

Spring Cloud Gateway Custom Filter

Reading Time: 4 minutes Spring Cloud Gateway Spring Cloud Gateway provides a library for building API gateways on top of Spring and Java. It provides a flexible way of routing requests based on a number of criteria, as well as focuses on cross-cutting concerns such as security, resiliency, and monitoring. An API gateway allows you to implement the complexity separately from the client, moving that responsibility from user side Continue Reading

Object creation in Spring

Reading Time: 3 minutes In spring IOC container deals with Object creation, Dependency satisfaction, and Life-cycle Management. It states that application programmers should only be concerned with the use of objects. Object creation and their management should be handled by an IOC container. The delegation of responsibility from the programmer to the IOC container is known as Inversion Of Control. IOC container can create bean in two ways Directly, Continue Reading

Introduction to Spring MVC

Reading Time: 3 minutes Spring is the most commonly used framework in Java. It is a general purpose framework i.e it can be used in console applications, desktop applications, web applications, or web services. It is a modular framework i.e it contains different module. Core module : Provides basic IOC implementation web-mvc : Provides an mvc based framework for developing dynamic web-application. ORM-module : Facilitate integration to the framework Continue Reading

Introduction to Resilience4j

Reading Time: 3 minutes Resilience4j is a fault tolerance library designed for Java 8 and functional programming. It is lightweight, modular and really fast. We will talk about its modules and functionality later, but first, let’s discuss it briefly. Fault Tolerance The ability of some components of a system to function properly in the event of a failure. It sounds simple, but it is not that easy to achieve, Continue Reading

Introduction to MUnit

Reading Time: 3 minutes MUnit is a MuleSoft’s testing framework that allows developers to create, design and run unit tests on APIs and integrations created within Anypoint Studio. MUnit is fully integrated with Anypoint Studio, allowing you to create, design and run MUnit tests just like you would Mule applications. It provides a full suite of integration and unit test capabilities. Features available with Mule MUnit You can create Continue Reading

Working of map and mapObject function in MuleSoft

Reading Time: 2 minutes Before understanding the map and mapObject functions in MulseSoft, let’s get familiar with the term MuleSoft. What is Mulesoft and what is Mulesoft used for? What is MuleSoft? MuleSoft provides an integration platform called Anypoint Platform to help businesses connect data, applications and devices across on-premises and cloud computing environments. What is MuleSoft used for? MuleSoft used to connect a variety of data sources, applications, perform analytics Continue Reading

What is DataWeave?

Reading Time: 3 minutes DataWeave is a programming language designed for transforming data. It is MuleSoft’s primary language for data transformation, as well as the expression language used to configure components and connectors within mule. DataWeave allows users to easily read and parse data from one format, transform it, and write it out as a different format. For example, a DataWeave script could take a JSON object and transform Continue Reading