SlideShare a Scribd company logo
1 of 8
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

Mule transformers
Mule transformersMule transformers
Mule transformersThang Loi
 
Mule scopes foreach_scope
Mule scopes foreach_scopeMule scopes foreach_scope
Mule scopes foreach_scopekunal vishe
 
Mule Schema Validation Filter
Mule Schema Validation FilterMule Schema Validation Filter
Mule Schema Validation FilterAnkush Sharma
 
Mule splitters
Mule splittersMule splitters
Mule splittersGandham38
 
Controlling Message Flow - Mule ESB
Controlling Message Flow - Mule ESBControlling Message Flow - Mule ESB
Controlling Message Flow - Mule ESBMani Rathnam Gudi
 
Mule message structure and varibles scopes
Mule message structure and varibles scopesMule message structure and varibles scopes
Mule message structure and varibles scopesRamakrishna kapa
 
Mule JMS Transport
Mule JMS TransportMule JMS Transport
Mule JMS TransportRupesh Sinha
 
Mule enricher component
Mule enricher component Mule enricher component
Mule enricher component Gandham38
 
Muleexpressiontransformer by nagarjuanreddy
Muleexpressiontransformer by nagarjuanreddyMuleexpressiontransformer by nagarjuanreddy
Muleexpressiontransformer by nagarjuanreddyNagarjuna reddy
 
Xml to xml transformation
Xml to xml transformationXml to xml transformation
Xml to xml transformationSon Nguyen
 
Routing in mule
Routing in muleRouting in mule
Routing in mulevasanthii9
 
Mule transformers
Mule transformersMule transformers
Mule transformersKrishna_in
 
Mule routing and filters
Mule routing and filtersMule routing and filters
Mule routing and filtersGandham38
 

What's hot (20)

Mule transformers
Mule transformersMule transformers
Mule transformers
 
Mule scopes foreach_scope
Mule scopes foreach_scopeMule scopes foreach_scope
Mule scopes foreach_scope
 
Mule splitters
Mule splittersMule splitters
Mule splitters
 
Mule Schema Validation Filter
Mule Schema Validation FilterMule Schema Validation Filter
Mule Schema Validation Filter
 
Mule splitters
Mule splittersMule splitters
Mule splitters
 
Mule
MuleMule
Mule
 
Controlling Message Flow - Mule ESB
Controlling Message Flow - Mule ESBControlling Message Flow - Mule ESB
Controlling Message Flow - Mule ESB
 
Jms topics
Jms   topicsJms   topics
Jms topics
 
Mule enricher
Mule enricher Mule enricher
Mule enricher
 
Mule message structure and varibles scopes
Mule message structure and varibles scopesMule message structure and varibles scopes
Mule message structure and varibles scopes
 
Mule JMS Transport
Mule JMS TransportMule JMS Transport
Mule JMS Transport
 
Mule enricher component
Mule enricher component Mule enricher component
Mule enricher component
 
Muleexpressiontransformer by nagarjuanreddy
Muleexpressiontransformer by nagarjuanreddyMuleexpressiontransformer by nagarjuanreddy
Muleexpressiontransformer by nagarjuanreddy
 
Mule enricher
Mule enricher Mule enricher
Mule enricher
 
JMS Backchannel
JMS BackchannelJMS Backchannel
JMS Backchannel
 
Xml to xml transformation
Xml to xml transformationXml to xml transformation
Xml to xml transformation
 
Routing in mule
Routing in muleRouting in mule
Routing in mule
 
Mule transformers
Mule transformersMule transformers
Mule transformers
 
Mule esb2
Mule esb2Mule esb2
Mule esb2
 
Mule routing and filters
Mule routing and filtersMule routing and filters
Mule routing and filters
 

Viewers also liked

Enc qr gynéco obst
Enc qr   gynéco obstEnc qr   gynéco obst
Enc qr gynéco obsthajoura1971
 
Poly dcem3-ohphtalmo 2016
Poly   dcem3-ohphtalmo 2016Poly   dcem3-ohphtalmo 2016
Poly dcem3-ohphtalmo 2016hajoura1971
 
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 dcem2-nephro
Poly   dcem2-nephroPoly   dcem2-nephro
Poly dcem2-nephrohajoura1971
 
Poly dcem3-orl 2016
Poly   dcem3-orl 2016Poly   dcem3-orl 2016
Poly dcem3-orl 2016hajoura1971
 
Poly dcem2-pediatrie1-t2-2016
Poly   dcem2-pediatrie1-t2-2016Poly   dcem2-pediatrie1-t2-2016
Poly dcem2-pediatrie1-t2-2016hajoura1971
 
Amy Price CV
Amy Price CVAmy Price CV
Amy Price CVAmy Price
 
موتسارت(Mozart)
موتسارت(Mozart)موتسارت(Mozart)
موتسارت(Mozart)Youssra Awad
 
Poly pcem1-la respiration 2016
Poly   pcem1-la respiration 2016Poly   pcem1-la respiration 2016
Poly pcem1-la respiration 2016hajoura1971
 
Enc qr m. infectieuses
Enc qr   m. infectieusesEnc qr   m. infectieuses
Enc qr m. infectieuseshajoura1971
 
Poly dcem2-endocrino
Poly   dcem2-endocrinoPoly   dcem2-endocrino
Poly dcem2-endocrinohajoura1971
 
Poly dcem2-chirurgie-2016
Poly   dcem2-chirurgie-2016Poly   dcem2-chirurgie-2016
Poly dcem2-chirurgie-2016hajoura1971
 
Enc qr cardiologie
Enc qr   cardiologieEnc qr   cardiologie
Enc qr cardiologiehajoura1971
 
SOLANCA Tennis Academy
SOLANCA Tennis AcademySOLANCA Tennis Academy
SOLANCA Tennis AcademyDaniel Camacho
 
Anypoint Studio - Mule ESB Error Handling
Anypoint Studio - Mule ESB Error HandlingAnypoint Studio - Mule ESB Error Handling
Anypoint Studio - Mule ESB Error HandlingMani Rathnam Gudi
 

Viewers also liked (20)

Enc qr gynéco obst
Enc qr   gynéco obstEnc qr   gynéco obst
Enc qr gynéco obst
 
Poly dcem3-ohphtalmo 2016
Poly   dcem3-ohphtalmo 2016Poly   dcem3-ohphtalmo 2016
Poly dcem3-ohphtalmo 2016
 
Carabook 2010
Carabook 2010Carabook 2010
Carabook 2010
 
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 dcem2-nephro
Poly   dcem2-nephroPoly   dcem2-nephro
Poly dcem2-nephro
 
Poly dcem3-orl 2016
Poly   dcem3-orl 2016Poly   dcem3-orl 2016
Poly dcem3-orl 2016
 
Poly dcem2-pediatrie1-t2-2016
Poly   dcem2-pediatrie1-t2-2016Poly   dcem2-pediatrie1-t2-2016
Poly dcem2-pediatrie1-t2-2016
 
TermPaper
TermPaperTermPaper
TermPaper
 
Amy Price CV
Amy Price CVAmy Price CV
Amy Price CV
 
موتسارت(Mozart)
موتسارت(Mozart)موتسارت(Mozart)
موتسارت(Mozart)
 
Poly pcem1-la respiration 2016
Poly   pcem1-la respiration 2016Poly   pcem1-la respiration 2016
Poly pcem1-la respiration 2016
 
Enc qr m. infectieuses
Enc qr   m. infectieusesEnc qr   m. infectieuses
Enc qr m. infectieuses
 
ConstantinovaAntonina_CV
ConstantinovaAntonina_CVConstantinovaAntonina_CV
ConstantinovaAntonina_CV
 
Poly dcem2-endocrino
Poly   dcem2-endocrinoPoly   dcem2-endocrino
Poly dcem2-endocrino
 
Poly dcem2-chirurgie-2016
Poly   dcem2-chirurgie-2016Poly   dcem2-chirurgie-2016
Poly dcem2-chirurgie-2016
 
Enc qr cardiologie
Enc qr   cardiologieEnc qr   cardiologie
Enc qr cardiologie
 
SOLANCA Tennis Academy
SOLANCA Tennis AcademySOLANCA Tennis Academy
SOLANCA Tennis Academy
 
Anypoint Studio - Mule ESB Error Handling
Anypoint Studio - Mule ESB Error HandlingAnypoint Studio - Mule ESB Error Handling
Anypoint Studio - Mule ESB Error Handling
 
Mule esb transformers
Mule esb transformersMule esb transformers
Mule esb transformers
 
Mule Expression language
Mule Expression languageMule Expression language
Mule Expression language
 

Similar to Mule esb transformers

Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_componentsPaaras Baru
 
Muletransformers
MuletransformersMuletransformers
Muletransformersvijaynerd
 
Mule transformers
Mule transformersMule transformers
Mule transformersThang Loi
 
Mule concepts transformers
Mule concepts transformersMule concepts transformers
Mule concepts transformerskunal vishe
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in muleRajkattamuri
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in mulejaveed_mhd
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in muleMohammed625
 
Mule message structure
Mule message structureMule message structure
Mule message structureShanky Gupta
 
Mule xml transformation
Mule xml transformationMule xml transformation
Mule xml transformationD.Rajesh Kumar
 
Xml to xml transformation in mule
Xml to xml transformation in muleXml to xml transformation in mule
Xml to xml transformation in mulemdfkhan625
 
Mule any point studio
Mule any point studioMule any point studio
Mule any point studioSon Nguyen
 
A short introduction on anypoint transformers
A short introduction on anypoint transformersA short introduction on anypoint transformers
A short introduction on anypoint transformersSwapnil Sahu
 
Transformers in Mulesoft Anypoint
Transformers in Mulesoft AnypointTransformers in Mulesoft Anypoint
Transformers in Mulesoft Anypointakshay yeluru
 
Message structure
Message structureMessage structure
Message structureSon Nguyen
 
Elements in a mule flow
Elements in a mule flowElements in a mule flow
Elements in a mule flowSindhu VL
 

Similar to Mule esb transformers (20)

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
 
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
 
Mule any point studio
Mule any point studioMule any point studio
Mule any point studio
 
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
 
Message structure
Message structureMessage structure
Message structure
 
Elements in a mule flow
Elements in a mule flowElements in a mule flow
Elements in a mule flow
 

Recently uploaded

Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxnada99848
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptx
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 

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