SlideShare a Scribd company logo
INTRODUCTION
• THE DATAWEAVE LANGUAGE IS A POWERFUL TEMPLATE ENGINE THAT ALLOWS YOU TO TRANSFORM DATA TO AND FROM ANY
KIND OF FORMAT (XML, CSV, JSON, POJOS, MAPS, ETC).
• POWERED BY THE CORE MULE RUNTIME
• FULL INTEGRATED WITH ENYPOINT STUDIO
• STARTING WITH MULE 3.7
• PROVIDED A WAY FOR USERS TO GRAPHICALLY MANIPULATE DATA AND WORKWITH MANY DIFFERENT DATA FORMATS.
• EASY TO WRITE, EASY TO MAINTAIN.
DATAWEAVE INTEGRATION WITH ANYPOINT STUDIO
• THE DATAWEAVE TRANSFORM MESSAGE COMPONENT PROVIDE AN ANYPOINT STUDIO INTERFACE
• THE PROPERTIES VIEW HAS INPUT, TRANSFORM AND OUTPUT(WITH A PREVIEW) SECTIONS
Input
Output
BASIC EXAMPLE : FROM JSON TO XML
INPUT
{
“FIRSTNAME": “MARIO",
“LASTNAME": “ROSSI",
"YEAR": 1970
}
TRANSFORM
%DW 1.0 %OUTPUT APPLICATION/XML
{
PERSON: {
FIRSTNAME : PAYLOAD. FIRSTNAME,
LASTNAME : PAYLOAD. LASTNAME,
YEAR : PAYLOAD. YEAR
}
}
OUPUT
<?XML VERSION='1.0' ENCODING='UTF-8'?>
<PERSON>
<FIRSTNAME>MARIO</FIRSTNAME>
<LASTNAME>ROSSI</LASTNAME>
<YEAR>1970</YEAR>
</PERSON>

More Related Content

Viewers also liked

final indian journal paper 123
final indian journal paper 123final indian journal paper 123
final indian journal paper 123rajvardhan mane
 
Usando seu codigo java no mule part 2
Usando seu codigo java no mule part 2Usando seu codigo java no mule part 2
Usando seu codigo java no mule part 2
Jeison Barros
 
IEEE Grant Opportunities for Young Scientists and Students
IEEE Grant Opportunities for Young Scientists and StudentsIEEE Grant Opportunities for Young Scientists and Students
IEEE Grant Opportunities for Young Scientists and Students
YSF-2015
 
Shipping your logs to elk from mule app/cloudhub part 1
Shipping  your logs to elk from mule app/cloudhub   part 1Shipping  your logs to elk from mule app/cloudhub   part 1
Shipping your logs to elk from mule app/cloudhub part 1
Alex Fernandez
 
Mulesoft salesforce connector to update Object.
Mulesoft salesforce connector to update Object.Mulesoft salesforce connector to update Object.
Mulesoft salesforce connector to update Object.
Yogesh Chandr
 
Novedades en el tratamiento no farmacológico
Novedades en el tratamiento no farmacológicoNovedades en el tratamiento no farmacológico
Novedades en el tratamiento no farmacológico
Sociedad Española de Cardiología
 
Sessió 2. tema i títol
Sessió 2. tema i títolSessió 2. tema i títol
Sessió 2. tema i títol
sesgurb
 
Αβορίγινες
ΑβορίγινεςΑβορίγινες
Αβορίγινες
tapaidiatonkaision
 
Mule concepts
Mule conceptsMule concepts
Mule concepts
Sindhu VL
 
Xslt attributes
Xslt attributesXslt attributes
Xslt attributes
Sindhu VL
 
φαγητα της ρωσιας
φαγητα της ρωσιαςφαγητα της ρωσιας
φαγητα της ρωσιας
Chrysa Arabatzoglou
 
Triggered Email Marketing
Triggered Email MarketingTriggered Email Marketing
Triggered Email Marketing
Silverpop
 
Matter changes presentation
Matter changes presentationMatter changes presentation
Matter changes presentation
edulff
 
Judging science engineering and technology
Judging science engineering and technologyJudging science engineering and technology
Judging science engineering and technology
Iowa State University Extension 4-H
 
Salman Hyder CV
Salman Hyder CVSalman Hyder CV
Salman Hyder CVsalman Ali
 
Gave Jayne Confidence
Gave Jayne ConfidenceGave Jayne Confidence
Gave Jayne ConfidenceSam Sanderson
 
Trends Affecting Email Marketing
Trends Affecting Email MarketingTrends Affecting Email Marketing
Trends Affecting Email Marketing
Silverpop
 

Viewers also liked (20)

final indian journal paper 123
final indian journal paper 123final indian journal paper 123
final indian journal paper 123
 
Usando seu codigo java no mule part 2
Usando seu codigo java no mule part 2Usando seu codigo java no mule part 2
Usando seu codigo java no mule part 2
 
IEEE Grant Opportunities for Young Scientists and Students
IEEE Grant Opportunities for Young Scientists and StudentsIEEE Grant Opportunities for Young Scientists and Students
IEEE Grant Opportunities for Young Scientists and Students
 
Shipping your logs to elk from mule app/cloudhub part 1
Shipping  your logs to elk from mule app/cloudhub   part 1Shipping  your logs to elk from mule app/cloudhub   part 1
Shipping your logs to elk from mule app/cloudhub part 1
 
Mulesoft salesforce connector to update Object.
Mulesoft salesforce connector to update Object.Mulesoft salesforce connector to update Object.
Mulesoft salesforce connector to update Object.
 
Novedades en el tratamiento no farmacológico
Novedades en el tratamiento no farmacológicoNovedades en el tratamiento no farmacológico
Novedades en el tratamiento no farmacológico
 
Sessió 2. tema i títol
Sessió 2. tema i títolSessió 2. tema i títol
Sessió 2. tema i títol
 
Αβορίγινες
ΑβορίγινεςΑβορίγινες
Αβορίγινες
 
ινδια
ινδιαινδια
ινδια
 
Mule concepts
Mule conceptsMule concepts
Mule concepts
 
Xslt attributes
Xslt attributesXslt attributes
Xslt attributes
 
φαγητα της ρωσιας
φαγητα της ρωσιαςφαγητα της ρωσιας
φαγητα της ρωσιας
 
Triggered Email Marketing
Triggered Email MarketingTriggered Email Marketing
Triggered Email Marketing
 
Matter changes presentation
Matter changes presentationMatter changes presentation
Matter changes presentation
 
Judging science engineering and technology
Judging science engineering and technologyJudging science engineering and technology
Judging science engineering and technology
 
Salman Hyder CV
Salman Hyder CVSalman Hyder CV
Salman Hyder CV
 
Gave Jayne Confidence
Gave Jayne ConfidenceGave Jayne Confidence
Gave Jayne Confidence
 
STATISTA
STATISTASTATISTA
STATISTA
 
Trends Affecting Email Marketing
Trends Affecting Email MarketingTrends Affecting Email Marketing
Trends Affecting Email Marketing
 
GMID
GMIDGMID
GMID
 

Similar to Transform Message

Mule getting started
Mule getting startedMule getting started
Mule getting started
Karim Ezzine
 
Dataweave
DataweaveDataweave
Dataweave
Bhoopal Kante
 
Mis college over cloud
Mis college over cloudMis college over cloud
Mis college over cloud
Santosh Pawar
 
Fyp presentation 2 (SQL Converter)
Fyp presentation 2 (SQL Converter)Fyp presentation 2 (SQL Converter)
Fyp presentation 2 (SQL Converter)
Muhammad Shafiq
 
Mule esb
Mule esbMule esb
Mule esb
Son Nguyen
 
Mule any point studio
Mule any point studioMule any point studio
Mule any point studio
Son Nguyen
 
Data weave reference documentation
Data weave reference documentationData weave reference documentation
Data weave reference documentation
D.Rajesh Kumar
 
[WSO2Con EU 2017] Introduction to Ballerina
[WSO2Con EU 2017] Introduction to Ballerina[WSO2Con EU 2017] Introduction to Ballerina
[WSO2Con EU 2017] Introduction to Ballerina
WSO2
 
XML Converters
XML ConvertersXML Converters
XML Converters
Stylus Studio
 
Puppet – Make stateful apps easier than stateless
Puppet – Make stateful apps easier than statelessPuppet – Make stateful apps easier than stateless
Puppet – Make stateful apps easier than stateless
Starcounter
 
Hail hydrate! from stream to lake using open source
Hail hydrate! from stream to lake using open sourceHail hydrate! from stream to lake using open source
Hail hydrate! from stream to lake using open source
Timothy Spann
 
Introducing Oslo
Introducing OsloIntroducing Oslo
Introducing Oslo
Suresh Veeragoni
 
Spring integration
Spring integrationSpring integration
Spring integration
Zülfikar Karakaya
 
Normalizing x pages web development
Normalizing x pages web development Normalizing x pages web development
Normalizing x pages web development
Shean McManus
 
How Microsoft Built and Scaled Cosmos
How Microsoft Built and Scaled CosmosHow Microsoft Built and Scaled Cosmos
How Microsoft Built and Scaled Cosmos
SingleStore
 
MACHBASE_NEO
MACHBASE_NEOMACHBASE_NEO
MACHBASE_NEO
MACHBASE
 
MYSQL-Database
MYSQL-DatabaseMYSQL-Database
Webservices
WebservicesWebservices
Webservices
s4al_com
 
Data Base Connector
Data Base Connector Data Base Connector
Data Base Connector
Venkat Rachapudi
 
Osi model secugenius_harksh
Osi model secugenius_harkshOsi model secugenius_harksh
Osi model secugenius_harksh
Mike McLain
 

Similar to Transform Message (20)

Mule getting started
Mule getting startedMule getting started
Mule getting started
 
Dataweave
DataweaveDataweave
Dataweave
 
Mis college over cloud
Mis college over cloudMis college over cloud
Mis college over cloud
 
Fyp presentation 2 (SQL Converter)
Fyp presentation 2 (SQL Converter)Fyp presentation 2 (SQL Converter)
Fyp presentation 2 (SQL Converter)
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule any point studio
Mule any point studioMule any point studio
Mule any point studio
 
Data weave reference documentation
Data weave reference documentationData weave reference documentation
Data weave reference documentation
 
[WSO2Con EU 2017] Introduction to Ballerina
[WSO2Con EU 2017] Introduction to Ballerina[WSO2Con EU 2017] Introduction to Ballerina
[WSO2Con EU 2017] Introduction to Ballerina
 
XML Converters
XML ConvertersXML Converters
XML Converters
 
Puppet – Make stateful apps easier than stateless
Puppet – Make stateful apps easier than statelessPuppet – Make stateful apps easier than stateless
Puppet – Make stateful apps easier than stateless
 
Hail hydrate! from stream to lake using open source
Hail hydrate! from stream to lake using open sourceHail hydrate! from stream to lake using open source
Hail hydrate! from stream to lake using open source
 
Introducing Oslo
Introducing OsloIntroducing Oslo
Introducing Oslo
 
Spring integration
Spring integrationSpring integration
Spring integration
 
Normalizing x pages web development
Normalizing x pages web development Normalizing x pages web development
Normalizing x pages web development
 
How Microsoft Built and Scaled Cosmos
How Microsoft Built and Scaled CosmosHow Microsoft Built and Scaled Cosmos
How Microsoft Built and Scaled Cosmos
 
MACHBASE_NEO
MACHBASE_NEOMACHBASE_NEO
MACHBASE_NEO
 
MYSQL-Database
MYSQL-DatabaseMYSQL-Database
MYSQL-Database
 
Webservices
WebservicesWebservices
Webservices
 
Data Base Connector
Data Base Connector Data Base Connector
Data Base Connector
 
Osi model secugenius_harksh
Osi model secugenius_harkshOsi model secugenius_harksh
Osi model secugenius_harksh
 

Recently uploaded

Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
Sharepoint Designs
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
varshanayak241
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
KrzysztofKkol1
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
ayushiqss
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Hivelance Technology
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 

Recently uploaded (20)

Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 

Transform Message

  • 1.
  • 2. INTRODUCTION • THE DATAWEAVE LANGUAGE IS A POWERFUL TEMPLATE ENGINE THAT ALLOWS YOU TO TRANSFORM DATA TO AND FROM ANY KIND OF FORMAT (XML, CSV, JSON, POJOS, MAPS, ETC). • POWERED BY THE CORE MULE RUNTIME • FULL INTEGRATED WITH ENYPOINT STUDIO • STARTING WITH MULE 3.7 • PROVIDED A WAY FOR USERS TO GRAPHICALLY MANIPULATE DATA AND WORKWITH MANY DIFFERENT DATA FORMATS. • EASY TO WRITE, EASY TO MAINTAIN.
  • 3. DATAWEAVE INTEGRATION WITH ANYPOINT STUDIO • THE DATAWEAVE TRANSFORM MESSAGE COMPONENT PROVIDE AN ANYPOINT STUDIO INTERFACE • THE PROPERTIES VIEW HAS INPUT, TRANSFORM AND OUTPUT(WITH A PREVIEW) SECTIONS Input Output
  • 4. BASIC EXAMPLE : FROM JSON TO XML INPUT { “FIRSTNAME": “MARIO", “LASTNAME": “ROSSI", "YEAR": 1970 } TRANSFORM %DW 1.0 %OUTPUT APPLICATION/XML { PERSON: { FIRSTNAME : PAYLOAD. FIRSTNAME, LASTNAME : PAYLOAD. LASTNAME, YEAR : PAYLOAD. YEAR } } OUPUT <?XML VERSION='1.0' ENCODING='UTF-8'?> <PERSON> <FIRSTNAME>MARIO</FIRSTNAME> <LASTNAME>ROSSI</LASTNAME> <YEAR>1970</YEAR> </PERSON>