SlideShare a Scribd company logo
Abhishek Jain
 Use of MEL
 Access Object Level Properties
 Access Method Level Properties
 Operators
 Operators Evaluation
 Data Extraction
 Topic for next session
 Reference
-In the previous slide example, MEL is calling the inbound
property from the mule message for the value of “Host”
-All properties are stored in Map
-There are two ways to access them
-#[message.getInboundProperty(‘host’)]
-#[message.InboundProperties[‘host’]]
-In order to access Mule Registry, use below expression
If payload is of type java object
then properties can be accessed
directly by calling the fieldname
from payload.
For example, payload is of
CustomerDetails object and want to
access lastname then use the
below expression
#[payload.lastName]
If payload is of type java object
then methods can also be triggered
using MEL
For example, payload is of
CustomerDetails object and want to
trigger getFirstName method then
use below expressiono
#[payload.getFirstName()]
#[‘hello’ + ‘John’] => Hello John
Standard Comparison Operators:
==, !=, >, <, >=, =<
Contains – Similar to like Operator
Is- Checks the type of an object
Mainly used in Choice Router
 #[xpath(‘expression’)]
 #[regex(‘expression’)]
List/Maps in MEL
 www.mulesoft.com
 Mule in Action
Mule soft mel_day2

More Related Content

What's hot

Angular2
Angular2Angular2
Angular2
SitaPrajapati
 
Design patterns in Magento
Design patterns in MagentoDesign patterns in Magento
Design patterns in Magento
Divante
 
JSP Error handling
JSP Error handlingJSP Error handling
JSP Error handling
kamal kotecha
 
Lift Framework
Lift FrameworkLift Framework
Lift Framework
Jeffrey Groneberg
 
jsp MySQL database connectivity
jsp MySQL database connectivityjsp MySQL database connectivity
jsp MySQL database connectivity
baabtra.com - No. 1 supplier of quality freshers
 
Functions creation in sql
Functions creation in sqlFunctions creation in sql
Jsp Introduction Tutorial
Jsp Introduction TutorialJsp Introduction Tutorial
Jsp Introduction Tutorial
APSMIND TECHNOLOGY PVT LTD.
 
Dataweave nagarjuna
Dataweave nagarjunaDataweave nagarjuna
Dataweave nagarjuna
Nagarjuna reddy
 
Java database connectivity
Java database connectivityJava database connectivity
Java database connectivity
Atul Saurabh
 
Jdbc example program with access and MySql
Jdbc example program with access and MySqlJdbc example program with access and MySql
Jdbc example program with access and MySql
kamal kotecha
 
Java components in Mule
Java components in MuleJava components in Mule
Java components in Mule
Madhuri Chitrala
 
Mule Expression language
Mule Expression languageMule Expression language
Mule Expression language
Mani Rathnam Gudi
 
Expression language in mule
Expression language in muleExpression language in mule
Expression language in mule
Son Nguyen
 
React JS & Functional Programming Principles
React JS & Functional Programming PrinciplesReact JS & Functional Programming Principles
React JS & Functional Programming Principles
Andrii Lundiak
 

What's hot (14)

Angular2
Angular2Angular2
Angular2
 
Design patterns in Magento
Design patterns in MagentoDesign patterns in Magento
Design patterns in Magento
 
JSP Error handling
JSP Error handlingJSP Error handling
JSP Error handling
 
Lift Framework
Lift FrameworkLift Framework
Lift Framework
 
jsp MySQL database connectivity
jsp MySQL database connectivityjsp MySQL database connectivity
jsp MySQL database connectivity
 
Functions creation in sql
Functions creation in sqlFunctions creation in sql
Functions creation in sql
 
Jsp Introduction Tutorial
Jsp Introduction TutorialJsp Introduction Tutorial
Jsp Introduction Tutorial
 
Dataweave nagarjuna
Dataweave nagarjunaDataweave nagarjuna
Dataweave nagarjuna
 
Java database connectivity
Java database connectivityJava database connectivity
Java database connectivity
 
Jdbc example program with access and MySql
Jdbc example program with access and MySqlJdbc example program with access and MySql
Jdbc example program with access and MySql
 
Java components in Mule
Java components in MuleJava components in Mule
Java components in Mule
 
Mule Expression language
Mule Expression languageMule Expression language
Mule Expression language
 
Expression language in mule
Expression language in muleExpression language in mule
Expression language in mule
 
React JS & Functional Programming Principles
React JS & Functional Programming PrinciplesReact JS & Functional Programming Principles
React JS & Functional Programming Principles
 

Viewers also liked

Digital or In-Person? How to Choose the Best Research Approach for the Best R...
Digital or In-Person? How to Choose the Best Research Approach for the Best R...Digital or In-Person? How to Choose the Best Research Approach for the Best R...
Digital or In-Person? How to Choose the Best Research Approach for the Best R...
digsiteinsights
 
Mule soft mule_variables
Mule soft mule_variablesMule soft mule_variables
Mule soft mule_variables
abhipokharna
 
Quran english translation (sahih international) oct 2016
Quran english translation (sahih international) oct 2016Quran english translation (sahih international) oct 2016
Quran english translation (sahih international) oct 2016
Abu Qasim
 
Victoria and Albert
Victoria and AlbertVictoria and Albert
Victoria and AlbertMaria Prince
 
Mule soft filters
Mule soft filtersMule soft filters
Mule soft filters
abhipokharna
 
Mule soft at a glance
Mule soft at a glanceMule soft at a glance
Mule soft at a glance
abhipokharna
 
Mule soft muleflow
Mule soft muleflowMule soft muleflow
Mule soft muleflow
abhipokharna
 
Hernandez computacion
Hernandez  computacionHernandez  computacion
Hernandez computacion
aymara32135
 
Mule soft filters_2
Mule soft filters_2Mule soft filters_2
Mule soft filters_2
abhipokharna
 
Mule soft firstprogram
Mule soft firstprogramMule soft firstprogram
Mule soft firstprogram
abhipokharna
 
Design Skills Reinvent Fashion
Design Skills Reinvent FashionDesign Skills Reinvent Fashion
Design Skills Reinvent FashionMaria Prince
 
[Webinar] UX Research for Lean Teams
[Webinar] UX Research for Lean Teams[Webinar] UX Research for Lean Teams
[Webinar] UX Research for Lean Teams
digsiteinsights
 
Tutorial excel pestaña datos
Tutorial excel pestaña datosTutorial excel pestaña datos
Tutorial excel pestaña datos
rogerjustiniano0606
 
Mule soft mel_day1
Mule soft mel_day1Mule soft mel_day1
Mule soft mel_day1
abhipokharna
 
Mule soft debugprogram
Mule soft debugprogramMule soft debugprogram
Mule soft debugprogram
abhipokharna
 
Lammertink, Barbara (3337367) - A matter of life and birth - master thesis final
Lammertink, Barbara (3337367) - A matter of life and birth - master thesis finalLammertink, Barbara (3337367) - A matter of life and birth - master thesis final
Lammertink, Barbara (3337367) - A matter of life and birth - master thesis finalBarbara Lammertink
 
Mule soft program
Mule soft programMule soft program
Mule soft program
abhipokharna
 

Viewers also liked (20)

Digital or In-Person? How to Choose the Best Research Approach for the Best R...
Digital or In-Person? How to Choose the Best Research Approach for the Best R...Digital or In-Person? How to Choose the Best Research Approach for the Best R...
Digital or In-Person? How to Choose the Best Research Approach for the Best R...
 
Francis-Certificates
Francis-CertificatesFrancis-Certificates
Francis-Certificates
 
Mule soft mule_variables
Mule soft mule_variablesMule soft mule_variables
Mule soft mule_variables
 
Quran english translation (sahih international) oct 2016
Quran english translation (sahih international) oct 2016Quran english translation (sahih international) oct 2016
Quran english translation (sahih international) oct 2016
 
Victoria and Albert
Victoria and AlbertVictoria and Albert
Victoria and Albert
 
Mule soft filters
Mule soft filtersMule soft filters
Mule soft filters
 
TSG__About_Us
TSG__About_UsTSG__About_Us
TSG__About_Us
 
Mule soft at a glance
Mule soft at a glanceMule soft at a glance
Mule soft at a glance
 
Mule soft muleflow
Mule soft muleflowMule soft muleflow
Mule soft muleflow
 
Hernandez computacion
Hernandez  computacionHernandez  computacion
Hernandez computacion
 
Mule soft filters_2
Mule soft filters_2Mule soft filters_2
Mule soft filters_2
 
Mule soft firstprogram
Mule soft firstprogramMule soft firstprogram
Mule soft firstprogram
 
Design Skills Reinvent Fashion
Design Skills Reinvent FashionDesign Skills Reinvent Fashion
Design Skills Reinvent Fashion
 
[Webinar] UX Research for Lean Teams
[Webinar] UX Research for Lean Teams[Webinar] UX Research for Lean Teams
[Webinar] UX Research for Lean Teams
 
Tutorial excel pestaña datos
Tutorial excel pestaña datosTutorial excel pestaña datos
Tutorial excel pestaña datos
 
Mule soft mel_day1
Mule soft mel_day1Mule soft mel_day1
Mule soft mel_day1
 
Mule soft debugprogram
Mule soft debugprogramMule soft debugprogram
Mule soft debugprogram
 
Lammertink, Barbara (3337367) - A matter of life and birth - master thesis final
Lammertink, Barbara (3337367) - A matter of life and birth - master thesis finalLammertink, Barbara (3337367) - A matter of life and birth - master thesis final
Lammertink, Barbara (3337367) - A matter of life and birth - master thesis final
 
Mule soft program
Mule soft programMule soft program
Mule soft program
 
PALETAS DEL MEXICO
PALETAS DEL MEXICOPALETAS DEL MEXICO
PALETAS DEL MEXICO
 

Recently uploaded

FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 

Mule soft mel_day2

  • 2.  Use of MEL  Access Object Level Properties  Access Method Level Properties  Operators  Operators Evaluation  Data Extraction  Topic for next session  Reference
  • 3.
  • 4. -In the previous slide example, MEL is calling the inbound property from the mule message for the value of “Host” -All properties are stored in Map -There are two ways to access them -#[message.getInboundProperty(‘host’)] -#[message.InboundProperties[‘host’]] -In order to access Mule Registry, use below expression
  • 5. If payload is of type java object then properties can be accessed directly by calling the fieldname from payload. For example, payload is of CustomerDetails object and want to access lastname then use the below expression #[payload.lastName]
  • 6. If payload is of type java object then methods can also be triggered using MEL For example, payload is of CustomerDetails object and want to trigger getFirstName method then use below expressiono #[payload.getFirstName()]
  • 8. Standard Comparison Operators: ==, !=, >, <, >=, =< Contains – Similar to like Operator Is- Checks the type of an object Mainly used in Choice Router