SlideShare a Scribd company logo
4/4/2016 Manirathnam Gudi
4/4/2016 Manirathnam Gudi
Transformers are used to transform message or event payloads to and from
different types
Transformers are used to convert inbound data to an object type required by the
UMO Component or outbound to an object type required by the transport such as a
JMS Message.
Multiple transformers can be chained together to get a finer grained transformer
implementation that are easier to reuse.
4/4/2016 Manirathnam Gudi
How to alter the message using Transformers
Transformer can alter a message in different ways:
 Payload type transformation- The data type of the message payload is transformed from one form to
another.
Example: java.util.Map is transformed into a javax.jms.MapMessage.
 Payload format transformation- The data format of the message payload is transformed from one form to
another.
Example: DocBook XML instance is transformed into an XSL-FO instance.
 Properties transformation- The properties of the message are modified, whether by adding new
properties or by removing, renaming, or changing the values of existing properties.
Example: Message needs a particular property to be set before being sent to a JMS destination
4/4/2016 Manirathnam Gudi
Transformer Workflow
4/4/2016 Manirathnam Gudi
Transformers can be configured in two ways.
 Configure it locally - We can configure a local transformer at any point in the program or on the
endpoint or in a Flow .
 Configure it Globally – We can also configure a global transformer before any <model> or <flow>
elements in your Mule configuration file and later reference it.
How to configure Transformer
4/4/2016 Manirathnam Gudi
Types of Transformers
Transformers can be categorized into two types :
 Built-in Transformers
 Custom Transformers
 Default Transformers : There are many Standard pre existing Transformers provided in Mule
3.7 which can be used easily to convert the data.
For example :
 Object to JSON Transformer
 Object to String Transformer
 JMS Message to Object Transformer
 Object to JMS Message
 Object to XML
 XML to Object
4/4/2016 Manirathnam Gudi
 Custom Transformers :
 If you are not satisfied with the default/built in transformers which are already provided by Anypoint
Studion (or) If there is any no transformer which meets your requirement then you can develop a
transformer on your own by customizing the code by writing the java code by implementing a Custom
transformer class org.mule.api.transformer.Transformer .
 Depending on your needs we can extend AbstractTransformer or AbstractMessageAwareTransformer .
 We build Custom transformers if it's impossible to realize with an existing transformer or a chain of
transformers.
4/4/2016 Manirathnam Gudi
 References :
 https://docs.mulesoft.com/mule-user-guide/v/3.7/using-transformers
Thank you

More Related Content

What's hot

Design flows in mule
Design flows in muleDesign flows in mule
Design flows in mule
Sindhu VL
 
Mule esb2
Mule esb2Mule esb2
Mule esb2
himajareddys
 
Mule Message Properties Component
Mule Message Properties ComponentMule Message Properties Component
Mule Message Properties Component
Durga Prasad Kakarla
 
Xslt with mule
Xslt with muleXslt with mule
Xslt with mule
Son Nguyen
 
Mule message
Mule messageMule message
Mule message
Son Nguyen
 
Dataweave in studio
Dataweave in studioDataweave in studio
Dataweave in studio
Achyuta Lakshmi Puvvala
 
Mule
MuleMule
File connector mule
File connector   muleFile connector   mule
File connector mule
Sindhu VL
 
Mule agent notifications
Mule agent notificationsMule agent notifications
Mule agent notifications
Shanky Gupta
 
Scatter gather flow in mule
Scatter gather flow in muleScatter gather flow in mule
Scatter gather flow in mule
Son Nguyen
 
Mule batch
Mule batchMule batch
Mule batch
Gandham38
 
Mule any point studio
Mule any point studioMule any point studio
Mule any point studio
Son Nguyen
 
Mulesoft file connector
Mulesoft file connectorMulesoft file connector
Mulesoft file connector
kumar gaurav
 
Mule requestor component
Mule requestor componentMule requestor component
Mule requestor component
Sindhu VL
 
Message processor in mule
Message processor in muleMessage processor in mule
Message processor in mule
Son Nguyen
 
xslt in mule
xslt in mulexslt in mule
xslt in mule
Praneethchampion
 
Propertiesinmule
PropertiesinmulePropertiesinmule
Propertiesinmule
Christian Hipolito
 

What's hot (17)

Design flows in mule
Design flows in muleDesign flows in mule
Design flows in mule
 
Mule esb2
Mule esb2Mule esb2
Mule esb2
 
Mule Message Properties Component
Mule Message Properties ComponentMule Message Properties Component
Mule Message Properties Component
 
Xslt with mule
Xslt with muleXslt with mule
Xslt with mule
 
Mule message
Mule messageMule message
Mule message
 
Dataweave in studio
Dataweave in studioDataweave in studio
Dataweave in studio
 
Mule
MuleMule
Mule
 
File connector mule
File connector   muleFile connector   mule
File connector mule
 
Mule agent notifications
Mule agent notificationsMule agent notifications
Mule agent notifications
 
Scatter gather flow in mule
Scatter gather flow in muleScatter gather flow in mule
Scatter gather flow in mule
 
Mule batch
Mule batchMule batch
Mule batch
 
Mule any point studio
Mule any point studioMule any point studio
Mule any point studio
 
Mulesoft file connector
Mulesoft file connectorMulesoft file connector
Mulesoft file connector
 
Mule requestor component
Mule requestor componentMule requestor component
Mule requestor component
 
Message processor in mule
Message processor in muleMessage processor in mule
Message processor in mule
 
xslt in mule
xslt in mulexslt in mule
xslt in mule
 
Propertiesinmule
PropertiesinmulePropertiesinmule
Propertiesinmule
 

Viewers also liked

Mule Expression language
Mule Expression languageMule Expression language
Mule Expression language
Mani Rathnam Gudi
 
Mulesoft ppt
Mulesoft pptMulesoft ppt
Mulesoft ppt
Achyuta Lakshmi
 
Cymi Ecourja
Cymi EcourjaCymi Ecourja
Cymi Ecourja
HIMADRI BANERJI
 
Mule Expression Transformer
Mule Expression TransformerMule Expression Transformer
Mule Expression Transformer
Ankush Sharma
 
Generating Documentation for Mule ESB Application
Generating Documentation for Mule ESB ApplicationGenerating Documentation for Mule ESB Application
Generating Documentation for Mule ESB Application
Rupesh Sinha
 
Mule routing and filters
Mule routing and filtersMule routing and filters
Mule routing and filters
Gandham38
 
Mule deploying a cloud hub application
Mule deploying a cloud hub applicationMule deploying a cloud hub application
Mule deploying a cloud hub application
D.Rajesh Kumar
 
Overview of Mule
Overview of MuleOverview of Mule
Overview of Mule
AbdulImrankhan7
 
Mule connectors
Mule  connectorsMule  connectors
Mule connectors
himajareddys
 
Mule esb How to convert from CSV to Json in 5 minutes
Mule esb How to convert from CSV to Json in 5 minutesMule esb How to convert from CSV to Json in 5 minutes
Mule esb How to convert from CSV to Json in 5 minutes
Gennaro Spagnoli
 
MuleSoft ESB - CSV File to Database
MuleSoft ESB - CSV File to DatabaseMuleSoft ESB - CSV File to Database
MuleSoft ESB - CSV File to Database
akashdprajapati
 
Demo on Mule ESB Facebook Connector
Demo on Mule ESB Facebook ConnectorDemo on Mule ESB Facebook Connector
Demo on Mule ESB Facebook Connector
Rupesh Sinha
 
Mule esb transformers
Mule esb transformersMule esb transformers
Mule esb transformers
Mani Rathnam Gudi
 
Poly dcem2-endocrino
Poly   dcem2-endocrinoPoly   dcem2-endocrino
Poly dcem2-endocrino
hajoura1971
 
CV of Md. Golam Robbani_ RUET -IPE
CV of Md. Golam Robbani_ RUET -IPECV of Md. Golam Robbani_ RUET -IPE
CV of Md. Golam Robbani_ RUET -IPEGolam Robbani
 
Poly pcem1-la respiration 2016
Poly   pcem1-la respiration 2016Poly   pcem1-la respiration 2016
Poly pcem1-la respiration 2016
hajoura1971
 
SOLANCA Tennis Academy
SOLANCA Tennis AcademySOLANCA Tennis Academy
SOLANCA Tennis AcademyDaniel Camacho
 
Poly dcem2-pediatrie1-t2-2016
Poly   dcem2-pediatrie1-t2-2016Poly   dcem2-pediatrie1-t2-2016
Poly dcem2-pediatrie1-t2-2016
hajoura1971
 
Poly dcem2-chirurgie-2016
Poly   dcem2-chirurgie-2016Poly   dcem2-chirurgie-2016
Poly dcem2-chirurgie-2016
hajoura1971
 

Viewers also liked (20)

Mule Expression language
Mule Expression languageMule Expression language
Mule Expression language
 
Mulesoft ppt
Mulesoft pptMulesoft ppt
Mulesoft ppt
 
Cymi Ecourja
Cymi EcourjaCymi Ecourja
Cymi Ecourja
 
Mule Expression Transformer
Mule Expression TransformerMule Expression Transformer
Mule Expression Transformer
 
Generating Documentation for Mule ESB Application
Generating Documentation for Mule ESB ApplicationGenerating Documentation for Mule ESB Application
Generating Documentation for Mule ESB Application
 
Mule routing and filters
Mule routing and filtersMule routing and filters
Mule routing and filters
 
Mule deploying a cloud hub application
Mule deploying a cloud hub applicationMule deploying a cloud hub application
Mule deploying a cloud hub application
 
Overview of Mule
Overview of MuleOverview of Mule
Overview of Mule
 
Mule connectors
Mule  connectorsMule  connectors
Mule connectors
 
Mule esb How to convert from CSV to Json in 5 minutes
Mule esb How to convert from CSV to Json in 5 minutesMule esb How to convert from CSV to Json in 5 minutes
Mule esb How to convert from CSV to Json in 5 minutes
 
MuleSoft ESB - CSV File to Database
MuleSoft ESB - CSV File to DatabaseMuleSoft ESB - CSV File to Database
MuleSoft ESB - CSV File to Database
 
Demo on Mule ESB Facebook Connector
Demo on Mule ESB Facebook ConnectorDemo on Mule ESB Facebook Connector
Demo on Mule ESB Facebook Connector
 
Mule esb transformers
Mule esb transformersMule esb transformers
Mule esb transformers
 
Poly dcem2-endocrino
Poly   dcem2-endocrinoPoly   dcem2-endocrino
Poly dcem2-endocrino
 
CV of Md. Golam Robbani_ RUET -IPE
CV of Md. Golam Robbani_ RUET -IPECV of Md. Golam Robbani_ RUET -IPE
CV of Md. Golam Robbani_ RUET -IPE
 
Poly pcem1-la respiration 2016
Poly   pcem1-la respiration 2016Poly   pcem1-la respiration 2016
Poly pcem1-la respiration 2016
 
SOLANCA Tennis Academy
SOLANCA Tennis AcademySOLANCA Tennis Academy
SOLANCA Tennis Academy
 
TermPaper
TermPaperTermPaper
TermPaper
 
Poly dcem2-pediatrie1-t2-2016
Poly   dcem2-pediatrie1-t2-2016Poly   dcem2-pediatrie1-t2-2016
Poly dcem2-pediatrie1-t2-2016
 
Poly dcem2-chirurgie-2016
Poly   dcem2-chirurgie-2016Poly   dcem2-chirurgie-2016
Poly dcem2-chirurgie-2016
 

Similar to Mule esb transformers

Mule transformers
Mule transformersMule transformers
Mule transformers
Padmanabhan Natarajan, CSM
 
Ashok mule esb
Ashok mule esbAshok mule esb
Ashok mule esb
srisatyasai037
 
About mule transformers
About mule transformersAbout mule transformers
About mule transformers
prudhvivreddy
 
Mule transformers
Mule transformersMule transformers
Mule transformers
kiranvanga
 
Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_components
Paaras Baru
 
Mule message
Mule messageMule message
Mule message
kunal vishe
 
Mule jms
Mule   jmsMule   jms
Muletransformers
MuletransformersMuletransformers
Muletransformers
vijaynerd
 
Mule transformers
Mule transformersMule transformers
Mule transformers
Thang Loi
 
Mule concepts transformers
Mule concepts transformersMule concepts transformers
Mule concepts transformers
kunal vishe
 
Xml transform
Xml transformXml transform
Xml transform
Son Nguyen
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in mule
Mohammed625
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in mule
javeed_mhd
 
Mule: Java Transformer
Mule: Java TransformerMule: Java Transformer
Mule: Java Transformer
Sulthony Hartanto
 
Mule message structure
Mule message structureMule message structure
Mule message structure
Shanky Gupta
 
Mule xml transformation
Mule xml transformationMule xml transformation
Mule xml transformation
D.Rajesh Kumar
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in mule
mdfkhan625
 
Xml to xml transformation
Xml to xml transformationXml to xml transformation
Xml to xml transformation
Son Nguyen
 
A short introduction on anypoint transformers
A short introduction on anypoint transformersA short introduction on anypoint transformers
A short introduction on anypoint transformers
Swapnil Sahu
 
Transformers in Mulesoft Anypoint
Transformers in Mulesoft AnypointTransformers in Mulesoft Anypoint
Transformers in Mulesoft Anypoint
akshay yeluru
 

Similar to Mule esb transformers (20)

Mule transformers
Mule transformersMule transformers
Mule transformers
 
Ashok mule esb
Ashok mule esbAshok mule esb
Ashok mule esb
 
About mule transformers
About mule transformersAbout mule transformers
About mule transformers
 
Mule transformers
Mule transformersMule transformers
Mule transformers
 
Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_components
 
Mule message
Mule messageMule message
Mule message
 
Mule jms
Mule   jmsMule   jms
Mule jms
 
Muletransformers
MuletransformersMuletransformers
Muletransformers
 
Mule transformers
Mule transformersMule transformers
Mule transformers
 
Mule concepts transformers
Mule concepts transformersMule concepts transformers
Mule concepts transformers
 
Xml transform
Xml transformXml transform
Xml transform
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in mule
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in mule
 
Mule: Java Transformer
Mule: Java TransformerMule: Java Transformer
Mule: Java Transformer
 
Mule message structure
Mule message structureMule message structure
Mule message structure
 
Mule xml transformation
Mule xml transformationMule xml transformation
Mule xml transformation
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in mule
 
Xml to xml transformation
Xml to xml transformationXml to xml transformation
Xml to xml transformation
 
A short introduction on anypoint transformers
A short introduction on anypoint transformersA short introduction on anypoint transformers
A short introduction on anypoint transformers
 
Transformers in Mulesoft Anypoint
Transformers in Mulesoft AnypointTransformers in Mulesoft Anypoint
Transformers in Mulesoft Anypoint
 

Recently uploaded

Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
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
 
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
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
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
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
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
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 

Recently uploaded (20)

Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
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...
 
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...
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
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
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
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
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 

Mule esb transformers

  • 2. 4/4/2016 Manirathnam Gudi Transformers are used to transform message or event payloads to and from different types Transformers are used to convert inbound data to an object type required by the UMO Component or outbound to an object type required by the transport such as a JMS Message. Multiple transformers can be chained together to get a finer grained transformer implementation that are easier to reuse.
  • 3. 4/4/2016 Manirathnam Gudi How to alter the message using Transformers Transformer can alter a message in different ways:  Payload type transformation- The data type of the message payload is transformed from one form to another. Example: java.util.Map is transformed into a javax.jms.MapMessage.  Payload format transformation- The data format of the message payload is transformed from one form to another. Example: DocBook XML instance is transformed into an XSL-FO instance.  Properties transformation- The properties of the message are modified, whether by adding new properties or by removing, renaming, or changing the values of existing properties. Example: Message needs a particular property to be set before being sent to a JMS destination
  • 5. 4/4/2016 Manirathnam Gudi Transformers can be configured in two ways.  Configure it locally - We can configure a local transformer at any point in the program or on the endpoint or in a Flow .  Configure it Globally – We can also configure a global transformer before any <model> or <flow> elements in your Mule configuration file and later reference it. How to configure Transformer
  • 6. 4/4/2016 Manirathnam Gudi Types of Transformers Transformers can be categorized into two types :  Built-in Transformers  Custom Transformers  Default Transformers : There are many Standard pre existing Transformers provided in Mule 3.7 which can be used easily to convert the data. For example :  Object to JSON Transformer  Object to String Transformer  JMS Message to Object Transformer  Object to JMS Message  Object to XML  XML to Object
  • 7. 4/4/2016 Manirathnam Gudi  Custom Transformers :  If you are not satisfied with the default/built in transformers which are already provided by Anypoint Studion (or) If there is any no transformer which meets your requirement then you can develop a transformer on your own by customizing the code by writing the java code by implementing a Custom transformer class org.mule.api.transformer.Transformer .  Depending on your needs we can extend AbstractTransformer or AbstractMessageAwareTransformer .  We build Custom transformers if it's impossible to realize with an existing transformer or a chain of transformers.
  • 8. 4/4/2016 Manirathnam Gudi  References :  https://docs.mulesoft.com/mule-user-guide/v/3.7/using-transformers Thank you