Book Image

MuleSoft for Salesforce Developers

By : Arul Christhuraj Alphonse, Alexandra Martinez, Akshata Sawant
Book Image

MuleSoft for Salesforce Developers

By: Arul Christhuraj Alphonse, Alexandra Martinez, Akshata Sawant

Overview of this book

MuleSoft for Salesforce Developers will help you build state-of-the-art enterprise solutions with flexible and scalable integration capabilities using MuleSoft’s Anypoint Platform and Anypoint Studio. If you’re a Salesforce developer looking to get started with this useful tool, look no further. This book will get you up to speed in no time, leveling up your integration developer skills. This essential guide will first introduce you to the fundamentals of MuleSoft and API-led connectivity, before walking you through the API life cycle and the Anypoint Studio IDE. Once you have the IDE set up, you’ll be ready to create Mule applications. You’ll look at the core components of MuleSoft and Anypoint Platform, and before long you’ll know how to build, transform, secure, test, and deploy applications using the wide range of components available to you. Finally, you’ll learn about using connectors to integrate MuleSoft with Salesforce and to fulfill a number of use cases, which will be covered in depth, along with interview and certification tips. By the end of this book, you will be confident building MuleSoft integrations at an enterprise scale and be able to gain the fundamental MuleSoft certification – MCD.
Table of Contents (21 chapters)
1
Part 1:Getting Started with MuleSoft
7
Part 2: A Deep Dive into MuleSoft
14
Part 3: Integration with Salesforce and Other Connectors

Getting familiar with a Mule flow

Previously, we’ve built a simple Mule application consisting of the following:

  • An HTTP Listener as an event source
  • A Transform Message component and a Logger as an event processor

Here, the event source and event processor are the key elements of a Mule flow.

The Mule flow is responsible for the sequential execution of logical operations to achieve the desired outcomes, with the help of several Mule components and connectors.

You can consider it similar to a Salesforce flow.

A Mule flow is divided into two parts (see Figure 4.1):

  • Event source
    • It consists of an inbound endpoint that listens to the incoming request from the client or an event-based trigger and further forwards the request to event processors. It also receives a response in the end, which is returned to the client.
    • Some of the commonly used message sources are HTTP, JMS, FTP, and Poller/Scheduler, based on a new event (for example, using Salesforce...