The document summarizes an agenda for a meetup group on building connectors with MuleSoft's Java SDK. The agenda includes introductions of speakers, an overview of MuleSDK and how to build connectors, a demonstration of building an Amazon Polly connector, and a Q&A session. It also describes how attendees can win a MuleSoft course voucher through a survey or Kahoot trivia game.
Build your first AWS Polly connector with 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
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
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
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?
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