SlideShare a Scribd company logo
Creating a Custom
Connector in Mule
By
Achyuta Laxmi
Overview
 What is Mule Connector?
 Development Steps
 Setup to create Connector
 Determine resource access
 Choose an authentication mechanism
 Choose the connector’s data model
 Add connector @ attribute annotations
 Code tests
 Document your connector
What is Mule Connector?
A MuleSoft connector is an extension module to the MuleSoft Anypoint Platform, with
modules that ease the interconnection of third-party systems and APIs with Mule
applications.
Development Steps
Step 1:
To develop a custom connector one need to install:
Java JDK version 7,
Apache Maven,
Anypoint Studio, and
Anypoint DevKit Plugin to build and test your connector.
You can develop a connector using Windows, Mac, or Linux.
Setup to create Connector
New Connector :
•Create an Anypoint project -
•Set up Anypoint Studio and install the connector plugin.
Existing Connector:
•Click File > Import > Anypoint Studio > Anypoint Connector Project from External
Location, choose a URL or a .zip file, and complete the wizard to locate and import the
project.
Determine resource access
Determine resource access - Each resource has a different access method, such as
REST,
SOAP,
FTP, or
the Java SDK features.
Choose an authentication mechanism
Choose an authentication mechanism -
Mule supports OAuth V1 or V2, and username and password authentication (known
as connection management), which can be used for protocols such as API Key, SAML,
NTLM, Kerberos, or LDAP.
Choose the connector’s data model
Choose the connector’s data model - Models can be static Java objects or dynamic
objects.
You can use
DataSense - Determine what information the target resource expects.
Add connector @ attribute annotations
Add connector @ attribute annotations -
Create code for your connector containing the @ attributes that Mule uses to designate
the important parts of your connector.
Code tests
Code tests - Tests can be unit tests, functional tests, and Studio interoperability tests.
While DevKit does not enforce writing tests, you should develop unit and functional tests
for your connector as part of the development process. A connector should not be
considered production-ready without a proper test suite.
Document your connector
Document your connector -
MuleSoft provides a template that helps you fill in the blanks to create documentation
to help your staff and to help others understand the features and use of your
connector.
Package your connector
Package your connector
When your connector is ready for release to a broad audience, take the following
additional steps to ensure user success:
• Create a license agreement for your connector.
• Develop end-to-end walkthroughs to illustrate performing common use cases with
your connector.
• Create a compressed file for distribution.
Conclusion
MuleSoft’s program certifies and publishes third party connectors to be distributed
through Anypoint Exchange.
References:
https://docs.mulesoft.com/anypoint-connector-devkit/v/3.7/
Thank you

More Related Content

PPTX
The anypoint platform for API's
PPTX
Integration with Microsoft SharePoint using Mule ESB
PPT
Raml api designer
PPTX
Mule api gateway overview
PPTX
Mule Integration with Atlassian JIRA
PPT
Mule anypoint connector dev kit
PPTX
Mule Integration with Dropbox
PPT
Mule esb–api layer
The anypoint platform for API's
Integration with Microsoft SharePoint using Mule ESB
Raml api designer
Mule api gateway overview
Mule Integration with Atlassian JIRA
Mule anypoint connector dev kit
Mule Integration with Dropbox
Mule esb–api layer

What's hot (14)

PPTX
Anypoint lessons
PPTX
Mulesoft Salesforce Connector - OAuth 2.0 JWT Bearer
PPTX
Anypoint connector basics
PPTX
Telling the world why we love mule soft!
PPTX
Mule api management
PPTX
Quality sdk for your apis in minutes!
PPTX
Polyglot Mule Transformers
PPTX
Query in share point by mule
PPTX
Integration with CMIS using Mule ESB
PPTX
Mule
PPTX
Logging best practice in mule using logger component
PPTX
Mule esb stripe
PPTX
Automatic documentation with mule
 
PPTX
Github plugin setup in anypointstudio
Anypoint lessons
Mulesoft Salesforce Connector - OAuth 2.0 JWT Bearer
Anypoint connector basics
Telling the world why we love mule soft!
Mule api management
Quality sdk for your apis in minutes!
Polyglot Mule Transformers
Query in share point by mule
Integration with CMIS using Mule ESB
Mule
Logging best practice in mule using logger component
Mule esb stripe
Automatic documentation with mule
 
Github plugin setup in anypointstudio
Ad

Viewers also liked (10)

PPTX
Custom connector development using mule DevKit
PPTX
Creating a custom connector in mule
PPTX
Anypoint platform for API's glossary
PPT
Introduction to es bs mule
PPTX
Mule management console
PPTX
Using seda in mule
PPTX
Anypoint b2 b
PPTX
Mule high availability (ha) cluster
PPT
Mulesoft ppt
PPTX
Custom connectorsinmule
Custom connector development using mule DevKit
Creating a custom connector in mule
Anypoint platform for API's glossary
Introduction to es bs mule
Mule management console
Using seda in mule
Anypoint b2 b
Mule high availability (ha) cluster
Mulesoft ppt
Custom connectorsinmule
Ad

Similar to Creating a custom connector in mule (20)

PPT
Anypoint connector dev kit
PPT
Mule anypoint connector
PPT
Mule tcat server
PPTX
Anypoint connector dev kit
PPTX
Anypointconnectordevkit 160816041722
PPTX
Anypoint connector Roadmap
PDF
Anypoint Connector DevKit - Part I
PDF
Extend The Power Platform with Custom Connectors - CollabDays NL 2022
PPTX
Basics of Mulesoft Anypoint connector
PPTX
MuleSoft Meetup Bangalore - March 6 2021
PPTX
Mulesoft Meetup Bangalore - 6th March 2021
PPTX
MuleSoft Meetup Charlotte 2 - 2019
PPTX
Mulesoft kochi meetup 8 custom connector
PPTX
Opendaylight SDN Controller
PPTX
varun JENKINS.pptx
PPTX
Azure DevOps Pipeline setup for Mule APIs #36
PPTX
Spring Web Presentation - Framework and Its Ecosystem
PPT
Presentation 1 open source tools in continuous integration environment v1.0
PDF
Freddie Mac Internship Overview
Anypoint connector dev kit
Mule anypoint connector
Mule tcat server
Anypoint connector dev kit
Anypointconnectordevkit 160816041722
Anypoint connector Roadmap
Anypoint Connector DevKit - Part I
Extend The Power Platform with Custom Connectors - CollabDays NL 2022
Basics of Mulesoft Anypoint connector
MuleSoft Meetup Bangalore - March 6 2021
Mulesoft Meetup Bangalore - 6th March 2021
MuleSoft Meetup Charlotte 2 - 2019
Mulesoft kochi meetup 8 custom connector
Opendaylight SDN Controller
varun JENKINS.pptx
Azure DevOps Pipeline setup for Mule APIs #36
Spring Web Presentation - Framework and Its Ecosystem
Presentation 1 open source tools in continuous integration environment v1.0
Freddie Mac Internship Overview

Recently uploaded (20)

PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Nekopoi APK 2025 free lastest update
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
L1 - Introduction to python Backend.pptx
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
top salesforce developer skills in 2025.pdf
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
history of c programming in notes for students .pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
ai tools demonstartion for schools and inter college
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Online Work Permit System for Fast Permit Processing
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Softaken Excel to vCard Converter Software.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Nekopoi APK 2025 free lastest update
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Which alternative to Crystal Reports is best for small or large businesses.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Odoo Companies in India – Driving Business Transformation.pdf
L1 - Introduction to python Backend.pptx
ManageIQ - Sprint 268 Review - Slide Deck
Design an Analysis of Algorithms I-SECS-1021-03
top salesforce developer skills in 2025.pdf
ISO 45001 Occupational Health and Safety Management System
history of c programming in notes for students .pptx
Wondershare Filmora 15 Crack With Activation Key [2025
Internet Downloader Manager (IDM) Crack 6.42 Build 41
2025 Textile ERP Trends: SAP, Odoo & Oracle
ai tools demonstartion for schools and inter college
Design an Analysis of Algorithms II-SECS-1021-03
Online Work Permit System for Fast Permit Processing
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Softaken Excel to vCard Converter Software.pdf

Creating a custom connector in mule

  • 1. Creating a Custom Connector in Mule By Achyuta Laxmi
  • 2. Overview  What is Mule Connector?  Development Steps  Setup to create Connector  Determine resource access  Choose an authentication mechanism  Choose the connector’s data model  Add connector @ attribute annotations  Code tests  Document your connector
  • 3. What is Mule Connector? A MuleSoft connector is an extension module to the MuleSoft Anypoint Platform, with modules that ease the interconnection of third-party systems and APIs with Mule applications.
  • 4. Development Steps Step 1: To develop a custom connector one need to install: Java JDK version 7, Apache Maven, Anypoint Studio, and Anypoint DevKit Plugin to build and test your connector. You can develop a connector using Windows, Mac, or Linux.
  • 5. Setup to create Connector New Connector : •Create an Anypoint project - •Set up Anypoint Studio and install the connector plugin. Existing Connector: •Click File > Import > Anypoint Studio > Anypoint Connector Project from External Location, choose a URL or a .zip file, and complete the wizard to locate and import the project.
  • 6. Determine resource access Determine resource access - Each resource has a different access method, such as REST, SOAP, FTP, or the Java SDK features.
  • 7. Choose an authentication mechanism Choose an authentication mechanism - Mule supports OAuth V1 or V2, and username and password authentication (known as connection management), which can be used for protocols such as API Key, SAML, NTLM, Kerberos, or LDAP.
  • 8. Choose the connector’s data model Choose the connector’s data model - Models can be static Java objects or dynamic objects. You can use DataSense - Determine what information the target resource expects.
  • 9. Add connector @ attribute annotations Add connector @ attribute annotations - Create code for your connector containing the @ attributes that Mule uses to designate the important parts of your connector.
  • 10. Code tests Code tests - Tests can be unit tests, functional tests, and Studio interoperability tests. While DevKit does not enforce writing tests, you should develop unit and functional tests for your connector as part of the development process. A connector should not be considered production-ready without a proper test suite.
  • 11. Document your connector Document your connector - MuleSoft provides a template that helps you fill in the blanks to create documentation to help your staff and to help others understand the features and use of your connector.
  • 12. Package your connector Package your connector When your connector is ready for release to a broad audience, take the following additional steps to ensure user success: • Create a license agreement for your connector. • Develop end-to-end walkthroughs to illustrate performing common use cases with your connector. • Create a compressed file for distribution.
  • 13. Conclusion MuleSoft’s program certifies and publishes third party connectors to be distributed through Anypoint Exchange. References: https://docs.mulesoft.com/anypoint-connector-devkit/v/3.7/