Job Role

Architect, Developer

Duration

In-Person: 3 Full Day(s)
Virtual: 3 Full Day(s) or 6 Half Day(s)

Overview

Who should take this course?


This course is for experienced Mule 3 developers who want to quickly uplevel their skills to Mule 4. It prepares you to take the MuleSoft Certified Developer - Level 1 exam and includes two exam attempts.

 

Note: A self-paced version of this course is also available.

 

Prerequisites

 

Experience developing Mule 3 applications as demonstrated by the following:


When you complete this course, you will be able to:


  • Build Mule 4 applications using Anypoint Studio.
  • Use Anypoint Studio to build & debug integrations and API implementations.
  • Connect to databases, files, web services, SaaS apps, JMS queues, and more.
  • Transform data using DataWeave 2, the transformation language.
  • Add application logic and handle errors.
  • Handle batch data processing.
  • Migrate a Mule 3 application to Mule 4 using Mule Migration Assistant.

Class Registration

Lessons and Topics

Accessing and modifying Mule events

  • Log event data
  • Debug Mule applications
  • Read and write event properties
  • Write expressions with the DataWeave expression language
  • Create variables

 

Structuring Mule applications

  • Create applications composed of multiple flows and subflows
  • Pass events between flows using asynchronous queues
  • Encapsulate global elements in separate configuration files
  • Specify application properties in a separate properties file and use them in the application
  • Describe the purpose of each file and folder in a Mule project
  • Define and manage application metadata

 

Consuming web services

  • Consume web services that have an API (and connector) in Anypoint Exchange
  • Consume RESTful web services
  • Consume SOAP web services
  • Pass parameters to SOAP web services using the Transform Message component
  • Transform data from multiple services to a canonical format

 

Controlling event flow

  • Multicast event
  • Route events based on conditions
  • Validate events

 

Handling errors

  • Handle messaging errors at the application, flow, and processor level
  • Handle different types of errors, including custom errors
  • Use different error scopes to either handle an error and continue execution of the parent flow or propagate an error to the parent flow
  • Set the success and error response settings for an HTTP Listener
  • Set reconnection strategies for system errors

 

Writing DataWeave transformations

  • Write DataWeave expressions for basic XML, JSON, and Java transformations
  • Write DataWeave transformations for complex data structures with repeated elements
  • Define and use global and local variables and functions
  • Use DataWeave functions
  • Coerce and format strings, numbers, and dates
  • Define and use custom data types
  • Call Mule flows from DataWeave expressions
  • Store DataWeave scripts in external files

 

Triggering flows

  • Read and write files
  • Trigger flows when files are added, created, or updated
  • Trigger flows when new records are added to a database table
  • Schedule flows to run at a certain time or frequency
  • Persist and share data in flows using the Object Store
  • Publish and consume JMS messages

 

Processing records

  • Process items in a collection using the For Each scope
  • Process records using the Batch Job scope
  • Use filtering and aggregation in a batch step

 

Migrating Mule 3 applications

  • Migrate a Mule 3 application using Mule Migration Assistant (MMA)
  • Describe the scope and limitations of MMA
  • Read and understand MMA migration reports
  • Refactor a migrated application to make best use of Mule 4 features

 

Setup requirements

 

  • A computer with:
    • At least 8-16 GB RAM (16 highly recommended), 2GHz CPU, and 10GB available storage
    • A minimum screen resolution of 1024x768
  • Internet access to ports 80 and 3306 (with > 5Mbps download and > 2Mbps upload)
  • The latest version of Chrome, Safari, Firefox, or Edge
  • An Anypoint Platform account
  • Anypoint Studio 7.14 or later with embedded Mule 4 runtime
  • A Salesforce Developer account (not a standard account) and API Access token
  • Advanced REST Client 16.0.1 or later (or any other REST client application)