SlideShare a Scribd company logo
31th May 2022
MuleSoft for Java Devs - Meetup Group
Building your first connector extending the Mule Java
SDK
2
● Introductions
● Mule SDK - Overview
● Use Case & Demo
○ AWS Polly
○ Demo building the connector
● Q&A
● Trivia - Win a MuleSoft Course
Agenda
Sponsor:
Integration Architect at Infomentum
● More than 13 years working with
development. Start with Java in 2008!
● Since 2014 working with MuleSoft
● MuleSoft Ambassador & Meetup Leader
Guilherme Pereira
Principal Technical Instructor @ MuleSoft
● Developer, Architecture and Operations
courses
● Java Professional 10 yrs+
● Java Champion
Alex Theedom
@alextheedom alextheedom
#Java2Mule
Integration Consultant at Infomentum
● Since 2020 working with MuleSoft
● MuleSoft Mentor
Olga
Mule SDK
The MuleSoft Approach to Integration
7
● Configure not code
○ Visual flow builder
○ Drag, drop and configure
● Building blocks of integration functionality
○ Connectors
○ Enterprise Integration Patterns
■ Routers
■ Scatter gather
■ Enricher
● Highly extensible with Mule Java SDK
○ First class citizen
■ Build connectors
■ Build components
■ Build modules
What are Connectors?
8
Connectors
Written in Java using the Custom
Connector Mule SDK
Connector framework generates a GUI
for easy config of connector
Library of code that encapsulates
connectivity to another system
How to Build a Connector?
9
Amazon Polly Connector
Extension Use case & Demo
12
● Amazon Polly is a service that turns text into lifelike speech, allowing you to create
applications that talk and build entirely new categories of speech-enabled products.
● What is needed to configure Amazon Polly service?
○ Engine - Neural and Standard
○ Voice - Bilingual Voices, Male and Female
○ Region - Not all are supported
○ AWS Keys - AWS Access Key and AWS Access Secret
Amazon Polly Service
Text
MP3
13
Amazon Polly Service Synthesizing Speech
Logic
Connection Provider
Voice, Engine, Region, AWS Keys
Connector Instantiation
Creates an instance of the PollyClient and Voice
Connector Operations
Create a SynthesizeSpeechRequest
from the Voice and Text and then
pass to the PollyClient. Results in
the InputStream of SynthesizedText
HTTP request
Query Parameter
contains text to
synthesise
HTTP Response
MP3 of synthesised
text
Service
Configuration
Connectitvity
Logic and
Instatiation
Service
Invocation
And Voice
Synthetization
Q&A
15
● Register to the Free MuleSoft Course:
○ https://mule.is/LearnMule
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Invite your network to join: https://meetups.mulesoft.com/mulesoft-for-java-developers/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
What’s next?
16
● Amazon Polly Docs:
https://docs.aws.amazon.com/polly/index.html
● Amazon Polly Java examples:
https://docs.aws.amazon.com/polly/latest/dg/examples-java.html
● M2E plugin:
https://www.eclipse.org/m2e/
Resources
Trivia
18
● You can win only 1 voucher per month, across all Meetups. If you already won 1 voucher in
the month from another event, you will not receive a new one
● 1 voucher will be drawn for those who answered the survey
○ The name will be randomly selected
● We will play a game using Kahoot
○ The first 2 ranked in the game win a voucher
● Use your name in the game - avoid nicknames
● To request the voucher you should send an email to gui1207@gmail.com or use the "contact
the organizer form" on the meetup group page
Rules
Thank you

More Related Content

Similar to #2 Building your first connector extending the Mule Java SDK

Similar to #2 Building your first connector extending the Mule Java SDK (20)

Mumbai MuleSoft Meetup #17 - GraphQL
Mumbai MuleSoft Meetup #17 - GraphQLMumbai MuleSoft Meetup #17 - GraphQL
Mumbai MuleSoft Meetup #17 - GraphQL
 
Building Custom Connectors Using XML SDK in Mule 4
Building Custom Connectors Using XML SDK in Mule 4Building Custom Connectors Using XML SDK in Mule 4
Building Custom Connectors Using XML SDK in Mule 4
 
Salesforce, Slack, and Zendesk Integration with Mulesoft.pdf
Salesforce, Slack, and Zendesk Integration with Mulesoft.pdfSalesforce, Slack, and Zendesk Integration with Mulesoft.pdf
Salesforce, Slack, and Zendesk Integration with Mulesoft.pdf
 
Melbourne Virtual MuleSoft Meetup November 2020
Melbourne Virtual MuleSoft Meetup November 2020Melbourne Virtual MuleSoft Meetup November 2020
Melbourne Virtual MuleSoft Meetup November 2020
 
Princeton-NJ-Meetup-Managing CloudHub applications using CloudHub Platform API
Princeton-NJ-Meetup-Managing CloudHub applications using CloudHub Platform APIPrinceton-NJ-Meetup-Managing CloudHub applications using CloudHub Platform API
Princeton-NJ-Meetup-Managing CloudHub applications using CloudHub Platform API
 
MuleSOft PKO Developer meetup - 25 March 2021
MuleSOft PKO Developer meetup - 25 March 2021 MuleSOft PKO Developer meetup - 25 March 2021
MuleSOft PKO Developer meetup - 25 March 2021
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
 
Montreal MuleSoft_Meetup_02-June.pptx
Montreal MuleSoft_Meetup_02-June.pptxMontreal MuleSoft_Meetup_02-June.pptx
Montreal MuleSoft_Meetup_02-June.pptx
 
#3 calicut meetup - understanding slb, dlb and web sockets
#3   calicut meetup - understanding slb, dlb and web sockets#3   calicut meetup - understanding slb, dlb and web sockets
#3 calicut meetup - understanding slb, dlb and web sockets
 
Managing APIs with MuleSoft
Managing APIs with MuleSoftManaging APIs with MuleSoft
Managing APIs with MuleSoft
 
MuleSoft London Community March 2022 - CloudHub Automation
MuleSoft London Community March 2022 - CloudHub AutomationMuleSoft London Community March 2022 - CloudHub Automation
MuleSoft London Community March 2022 - CloudHub Automation
 
Introduction to mulesoft - Alpharetta Developer Group Meet
Introduction to mulesoft - Alpharetta Developer Group MeetIntroduction to mulesoft - Alpharetta Developer Group Meet
Introduction to mulesoft - Alpharetta Developer Group Meet
 
ServiceNow Integration with MuleSoft.pptx
ServiceNow Integration with MuleSoft.pptxServiceNow Integration with MuleSoft.pptx
ServiceNow Integration with MuleSoft.pptx
 
Mule soft meetup Houston 16
Mule soft meetup Houston 16Mule soft meetup Houston 16
Mule soft meetup Houston 16
 
Solace PubSub+ MuleSoft Connector for Mule 4
Solace PubSub+ MuleSoft Connector for Mule 4Solace PubSub+ MuleSoft Connector for Mule 4
Solace PubSub+ MuleSoft Connector for Mule 4
 
London-MuleSoft-Meetup-April-19-2023
London-MuleSoft-Meetup-April-19-2023London-MuleSoft-Meetup-April-19-2023
London-MuleSoft-Meetup-April-19-2023
 
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptxAnypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
 
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptxMuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
 
MuleSoft meetup__houston #13
MuleSoft meetup__houston #13MuleSoft meetup__houston #13
MuleSoft meetup__houston #13
 
Melbourne Virtual MuleSoft Meetup April 2022
Melbourne Virtual MuleSoft Meetup April 2022Melbourne Virtual MuleSoft Meetup April 2022
Melbourne Virtual MuleSoft Meetup April 2022
 

More from Guilherme Pereira Silva

More from Guilherme Pereira Silva (12)

Extending the Mule Runtime - Building a Circuit Breaker Component.pptx
Extending the Mule Runtime - Building a Circuit Breaker Component.pptxExtending the Mule Runtime - Building a Circuit Breaker Component.pptx
Extending the Mule Runtime - Building a Circuit Breaker Component.pptx
 
MuleSoft Composer - Online Portuguese Meetup Group
MuleSoft Composer - Online Portuguese Meetup GroupMuleSoft Composer - Online Portuguese Meetup Group
MuleSoft Composer - Online Portuguese Meetup Group
 
MuleSoft MuleSoft Meetup - Shared Flows
MuleSoft MuleSoft Meetup -  Shared FlowsMuleSoft MuleSoft Meetup -  Shared Flows
MuleSoft MuleSoft Meetup - Shared Flows
 
São Paulo MuleSoft Meetup - Messaging patterns
São Paulo MuleSoft Meetup - Messaging patternsSão Paulo MuleSoft Meetup - Messaging patterns
São Paulo MuleSoft Meetup - Messaging patterns
 
São Paulo MuleSoft Meetup - Unwired API Led & Custom Polices
São Paulo MuleSoft Meetup - Unwired API Led & Custom PolicesSão Paulo MuleSoft Meetup - Unwired API Led & Custom Polices
São Paulo MuleSoft Meetup - Unwired API Led & Custom Polices
 
São Paulo MuleSoft Meetups - DevOps
São Paulo MuleSoft Meetups - DevOpsSão Paulo MuleSoft Meetups - DevOps
São Paulo MuleSoft Meetups - DevOps
 
Mulesoft Meetup Latam Summit Brazil
Mulesoft Meetup Latam Summit BrazilMulesoft Meetup Latam Summit Brazil
Mulesoft Meetup Latam Summit Brazil
 
São Paulo MuleSoft Meetup - Deployments Models
São Paulo MuleSoft Meetup - Deployments ModelsSão Paulo MuleSoft Meetup - Deployments Models
São Paulo MuleSoft Meetup - Deployments Models
 
São Paulo MuleSoft Meetup #5 - Runtime Fabric
São Paulo MuleSoft Meetup #5 - Runtime FabricSão Paulo MuleSoft Meetup #5 - Runtime Fabric
São Paulo MuleSoft Meetup #5 - Runtime Fabric
 
MuleSoft Meetup São Paulo #4 - November
MuleSoft Meetup São Paulo #4 - NovemberMuleSoft Meetup São Paulo #4 - November
MuleSoft Meetup São Paulo #4 - November
 
MuleSoft São Paulo Meetup #3 - 18 Jun
MuleSoft São Paulo Meetup #3 - 18 JunMuleSoft São Paulo Meetup #3 - 18 Jun
MuleSoft São Paulo Meetup #3 - 18 Jun
 
São Paulo MuleSoft Meetup - 31 Jan
São Paulo MuleSoft Meetup - 31 JanSão Paulo MuleSoft Meetup - 31 Jan
São Paulo MuleSoft Meetup - 31 Jan
 

Recently uploaded

State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
КАТЕРИНА АБЗЯТОВА «Ефективне планування тестування ключові аспекти та практ...
КАТЕРИНА АБЗЯТОВА  «Ефективне планування тестування  ключові аспекти та практ...КАТЕРИНА АБЗЯТОВА  «Ефективне планування тестування  ключові аспекти та практ...
КАТЕРИНА АБЗЯТОВА «Ефективне планування тестування ключові аспекти та практ...
 
Ransomware Mallox [EN].pdf
Ransomware         Mallox       [EN].pdfRansomware         Mallox       [EN].pdf
Ransomware Mallox [EN].pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 

#2 Building your first connector extending the Mule Java SDK

  • 1. 31th May 2022 MuleSoft for Java Devs - Meetup Group Building your first connector extending the Mule Java SDK
  • 2. 2 ● Introductions ● Mule SDK - Overview ● Use Case & Demo ○ AWS Polly ○ Demo building the connector ● Q&A ● Trivia - Win a MuleSoft Course Agenda Sponsor:
  • 3. Integration Architect at Infomentum ● More than 13 years working with development. Start with Java in 2008! ● Since 2014 working with MuleSoft ● MuleSoft Ambassador & Meetup Leader Guilherme Pereira
  • 4. Principal Technical Instructor @ MuleSoft ● Developer, Architecture and Operations courses ● Java Professional 10 yrs+ ● Java Champion Alex Theedom @alextheedom alextheedom #Java2Mule
  • 5. Integration Consultant at Infomentum ● Since 2020 working with MuleSoft ● MuleSoft Mentor Olga
  • 7. The MuleSoft Approach to Integration 7 ● Configure not code ○ Visual flow builder ○ Drag, drop and configure ● Building blocks of integration functionality ○ Connectors ○ Enterprise Integration Patterns ■ Routers ■ Scatter gather ■ Enricher ● Highly extensible with Mule Java SDK ○ First class citizen ■ Build connectors ■ Build components ■ Build modules
  • 8. What are Connectors? 8 Connectors Written in Java using the Custom Connector Mule SDK Connector framework generates a GUI for easy config of connector Library of code that encapsulates connectivity to another system
  • 9. How to Build a Connector? 9
  • 11. 12 ● Amazon Polly is a service that turns text into lifelike speech, allowing you to create applications that talk and build entirely new categories of speech-enabled products. ● What is needed to configure Amazon Polly service? ○ Engine - Neural and Standard ○ Voice - Bilingual Voices, Male and Female ○ Region - Not all are supported ○ AWS Keys - AWS Access Key and AWS Access Secret Amazon Polly Service Text MP3
  • 12. 13 Amazon Polly Service Synthesizing Speech Logic Connection Provider Voice, Engine, Region, AWS Keys Connector Instantiation Creates an instance of the PollyClient and Voice Connector Operations Create a SynthesizeSpeechRequest from the Voice and Text and then pass to the PollyClient. Results in the InputStream of SynthesizedText HTTP request Query Parameter contains text to synthesise HTTP Response MP3 of synthesised text Service Configuration Connectitvity Logic and Instatiation Service Invocation And Voice Synthetization
  • 13. Q&A
  • 14. 15 ● Register to the Free MuleSoft Course: ○ https://mule.is/LearnMule ● Share: ○ Tweet using the hashtag #MuleSoftMeetups ○ Invite your network to join: https://meetups.mulesoft.com/mulesoft-for-java-developers/ ● Feedback: ○ Fill out the survey feedback and suggest topics for upcoming events ○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program What’s next?
  • 15. 16 ● Amazon Polly Docs: https://docs.aws.amazon.com/polly/index.html ● Amazon Polly Java examples: https://docs.aws.amazon.com/polly/latest/dg/examples-java.html ● M2E plugin: https://www.eclipse.org/m2e/ Resources
  • 17. 18 ● You can win only 1 voucher per month, across all Meetups. If you already won 1 voucher in the month from another event, you will not receive a new one ● 1 voucher will be drawn for those who answered the survey ○ The name will be randomly selected ● We will play a game using Kahoot ○ The first 2 ranked in the game win a voucher ● Use your name in the game - avoid nicknames ● To request the voucher you should send an email to gui1207@gmail.com or use the "contact the organizer form" on the meetup group page Rules