SlideShare a Scribd company logo
23th FEB,2019: More in Mule 4 And Anypoint Studio
Hyderabad MuleSoft Meetup
All contents © MuleSoft Inc.
Agenda
2
• 11:00 AM Introduction
• 11:15 AM Presentation: Mule 4 /
Anypoint Studio 7-Deep Drive
• 12:30 AM Tea, Coffee and Snacks break
• 01:00 PM Q & A
• 01:45 PM Networking and Plan for Next
Meetup
All contents © MuleSoft Inc.
Agenda
3
• Introductions
• What’s new with Mule 4
• New Message Structure
• Transformation and data Simplified
• DataWeave 2.0
• Seamless Data Access
• Error Handling With Mule 4
• Class Loader Isolation
• Mule 3 Complexity Flow Vs Mule 4 Productivity Flow
All contents © MuleSoft Inc.
Introduction : Organizer, Speaker and You
4
Santosh Ojha Manish Yadav Sravan Lingam
A SHOW OF HANDS:
Who is new to this Meetup?
With Mule 4
What’s New
All contents © MuleSoft Inc.
What’s New With Mule 4?
6
• Improving speed of delivery and accelerating developer on-ramp
through a simplified language, error handling, and event and
message model.
• Generating connectors automatically from RAML specs with REST
connect.
• Simplifying upgrades with class loader isolation.
• Mule 4 ships with a new reactive, non-blocking execution engine.
• Users no longer need to convert data into a set of objects to access
it.
• Error Handling - Easier and more powerful error handling with a new
Try scope.
All contents © MuleSoft Inc.
What’s New With Mule 4
7
• Expression language - The Mule Expression Language has been
replaced with the DataWeave language so that you work with data
and learn Mule more easily.
• DataWeave - DataWeave includes minor changes to simplify the
syntax and make it easier to learn.
• Studio 7 - Features a simplified palette, improved Maven integration,
and many other usability improvements.
• Runtime engine - The internal execution engine has been updated
with a new self-tuning and non-blocking reactive engine. This allows
for better performance and scalability out-of-the-box.
All contents © MuleSoft Inc.
What’s New with Mule 4
8
All contents © MuleSoft Inc.
Triggers, Connectors, and APIs in Mule 4
9
All contents © MuleSoft Inc.
Simpler Flows - Validators
Mule 3 Flow
Mule 4
Choice Replacement Choice Replacement
All contents © MuleSoft Inc.
Language Agnostic - Java Optional
11
Business Formats:
● JSON
● XML
● Java
● CSV
● and more!
Mule 4 Event Model
New Message Structure
All contents © MuleSoft Inc.
Mule 4 Event Model
13
• Event Flow
All contents © MuleSoft Inc.
Event and Message
14
• Events have a Message and
variables
• Each message contains
– Payload – e.g. HTTP body, FTP file,
etc
– Attributes – HTTP headers/uri
params, File information, etc.
• Variables can any object: data,
attributes, or even another
Message!
Message
Event
Payload
Attributes
Variable1 (Object)
Variable2 (Message)
All contents © MuleSoft Inc.
What goes on Attributes
15
All contents © MuleSoft Inc.
Transformation and Data Simplified
16
• Formal type system defined. Types can be
– Binary
– CSV
– JSON
– XML
– Object (and sub types – List, Attributes, etc)
– Scalar – Number, String, etc.
• Binary representation is transparent. Don’t worry about
InputStream/byte[]/etc
• If you feel the need to do Object to Byte Array/String/etc –
you’re doing it wrong or it’s a bug.
With Mule 4
DataWeave 2.0
All contents © MuleSoft Inc.
DataWeave 2.0
18
• Mule 4 introduces DataWeave as the default expression
language,replacing Mule Expression Language (MEL) with a scripting
and transformation engine.
• Java interoperability: Static methods can be executed through
DataWeave.
• Simplified syntax: All operators are now functions, making
DataWeave easier to learn.
• New advanced capabilities: Call Java functions directly,use multi-line
comments, and define function types and variable types with type
inference
All contents © MuleSoft Inc.
DataWeave 2.0
19
• Default expression language of Mule 4.
• More supported data formats such as “application/x-www-
formurlencoded”, and “multipart/*”.
• Data extraction without explicit data conversion.
• More functions and operations for data manipulations
All contents © MuleSoft Inc.
Simplified DataWeave
20
• Operator precedence in Mule 3 took some remembering. Now, all operators
are functions
– Mule 3: upper pluralize dasherize "maxMule"
– Mule 4: upper(pluralize(dasherize("maxMule")))
– More parentheses, but with auto-completion should be easier for new users
• Traits are now functions too
– Mule 3: payload is :empty
– Mule 4: isEmpty(payload)
• Pascal style type names
– Mule 3: payload.foo as :string
– Mule 4: payload.foo as String
All contents © MuleSoft Inc.
DataWeave Enhancements
21
• Variables/function params typing
• Multiline comments
• Imports
%dw 2.0
import dw::core::Strings
output application/json
---{
'plural':Strings::pluralize("meetup"
) }
/**
*@Author-Manish Yadav
*/
fun foo(x: String):String = x
var myVar: String "Weave"
Declare static Java functions:
And access them directly in DataWeave:
public class MyUtilClass{
public static String reformat(String
input) {
return ...;}
}
%dw 2.0
import
java!forslidesmuckaround::MyUtilClass
---
{
date:
MyClass::reformat(myInputString)
}
All contents © MuleSoft Inc.
Seamless Data Access
22
What do you think Here.
• Java Knowledge required ?
• Always Conversion required?
• Access of Payload with transformation?
payload.email
match /([a-z]*)@([a-
z]*).com/
payload map {
name: $.name,
dob: $.dateOfBirth as
:date, title:
lookup($.titleCode),
…
}
All contents © MuleSoft Inc.
Iterating a JSON Array
23
You don’t think ?.
• You need to aware of Payload
type?
• You need to aware of the type
of payload For Each accepts?
All contents © MuleSoft Inc.
Iterating a JSON Array
24
Thinking???
How smart Mule Runtime 4 is?
It Knows everything???
1.DataWeave knows how to
iterate a JSON array
2.You don’t even need to specify
it’s JSON
3.You don’t need to worry about
for each inner working.
With Mule 4
No More Message Enricher
All contents © MuleSoft Inc.
Enrichment: Think Different??
26
• Directly output data into variables
• The payload goes to the variable, but you can send the message or
attributes too
• For other use cases, use transform to enrich
With Mule 4
Error Handling
All contents © MuleSoft Inc.
Simplified error handling and try scope
28
1. New try block - catch errors anywhere in flows
2. See errors at design time
3. Simplified syntax when using transactions and
error handling
4. Re-propagate errors
5. Java Exceptions aren’t needed (but you can still
use them!)
All contents © MuleSoft Inc.
Simplified error handling and try scope
29
Every component has a list of its possible error
Errors are easy to discover in Studio
All contents © MuleSoft Inc.
Error Types: Part of every component
30
Description
Duplicate entry '5' for key 'PRIMARY'.
Type
DB:QUERY_EXECUTION
All contents © MuleSoft Inc.
Error Handler
31
• Event Step in case of exception occurs at 2.
All contents © MuleSoft Inc.
Error Handler
32
• Event Step in case of exception occurs at 3.
All contents © MuleSoft Inc.
Mule Error Description
33
• For example HTTP request failed with Wrong credential.
Major Improvement:
• Only two strategy of On Error Scope, You can handle all possible
error in Mule 4.
• In Mule 3,Error can be handled at Flow/Sub Flow or Private Flow but
now we can handle the error at event level of message.
Mule 4 Runtime
Self Tuning Engine
All contents © MuleSoft Inc.
Self-Tuning Runtime Engine
35
Non-blocking execution engine.
Can configure sizing of the pools and Custom thread
pools creation for some task
This engine makes it possible to achieve optimal
performance without having to do manual tuning steps,
such as declaring exchange patterns, processing strategies
or threading configuration.
All contents © MuleSoft Inc.
Self-tuning runtime engine
36
With Mule 4
Class Loader Isolation
All contents © MuleSoft Inc.
Class Loader Isolation
38
• With new class loader isolation between Mule
applications, the runtime, and Anypoint Connectors,
any library changes that occur internally do not affect
the application itself.
• Connectors are distributed outside the runtime as well,
making it possible to get connector enhancements and
fixes without having to upgrade the runtime or vice
versa.
All contents © MuleSoft Inc.
Mule 3 today: a medium complexity flow
39
ObjectStore
Transports
JavaWatermark
Streams
Connectors
Enricher
DataWeave
22 Concepts 13 Steps
Java and .NET
specialists
MEL
All contents © MuleSoft Inc.
Integration, Simplified - 3 to 4x productivity
40
Java & SFDC
specialists
13 Steps22 Concepts9 Concepts 5 Steps
Specialists &
generalists
All contents © MuleSoft Inc.
Take a stand !
41
• Nominate yourself for
the next meetup speaker
and suggest a topic as
well.
See you next time
Please send topic suggestions to the organizer
Meetup hyderabad mule-4.x
THANK YOU

More Related Content

PDF
Pune meetup 16 feb 2019
PPTX
MuleSoft Meetup Mumbai Mule 4 Presentation Slide
PPTX
Mule soft meetup warsaw november 13th, 2019
PPTX
Hyd MuleSoft-Meetup-May 29,2021 | Migrating Mule 3 Java related code to Mule 4
PDF
Ahmedabad MuleSoft Meetup #4
PPTX
MuleSoft Meetup Warsaw Group #1
PPTX
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
PPTX
Mule 4 vanrish
Pune meetup 16 feb 2019
MuleSoft Meetup Mumbai Mule 4 Presentation Slide
Mule soft meetup warsaw november 13th, 2019
Hyd MuleSoft-Meetup-May 29,2021 | Migrating Mule 3 Java related code to Mule 4
Ahmedabad MuleSoft Meetup #4
MuleSoft Meetup Warsaw Group #1
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Mule 4 vanrish

What's hot (20)

PPTX
MuleSoft Meetup Charlotte 2 - 2019
PPTX
MuleSoft Clustring, Okta, CI/CD Integration with Jenkins
PPTX
MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...
PPTX
MuleSoft Meetup Charlotte 2019
PPTX
Ahmedabad MuleSoft Meetup #1
PPTX
MuleSoft Meetup 3 Charlotte Presentation Slides
PDF
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
PPTX
Mulesoft meetup slides mumbai_20113019_exception_handling
PPTX
Mule meetup Hyderabad
PPTX
MuleSoft Meetup Virtual_ 2_Charlotte
PPTX
Meetup bangalore june29th2019
PPTX
Mule soft meetup_virtual_ 3_charlotte_07july_2021__final
PDF
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
PPTX
Charlotte meetup anypointmonitoring_v3
PDF
Virtual Meetup: Mule 4 Error Handling and Logging
PPTX
Mulesoft with ELK (Elastic Search, Log stash, Kibana)
PPTX
Meet up slides_mumbai_21032020_final
PPTX
MuleSoft Meetup Warsaw Group DataWeave 2.0
PPTX
Mule soft meetup_virtual_ charlotte_2020_final1
PPTX
MuleSoft Meetup Charlotte 2019 - Dec 10
MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Clustring, Okta, CI/CD Integration with Jenkins
MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...
MuleSoft Meetup Charlotte 2019
Ahmedabad MuleSoft Meetup #1
MuleSoft Meetup 3 Charlotte Presentation Slides
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
Mulesoft meetup slides mumbai_20113019_exception_handling
Mule meetup Hyderabad
MuleSoft Meetup Virtual_ 2_Charlotte
Meetup bangalore june29th2019
Mule soft meetup_virtual_ 3_charlotte_07july_2021__final
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
Charlotte meetup anypointmonitoring_v3
Virtual Meetup: Mule 4 Error Handling and Logging
Mulesoft with ELK (Elastic Search, Log stash, Kibana)
Meet up slides_mumbai_21032020_final
MuleSoft Meetup Warsaw Group DataWeave 2.0
Mule soft meetup_virtual_ charlotte_2020_final1
MuleSoft Meetup Charlotte 2019 - Dec 10
Ad

Similar to Meetup hyderabad mule-4.x (20)

PDF
Ahmedabad MuleSoft 3rd Meetup
PPTX
Perth MuleSoft Meetup Feb 2019
PPTX
Cracow MuleSoft Meetup #1
PPTX
Second Caracas MuleSoft Meetup Slides
PPTX
Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter
PPTX
Manila MuleSoft Meetup - September 2018
PPTX
Third Meetup Slides Mulesoft Mexico City
PPTX
Bangalore meetup slides_dec_7th_2019
PDF
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
PPTX
Mule integration-application
PPTX
Mulesoft meetup 9thmay Thiruvananthapuram
PDF
Pune Mule Meetups July 2019
PDF
02 basics
PPTX
West Yorkshire Mulesoft Meetup #6
PDF
MuleSoft Manchester Meetup #3 slides 31st March 2020
PDF
MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...
PPTX
Mumbai MuleSoft Meetup 11
PPTX
DevOps and APIs: Great Alone, Better Together
PDF
A comprehensive guide to mule soft mule 4
PDF
Mule soft dubai virtual meetup 27_apr
Ahmedabad MuleSoft 3rd Meetup
Perth MuleSoft Meetup Feb 2019
Cracow MuleSoft Meetup #1
Second Caracas MuleSoft Meetup Slides
Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter
Manila MuleSoft Meetup - September 2018
Third Meetup Slides Mulesoft Mexico City
Bangalore meetup slides_dec_7th_2019
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
Mule integration-application
Mulesoft meetup 9thmay Thiruvananthapuram
Pune Mule Meetups July 2019
02 basics
West Yorkshire Mulesoft Meetup #6
MuleSoft Manchester Meetup #3 slides 31st March 2020
MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...
Mumbai MuleSoft Meetup 11
DevOps and APIs: Great Alone, Better Together
A comprehensive guide to mule soft mule 4
Mule soft dubai virtual meetup 27_apr
Ad

More from Santosh Ojha (14)

PDF
docusign pune meetup.pdf
PDF
Varanasi_Meetup_Universal API Managment.pdf
PDF
Hyd virtual meetupslides11jul
PDF
Mulesoft Pune Meetup Deck - Apr 2020
PDF
Meetup tdd
PDF
Meetup slide 19th oct
PDF
Hyderabad Mule meetup #9
PDF
Mule Meetup Pune - August 2019
PDF
Examples from Pune meetup
PDF
Meetup slide 1st june
PDF
Pune mulesoft meetup june 29 - b2 b
PDF
Meetup slide 20_apr
PDF
Meetup slide 15_dec_v2
PPTX
Mule activemq
docusign pune meetup.pdf
Varanasi_Meetup_Universal API Managment.pdf
Hyd virtual meetupslides11jul
Mulesoft Pune Meetup Deck - Apr 2020
Meetup tdd
Meetup slide 19th oct
Hyderabad Mule meetup #9
Mule Meetup Pune - August 2019
Examples from Pune meetup
Meetup slide 1st june
Pune mulesoft meetup june 29 - b2 b
Meetup slide 20_apr
Meetup slide 15_dec_v2
Mule activemq

Recently uploaded (20)

DOCX
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
PPTX
Intro to ISO 9001 2015.pptx wareness raising
PPTX
AcademyNaturalLanguageProcessing-EN-ILT-M02-Introduction.pptx
DOC
学位双硕士UTAS毕业证,墨尔本理工学院毕业证留学硕士毕业证
PPTX
Primary and secondary sources, and history
PPTX
Introduction to Effective Communication.pptx
PPTX
Understanding-Communication-Berlos-S-M-C-R-Model.pptx
PPTX
Impressionism_PostImpressionism_Presentation.pptx
PPTX
Tablets And Capsule Preformulation Of Paracetamol
PPTX
Role and Responsibilities of Bangladesh Coast Guard Base, Mongla Challenges
PPTX
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
PPTX
Learning-Plan-5-Policies-and-Practices.pptx
PPTX
The spiral of silence is a theory in communication and political science that...
PDF
Why Top Brands Trust Enuncia Global for Language Solutions.pdf
PPTX
_ISO_Presentation_ISO 9001 and 45001.pptx
PPTX
Tour Presentation Educational Activity.pptx
PPTX
Self management and self evaluation presentation
PPTX
Non-Verbal-Communication .mh.pdf_110245_compressed.pptx
PDF
oil_refinery_presentation_v1 sllfmfls.pdf
PDF
Parts of Speech Prepositions Presentation in Colorful Cute Style_20250724_230...
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
Intro to ISO 9001 2015.pptx wareness raising
AcademyNaturalLanguageProcessing-EN-ILT-M02-Introduction.pptx
学位双硕士UTAS毕业证,墨尔本理工学院毕业证留学硕士毕业证
Primary and secondary sources, and history
Introduction to Effective Communication.pptx
Understanding-Communication-Berlos-S-M-C-R-Model.pptx
Impressionism_PostImpressionism_Presentation.pptx
Tablets And Capsule Preformulation Of Paracetamol
Role and Responsibilities of Bangladesh Coast Guard Base, Mongla Challenges
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
Learning-Plan-5-Policies-and-Practices.pptx
The spiral of silence is a theory in communication and political science that...
Why Top Brands Trust Enuncia Global for Language Solutions.pdf
_ISO_Presentation_ISO 9001 and 45001.pptx
Tour Presentation Educational Activity.pptx
Self management and self evaluation presentation
Non-Verbal-Communication .mh.pdf_110245_compressed.pptx
oil_refinery_presentation_v1 sllfmfls.pdf
Parts of Speech Prepositions Presentation in Colorful Cute Style_20250724_230...

Meetup hyderabad mule-4.x

  • 1. 23th FEB,2019: More in Mule 4 And Anypoint Studio Hyderabad MuleSoft Meetup
  • 2. All contents © MuleSoft Inc. Agenda 2 • 11:00 AM Introduction • 11:15 AM Presentation: Mule 4 / Anypoint Studio 7-Deep Drive • 12:30 AM Tea, Coffee and Snacks break • 01:00 PM Q & A • 01:45 PM Networking and Plan for Next Meetup
  • 3. All contents © MuleSoft Inc. Agenda 3 • Introductions • What’s new with Mule 4 • New Message Structure • Transformation and data Simplified • DataWeave 2.0 • Seamless Data Access • Error Handling With Mule 4 • Class Loader Isolation • Mule 3 Complexity Flow Vs Mule 4 Productivity Flow
  • 4. All contents © MuleSoft Inc. Introduction : Organizer, Speaker and You 4 Santosh Ojha Manish Yadav Sravan Lingam A SHOW OF HANDS: Who is new to this Meetup?
  • 6. All contents © MuleSoft Inc. What’s New With Mule 4? 6 • Improving speed of delivery and accelerating developer on-ramp through a simplified language, error handling, and event and message model. • Generating connectors automatically from RAML specs with REST connect. • Simplifying upgrades with class loader isolation. • Mule 4 ships with a new reactive, non-blocking execution engine. • Users no longer need to convert data into a set of objects to access it. • Error Handling - Easier and more powerful error handling with a new Try scope.
  • 7. All contents © MuleSoft Inc. What’s New With Mule 4 7 • Expression language - The Mule Expression Language has been replaced with the DataWeave language so that you work with data and learn Mule more easily. • DataWeave - DataWeave includes minor changes to simplify the syntax and make it easier to learn. • Studio 7 - Features a simplified palette, improved Maven integration, and many other usability improvements. • Runtime engine - The internal execution engine has been updated with a new self-tuning and non-blocking reactive engine. This allows for better performance and scalability out-of-the-box.
  • 8. All contents © MuleSoft Inc. What’s New with Mule 4 8
  • 9. All contents © MuleSoft Inc. Triggers, Connectors, and APIs in Mule 4 9
  • 10. All contents © MuleSoft Inc. Simpler Flows - Validators Mule 3 Flow Mule 4 Choice Replacement Choice Replacement
  • 11. All contents © MuleSoft Inc. Language Agnostic - Java Optional 11 Business Formats: ● JSON ● XML ● Java ● CSV ● and more!
  • 12. Mule 4 Event Model New Message Structure
  • 13. All contents © MuleSoft Inc. Mule 4 Event Model 13 • Event Flow
  • 14. All contents © MuleSoft Inc. Event and Message 14 • Events have a Message and variables • Each message contains – Payload – e.g. HTTP body, FTP file, etc – Attributes – HTTP headers/uri params, File information, etc. • Variables can any object: data, attributes, or even another Message! Message Event Payload Attributes Variable1 (Object) Variable2 (Message)
  • 15. All contents © MuleSoft Inc. What goes on Attributes 15
  • 16. All contents © MuleSoft Inc. Transformation and Data Simplified 16 • Formal type system defined. Types can be – Binary – CSV – JSON – XML – Object (and sub types – List, Attributes, etc) – Scalar – Number, String, etc. • Binary representation is transparent. Don’t worry about InputStream/byte[]/etc • If you feel the need to do Object to Byte Array/String/etc – you’re doing it wrong or it’s a bug.
  • 18. All contents © MuleSoft Inc. DataWeave 2.0 18 • Mule 4 introduces DataWeave as the default expression language,replacing Mule Expression Language (MEL) with a scripting and transformation engine. • Java interoperability: Static methods can be executed through DataWeave. • Simplified syntax: All operators are now functions, making DataWeave easier to learn. • New advanced capabilities: Call Java functions directly,use multi-line comments, and define function types and variable types with type inference
  • 19. All contents © MuleSoft Inc. DataWeave 2.0 19 • Default expression language of Mule 4. • More supported data formats such as “application/x-www- formurlencoded”, and “multipart/*”. • Data extraction without explicit data conversion. • More functions and operations for data manipulations
  • 20. All contents © MuleSoft Inc. Simplified DataWeave 20 • Operator precedence in Mule 3 took some remembering. Now, all operators are functions – Mule 3: upper pluralize dasherize "maxMule" – Mule 4: upper(pluralize(dasherize("maxMule"))) – More parentheses, but with auto-completion should be easier for new users • Traits are now functions too – Mule 3: payload is :empty – Mule 4: isEmpty(payload) • Pascal style type names – Mule 3: payload.foo as :string – Mule 4: payload.foo as String
  • 21. All contents © MuleSoft Inc. DataWeave Enhancements 21 • Variables/function params typing • Multiline comments • Imports %dw 2.0 import dw::core::Strings output application/json ---{ 'plural':Strings::pluralize("meetup" ) } /** *@Author-Manish Yadav */ fun foo(x: String):String = x var myVar: String "Weave" Declare static Java functions: And access them directly in DataWeave: public class MyUtilClass{ public static String reformat(String input) { return ...;} } %dw 2.0 import java!forslidesmuckaround::MyUtilClass --- { date: MyClass::reformat(myInputString) }
  • 22. All contents © MuleSoft Inc. Seamless Data Access 22 What do you think Here. • Java Knowledge required ? • Always Conversion required? • Access of Payload with transformation? payload.email match /([a-z]*)@([a- z]*).com/ payload map { name: $.name, dob: $.dateOfBirth as :date, title: lookup($.titleCode), … }
  • 23. All contents © MuleSoft Inc. Iterating a JSON Array 23 You don’t think ?. • You need to aware of Payload type? • You need to aware of the type of payload For Each accepts?
  • 24. All contents © MuleSoft Inc. Iterating a JSON Array 24 Thinking??? How smart Mule Runtime 4 is? It Knows everything??? 1.DataWeave knows how to iterate a JSON array 2.You don’t even need to specify it’s JSON 3.You don’t need to worry about for each inner working.
  • 25. With Mule 4 No More Message Enricher
  • 26. All contents © MuleSoft Inc. Enrichment: Think Different?? 26 • Directly output data into variables • The payload goes to the variable, but you can send the message or attributes too • For other use cases, use transform to enrich
  • 27. With Mule 4 Error Handling
  • 28. All contents © MuleSoft Inc. Simplified error handling and try scope 28 1. New try block - catch errors anywhere in flows 2. See errors at design time 3. Simplified syntax when using transactions and error handling 4. Re-propagate errors 5. Java Exceptions aren’t needed (but you can still use them!)
  • 29. All contents © MuleSoft Inc. Simplified error handling and try scope 29 Every component has a list of its possible error Errors are easy to discover in Studio
  • 30. All contents © MuleSoft Inc. Error Types: Part of every component 30 Description Duplicate entry '5' for key 'PRIMARY'. Type DB:QUERY_EXECUTION
  • 31. All contents © MuleSoft Inc. Error Handler 31 • Event Step in case of exception occurs at 2.
  • 32. All contents © MuleSoft Inc. Error Handler 32 • Event Step in case of exception occurs at 3.
  • 33. All contents © MuleSoft Inc. Mule Error Description 33 • For example HTTP request failed with Wrong credential. Major Improvement: • Only two strategy of On Error Scope, You can handle all possible error in Mule 4. • In Mule 3,Error can be handled at Flow/Sub Flow or Private Flow but now we can handle the error at event level of message.
  • 34. Mule 4 Runtime Self Tuning Engine
  • 35. All contents © MuleSoft Inc. Self-Tuning Runtime Engine 35 Non-blocking execution engine. Can configure sizing of the pools and Custom thread pools creation for some task This engine makes it possible to achieve optimal performance without having to do manual tuning steps, such as declaring exchange patterns, processing strategies or threading configuration.
  • 36. All contents © MuleSoft Inc. Self-tuning runtime engine 36
  • 37. With Mule 4 Class Loader Isolation
  • 38. All contents © MuleSoft Inc. Class Loader Isolation 38 • With new class loader isolation between Mule applications, the runtime, and Anypoint Connectors, any library changes that occur internally do not affect the application itself. • Connectors are distributed outside the runtime as well, making it possible to get connector enhancements and fixes without having to upgrade the runtime or vice versa.
  • 39. All contents © MuleSoft Inc. Mule 3 today: a medium complexity flow 39 ObjectStore Transports JavaWatermark Streams Connectors Enricher DataWeave 22 Concepts 13 Steps Java and .NET specialists MEL
  • 40. All contents © MuleSoft Inc. Integration, Simplified - 3 to 4x productivity 40 Java & SFDC specialists 13 Steps22 Concepts9 Concepts 5 Steps Specialists & generalists
  • 41. All contents © MuleSoft Inc. Take a stand ! 41 • Nominate yourself for the next meetup speaker and suggest a topic as well.
  • 42. See you next time Please send topic suggestions to the organizer