What are Mulesoft connectors?

Posted by Pankaj N.
2
Apr 12, 2022
293 Views
Image

A connector could be software that has a connection between a Mule flow and an external resource. The resource is any source of content, like a database, protocol, or API. You'll create a connector with the Anypoint Connector DevKit and also the Anypoint Studio IDE. A connector is written in Java version 6 or 7. Connectors access web resources using REST, SOAP, or the Java SDK. Mulesoft developer certification is an Integration Professional exam is MuleSoft’s second (i.e. highest) level expert accreditation in developing integrations with MuleSoft solutions. An exam preparation guide can be obtained from the MuleSoft Certification.


Anypoint Connector DevKit provides the tools and interfaces for building custom connectors. As reusable components that hide API complexity from the mixing developer, custom connectors facilitate integration with SaaS and on-premise Web services, applications, and data sources. Connectors that you simply build using Anypoint Studio and in Mule ESB runtime environments, function as extensions of the core product.


Connector Architecture

A connector has two sides. The Mule-facing side communicates with a resource’s target-facing client-side to enable content to travel between the Mule flow and also the resource.


Mule-Facing Functionality

From the Mule-facing side, a connector consists of the main Java class. Java code that you just annotate with the @Connector attribute.


Connector attributes. Properties of the Connector class that you simply annotate with the Configurable attribute. See Java annotations for information on how annotations work. See the Annotation Reference for information about Anypoint Connector DevKit annotations.


Methods. Functionality that you simply annotate with the Processor attribute. Additional annotations define authentication-related functionality and connection management and control the layout of the Anypoint Studio dialogues for the connector. The information model and exceptions that either raise or propagate also are Mule-facing classes. Anypoint DevKit generates a skeleton connector after you create your Anypoint Connector project in Studio. The skeleton connector includes the Connector class, the Configurable attributes, the processor methods, and authentication logic to create your connector. During the build process, the annotation processor extends your code with functionality to integrate with Mule.

Comments
avatar
Please sign in to add comment.