In this blog post I will show how to build a Mule connector for the Amazon Polly service using the Mule Java SDK.
What is MuleSoft (a business view)?
MuleSoft unifies data from disparate systems to present a single view of the customer, employee and business process. This is achieved by using an API-led approach that promotes each integration as a reusable building block that can be discovered and self-serviced across the business (and with partners and customers). The reusable and composable architecture enables organizations to accelerate project delivery, increase organizational flexibility, and deliver innovation at scale.
What is MuleSoft (a technical view)?
The MuleSoft approach relies on a Java runtime that encapsulates integration functionality as Java libraries (think Spring beans) that is configure via a visual interface built into a customised version of Eclipse. The GUI builds XML configuration files that pass configuration parameters to the underlying Mule runtime at start up.
What is a connector?
A connector is a library of code that encapsulate the connectivity logic of a system with which an integration is required (Database, AWS service, REST API etc) and made a dependency of a Mule project. Connectors effectively extend the Mule runtime with additional functionality.
How to code a connector for the Mule runtime?
Connectors are build using the Mule Java SDK. Knowledge of Java and the connectivity of the data source or system you wish to build the connector for is required. Once the connector is built it can be shared with the entire organisation for reuse in projects that require connectivity with that system.
How to build an Amazon Polly connector?
In this short video I will code a connector that encapsulates the connectivity logic for the Amazon Polly service and use it in a simple example API.