What MuleSoft API-LED connectivity layer is intended to expose part of a backend database without business logic?
We are having a REST-based API exposed for a backend database, the API-led connector acts as an interface between the MuleFlow and the REST API.
MuleSoft API-LED provides the following benefits: Ability to consume REST APIs in Mule flow. Re-usable endpoints, can be re-used across the application. API-led connector is based on the Mule Data Management and API Integration (DMAPI) project. API-led Connector does not have any business logic. To see how it works, let's see how API-led connectors work using our example. Let's say we have an API that returns following JSON:
In this case we would have 2 Mule flows each returning the same data.
What is the API-LED connectivity approach in MuleSoft?
The approach to API-led connectivity is to take advantage of APIs to connect to the external systems.
This enables a range of new features like integrating with new services, and testing a service to make sure it works before integrating into production. The API-led approach is not mandatory to implement, but it is considered the best approach for modern architectures.
Using API-led connectivity is quite different from using a REST API. API-led connectivity is not REST. The API-led approach is not REST at all. It is the modern way of doing SOAP-based integrations. MuleSoft calls this "Service-Oriented Architecture" (SOA).
Why use API-led connectivity? This article will show you how to integrate an application with API-led connectivity in MuleSoft, and why it is the best approach for modern applications. You can use API-led connectivity for the following: Integrate to external services (SaaS, PaaS, IaaS). Use an API-led approach to integrate with new services before going live. Integrate your app with multiple services simultaneously. Developers also like this approach because it can help them scale by integrating with the same service multiple times. This article will show you the approach to API-led connectivity in MuleSoft, and you will see how to use it. The next section will explain the benefits of using API-led connectivity.
Why API-led connectivity? To answer this question, we will first talk about the benefits of using API-led connectivity. API-led connectivity has many benefits: It is easy to scale because you can reuse the same code to integrate with new services. It is easier to maintain the code because the integration logic is encapsulated in a service. The integration logic is decoupled from the flow, so you can add new services without affecting your flow. API-led connectivity lets you consume more services. API-led connectivity is better than REST, because you can integrate with more services with fewer calls. API-led connectivity is easy to use. API-led connectivity is easier to develop and test. API-led connectivity has the same benefits as service-oriented architecture.
Related Answers
What language is used in MuleSoft?
Here are the main ways it can be used: Mobile/Web Apps - MuleSoft can hel...
What is the difference between API Manager and API gateway?
MuleSoft API Manager is a service to help you define and run API inte...
What is MuleSoft Flex Gateway?
This topic outlines the minimum and recommended. requir...