SlideShare a Scribd company logo
1 of 44
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
THANK YOU

More Related Content

What's hot

MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019Subhash Patel
 
MuleSoft Clustring, Okta, CI/CD Integration with Jenkins
MuleSoft Clustring, Okta, CI/CD Integration with JenkinsMuleSoft Clustring, Okta, CI/CD Integration with Jenkins
MuleSoft Clustring, Okta, CI/CD Integration with JenkinsManish Kumar Yadav
 
MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...
MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...
MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...Manish Kumar Yadav
 
MuleSoft Meetup Charlotte 2019
MuleSoft Meetup Charlotte  2019MuleSoft Meetup Charlotte  2019
MuleSoft Meetup Charlotte 2019Subhash Patel
 
Ahmedabad MuleSoft Meetup #1
Ahmedabad MuleSoft Meetup #1Ahmedabad MuleSoft Meetup #1
Ahmedabad MuleSoft Meetup #1Tejas Purohit
 
MuleSoft Meetup 3 Charlotte Presentation Slides
MuleSoft Meetup 3 Charlotte Presentation SlidesMuleSoft Meetup 3 Charlotte Presentation Slides
MuleSoft Meetup 3 Charlotte Presentation SlidesSubhash Patel
 
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafkaMuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafkaRoyston Lobo
 
Mulesoft meetup slides mumbai_20113019_exception_handling
Mulesoft meetup slides mumbai_20113019_exception_handlingMulesoft meetup slides mumbai_20113019_exception_handling
Mulesoft meetup slides mumbai_20113019_exception_handlingManish Kumar Yadav
 
Mule meetup Hyderabad
Mule meetup HyderabadMule meetup Hyderabad
Mule meetup HyderabadSravan Lingam
 
MuleSoft Meetup Virtual_ 2_Charlotte
MuleSoft Meetup Virtual_ 2_CharlotteMuleSoft Meetup Virtual_ 2_Charlotte
MuleSoft Meetup Virtual_ 2_CharlotteSubhash Patel
 
Meetup bangalore june29th2019
Meetup bangalore june29th2019Meetup bangalore june29th2019
Meetup bangalore june29th2019D.Rajesh Kumar
 
Mule soft meetup_virtual_ 3_charlotte_07july_2021__final
Mule soft meetup_virtual_ 3_charlotte_07july_2021__finalMule soft meetup_virtual_ 3_charlotte_07july_2021__final
Mule soft meetup_virtual_ 3_charlotte_07july_2021__finalSubhash Patel
 
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...
Mule 4 migration + Common Integration Challenges : MuleSoft Virtual Muleys Me...Angel Alberici
 
Charlotte meetup anypointmonitoring_v3
Charlotte meetup anypointmonitoring_v3Charlotte meetup anypointmonitoring_v3
Charlotte meetup anypointmonitoring_v3Subhash Patel
 
Virtual Meetup: Mule 4 Error Handling and Logging
Virtual Meetup: Mule 4 Error Handling and LoggingVirtual Meetup: Mule 4 Error Handling and Logging
Virtual Meetup: Mule 4 Error Handling and LoggingJimmy Attia
 
Mulesoft with ELK (Elastic Search, Log stash, Kibana)
Mulesoft with ELK (Elastic Search, Log stash, Kibana)Mulesoft with ELK (Elastic Search, Log stash, Kibana)
Mulesoft with ELK (Elastic Search, Log stash, Kibana)Gaurav Sethi
 
Meet up slides_mumbai_21032020_final
Meet up slides_mumbai_21032020_finalMeet up slides_mumbai_21032020_final
Meet up slides_mumbai_21032020_finalAkshata Sawant
 
MuleSoft Meetup Warsaw Group DataWeave 2.0
MuleSoft Meetup Warsaw Group DataWeave 2.0MuleSoft Meetup Warsaw Group DataWeave 2.0
MuleSoft Meetup Warsaw Group DataWeave 2.0Patryk Bandurski
 
Mule soft meetup_virtual_ charlotte_2020_final1
Mule soft meetup_virtual_ charlotte_2020_final1Mule soft meetup_virtual_ charlotte_2020_final1
Mule soft meetup_virtual_ charlotte_2020_final1Subhash Patel
 
MuleSoft Meetup Charlotte 2019 - Dec 10
MuleSoft Meetup Charlotte  2019 - Dec 10MuleSoft Meetup Charlotte  2019 - Dec 10
MuleSoft Meetup Charlotte 2019 - Dec 10Subhash Patel
 

What's hot (20)

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

Similar to Meetup hyderabad mule-4.x

Ahmedabad MuleSoft 3rd Meetup
Ahmedabad MuleSoft 3rd Meetup Ahmedabad MuleSoft 3rd Meetup
Ahmedabad MuleSoft 3rd Meetup Rajesh Maheshwari
 
Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Zubair Aslam
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesSecond Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesFernando Silva
 
Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter
Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter
Tips and Tricks for the Advanced Mule Developer with Tesla and Twitter MuleSoft
 
Manila MuleSoft Meetup - September 2018
Manila MuleSoft Meetup - September 2018Manila MuleSoft Meetup - September 2018
Manila MuleSoft Meetup - September 2018Ryan Anthony Andal
 
Third Meetup Slides Mulesoft Mexico City
Third Meetup Slides Mulesoft Mexico CityThird Meetup Slides Mulesoft Mexico City
Third Meetup Slides Mulesoft Mexico CityAlan Muñoz Ochoa
 
Bangalore meetup slides_dec_7th_2019
Bangalore meetup slides_dec_7th_2019Bangalore meetup slides_dec_7th_2019
Bangalore meetup slides_dec_7th_2019pruthviraj krishnam
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsJulian Douch
 
Mule integration-application
Mule integration-applicationMule integration-application
Mule integration-applicationNaresh Naidu
 
Mulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramMulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramAnurag Dwivedi
 
Pune Mule Meetups July 2019
Pune Mule Meetups July 2019Pune Mule Meetups July 2019
Pune Mule Meetups July 2019Santosh Ojha
 
West Yorkshire Mulesoft Meetup #6
West Yorkshire Mulesoft Meetup #6West Yorkshire Mulesoft Meetup #6
West Yorkshire Mulesoft Meetup #6Francis Edwards
 
MuleSoft Manchester Meetup #3 slides 31st March 2020
MuleSoft Manchester Meetup #3 slides 31st March 2020MuleSoft Manchester Meetup #3 slides 31st March 2020
MuleSoft Manchester Meetup #3 slides 31st March 2020Ieva Navickaite
 
MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...
MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...
MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...Jitendra Bafna
 
Mumbai MuleSoft Meetup 11
Mumbai MuleSoft Meetup 11Mumbai MuleSoft Meetup 11
Mumbai MuleSoft Meetup 11Akshata Sawant
 
DevOps and APIs: Great Alone, Better Together
DevOps and APIs: Great Alone, Better Together DevOps and APIs: Great Alone, Better Together
DevOps and APIs: Great Alone, Better Together MuleSoft
 
A comprehensive guide to mule soft mule 4
A comprehensive guide to mule soft mule 4A comprehensive guide to mule soft mule 4
A comprehensive guide to mule soft mule 4pruthviraj krishnam
 

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

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

More from Santosh Ojha

docusign pune meetup.pdf
docusign pune meetup.pdfdocusign pune meetup.pdf
docusign pune meetup.pdfSantosh Ojha
 
Varanasi_Meetup_Universal API Managment.pdf
Varanasi_Meetup_Universal API Managment.pdfVaranasi_Meetup_Universal API Managment.pdf
Varanasi_Meetup_Universal API Managment.pdfSantosh Ojha
 
Hyd virtual meetupslides11jul
Hyd virtual meetupslides11julHyd virtual meetupslides11jul
Hyd virtual meetupslides11julSantosh Ojha
 
Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020Santosh Ojha
 
Meetup slide 19th oct
Meetup slide 19th octMeetup slide 19th oct
Meetup slide 19th octSantosh Ojha
 
Hyderabad Mule meetup #9
 Hyderabad Mule meetup #9 Hyderabad Mule meetup #9
Hyderabad Mule meetup #9Santosh Ojha
 
Mule Meetup Pune - August 2019
Mule Meetup Pune - August 2019Mule Meetup Pune - August 2019
Mule Meetup Pune - August 2019Santosh Ojha
 
Examples from Pune meetup
Examples from Pune meetupExamples from Pune meetup
Examples from Pune meetupSantosh Ojha
 
Meetup slide 1st june
Meetup slide 1st juneMeetup slide 1st june
Meetup slide 1st juneSantosh Ojha
 
Pune mulesoft meetup june 29 - b2 b
Pune mulesoft meetup   june 29 - b2 bPune mulesoft meetup   june 29 - b2 b
Pune mulesoft meetup june 29 - b2 bSantosh Ojha
 
Meetup slide 20_apr
Meetup slide 20_aprMeetup slide 20_apr
Meetup slide 20_aprSantosh Ojha
 
Meetup slide 15_dec_v2
Meetup slide 15_dec_v2Meetup slide 15_dec_v2
Meetup slide 15_dec_v2Santosh Ojha
 

More from Santosh Ojha (14)

docusign pune meetup.pdf
docusign pune meetup.pdfdocusign pune meetup.pdf
docusign pune meetup.pdf
 
Varanasi_Meetup_Universal API Managment.pdf
Varanasi_Meetup_Universal API Managment.pdfVaranasi_Meetup_Universal API Managment.pdf
Varanasi_Meetup_Universal API Managment.pdf
 
Hyd virtual meetupslides11jul
Hyd virtual meetupslides11julHyd virtual meetupslides11jul
Hyd virtual meetupslides11jul
 
Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020
 
Meetup tdd
Meetup tddMeetup tdd
Meetup tdd
 
Meetup slide 19th oct
Meetup slide 19th octMeetup slide 19th oct
Meetup slide 19th oct
 
Hyderabad Mule meetup #9
 Hyderabad Mule meetup #9 Hyderabad Mule meetup #9
Hyderabad Mule meetup #9
 
Mule Meetup Pune - August 2019
Mule Meetup Pune - August 2019Mule Meetup Pune - August 2019
Mule Meetup Pune - August 2019
 
Examples from Pune meetup
Examples from Pune meetupExamples from Pune meetup
Examples from Pune meetup
 
Meetup slide 1st june
Meetup slide 1st juneMeetup slide 1st june
Meetup slide 1st june
 
Pune mulesoft meetup june 29 - b2 b
Pune mulesoft meetup   june 29 - b2 bPune mulesoft meetup   june 29 - b2 b
Pune mulesoft meetup june 29 - b2 b
 
Meetup slide 20_apr
Meetup slide 20_aprMeetup slide 20_apr
Meetup slide 20_apr
 
Meetup slide 15_dec_v2
Meetup slide 15_dec_v2Meetup slide 15_dec_v2
Meetup slide 15_dec_v2
 
Mule activemq
Mule activemqMule activemq
Mule activemq
 

Recently uploaded

Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Pooja Nehwal
 
SBFT Tool Competition 2024 - CPS-UAV Test Case Generation Track
SBFT Tool Competition 2024 - CPS-UAV Test Case Generation TrackSBFT Tool Competition 2024 - CPS-UAV Test Case Generation Track
SBFT Tool Competition 2024 - CPS-UAV Test Case Generation TrackSebastiano Panichella
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Krijn Poppe
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Salam Al-Karadaghi
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024eCommerce Institute
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringSebastiano Panichella
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)Basil Achie
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSebastiano Panichella
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptssuser319dad
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Delhi Call girls
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxFamilyWorshipCenterD
 
LANDMARKS AND MONUMENTS IN NIGERIA.pptx
LANDMARKS  AND MONUMENTS IN NIGERIA.pptxLANDMARKS  AND MONUMENTS IN NIGERIA.pptx
LANDMARKS AND MONUMENTS IN NIGERIA.pptxBasil Achie
 
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...NETWAYS
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...NETWAYS
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )Pooja Nehwal
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxmavinoikein
 

Recently uploaded (20)

Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
 
SBFT Tool Competition 2024 - CPS-UAV Test Case Generation Track
SBFT Tool Competition 2024 - CPS-UAV Test Case Generation TrackSBFT Tool Competition 2024 - CPS-UAV Test Case Generation Track
SBFT Tool Competition 2024 - CPS-UAV Test Case Generation Track
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software Engineering
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation Track
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.ppt
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
 
LANDMARKS AND MONUMENTS IN NIGERIA.pptx
LANDMARKS  AND MONUMENTS IN NIGERIA.pptxLANDMARKS  AND MONUMENTS IN NIGERIA.pptx
LANDMARKS AND MONUMENTS IN NIGERIA.pptx
 
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptx
 

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
  • 43.