SlideShare a Scribd company logo
Mule Transformers
• In a Mule flow, a Transformer prepares a
message for further processing by enhancing
or altering the contents of the message
properties, variables, or payload. Data
transformation is one of the most powerful
functionalities of Mule: rather than spending a
lot of time building a customized connection
between resources or processors, you can just
use a pre-built transformer to perform a
standard data conversion
• Transformer Library
• Examples of transformers in Mule fall into
these categories:
• Anypoint DataMapper Transformer
• DataMapper Transformer Example
Transformer Library
• Out of the box, Mule provides a set of
standard transformers to handle the most
common data transformation scenarios.
Typically, these elements require minimal
configuration so as to facilitate quick
construction of applications that must juggle
different data formats between resources and
processors
Anypoint DataMapper Transformer
• Beyond transformation, there is one type of
message processor in Mule that both
converts and maps data: the Anypoint™
DataMapper Transformer. In addition to
transforming data from one format to another,
DataMapper can map an input field, such as
last_name, to a different output field, such as
family_name (see image below)
• Even better, it can map multiple fields, such as
title, first_name, and last_name, to a
composite output field such as full_name. It
can retrieve session state information in a
message to facilitate conditional message
routing, it can use Mule expression evaluation
to facilitate conditional value recalculation, it
can even look up information in tables or
other flows.
DataMapper Transformer Example
•
<data-mapper:config name="datamapper_grf"
transformationGraphPath="datamapper.grf" doc:name="DataMapper"/>
•
• <flow name="Contacts_to_SFDC" doc:name="Contacts_to_SFDC"
doc:description="Upload a CSV file of contact information into Salesforce
as new contacts.">
• <file:inbound-endpoint path="src/test/resources/input"
moveToDirectory="src/test/resources/output" pollingFrequency="10000"
responseTimeout="10000" doc:name="File Input"/>
• <data-mapper:transform config-ref="datamapper_grf"
doc:name="DataMapper"/>
• <sfdc:create config-ref="Salesforce" type="Contact"
doc:name="Salesforce">
• <sfdc:objects ref="#[payload]"/>

More Related Content

What's hot

About mule transformers
About mule transformersAbout mule transformers
About mule transformers
prudhvivreddy
 
Cassandra Data Migration
Cassandra Data MigrationCassandra Data Migration
Cassandra Data Migration
Biagio Onorato
 
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUESDISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
AAKANKSHA JAIN
 
Database ,14 Parallel DBMS
Database ,14 Parallel DBMSDatabase ,14 Parallel DBMS
Database ,14 Parallel DBMS
Ali Usman
 
Lect 07 data replication
Lect 07 data replicationLect 07 data replication
Lect 07 data replication
Bilal khan
 
Mule JMS Transport
Mule JMS TransportMule JMS Transport
Mule JMS Transport
Rupesh Sinha
 
DATASTAGE ONLINE TRAINING
DATASTAGE ONLINE TRAININGDATASTAGE ONLINE TRAINING
DATASTAGE ONLINE TRAINING
TRAINING ICON
 
Mule transformers
Mule transformersMule transformers
Mule transformers
Thang Loi
 
Distributed Database Management System(DDMS)
Distributed Database Management System(DDMS)Distributed Database Management System(DDMS)
Distributed Database Management System(DDMS)
mobeen.laws
 
Working with components
Working with componentsWorking with components
Working with components
prudhvivreddy
 
Ashok mule esb
Ashok mule esbAshok mule esb
Ashok mule esb
srisatyasai037
 
IMSDB - DBRC
IMSDB - DBRCIMSDB - DBRC
IMSDB - DBRC
Srinimf-Slides
 
Database , 1 Introduction
 Database , 1 Introduction Database , 1 Introduction
Database , 1 Introduction
Ali Usman
 
Xml to xml transformation
Xml to xml transformationXml to xml transformation
Xml to xml transformation
Son Nguyen
 
Adbms 27 parallel database distribution architecture
Adbms 27 parallel database distribution architectureAdbms 27 parallel database distribution architecture
Adbms 27 parallel database distribution architecture
Vaibhav Khanna
 
Mule Schema Validation Filter
Mule Schema Validation FilterMule Schema Validation Filter
Mule Schema Validation Filter
Ankush Sharma
 
Chapter02
Chapter02Chapter02
Advanatages csc
Advanatages cscAdvanatages csc
Advanatages csc
MDSHAMIM54
 
1 introduction ddbms
1 introduction ddbms1 introduction ddbms
1 introduction ddbms
amna izzat
 
Mule enricher component
Mule enricher component Mule enricher component
Mule enricher component
Gandham38
 

What's hot (20)

About mule transformers
About mule transformersAbout mule transformers
About mule transformers
 
Cassandra Data Migration
Cassandra Data MigrationCassandra Data Migration
Cassandra Data Migration
 
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUESDISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
 
Database ,14 Parallel DBMS
Database ,14 Parallel DBMSDatabase ,14 Parallel DBMS
Database ,14 Parallel DBMS
 
Lect 07 data replication
Lect 07 data replicationLect 07 data replication
Lect 07 data replication
 
Mule JMS Transport
Mule JMS TransportMule JMS Transport
Mule JMS Transport
 
DATASTAGE ONLINE TRAINING
DATASTAGE ONLINE TRAININGDATASTAGE ONLINE TRAINING
DATASTAGE ONLINE TRAINING
 
Mule transformers
Mule transformersMule transformers
Mule transformers
 
Distributed Database Management System(DDMS)
Distributed Database Management System(DDMS)Distributed Database Management System(DDMS)
Distributed Database Management System(DDMS)
 
Working with components
Working with componentsWorking with components
Working with components
 
Ashok mule esb
Ashok mule esbAshok mule esb
Ashok mule esb
 
IMSDB - DBRC
IMSDB - DBRCIMSDB - DBRC
IMSDB - DBRC
 
Database , 1 Introduction
 Database , 1 Introduction Database , 1 Introduction
Database , 1 Introduction
 
Xml to xml transformation
Xml to xml transformationXml to xml transformation
Xml to xml transformation
 
Adbms 27 parallel database distribution architecture
Adbms 27 parallel database distribution architectureAdbms 27 parallel database distribution architecture
Adbms 27 parallel database distribution architecture
 
Mule Schema Validation Filter
Mule Schema Validation FilterMule Schema Validation Filter
Mule Schema Validation Filter
 
Chapter02
Chapter02Chapter02
Chapter02
 
Advanatages csc
Advanatages cscAdvanatages csc
Advanatages csc
 
1 introduction ddbms
1 introduction ddbms1 introduction ddbms
1 introduction ddbms
 
Mule enricher component
Mule enricher component Mule enricher component
Mule enricher component
 

Viewers also liked

Mule scopes 2
Mule scopes 2Mule scopes 2
Mule scopes 2
kunal vishe
 
Mule scopes async_scope
Mule scopes async_scopeMule scopes async_scope
Mule scopes async_scope
kunal vishe
 
Mule esb transformers
Mule esb transformersMule esb transformers
Mule esb transformers
Mani Rathnam Gudi
 
Mule message enricher
Mule message enricherMule message enricher
Mule message enricher
Anirban Sen Chowdhary
 
Message enricher in mule
Message enricher in muleMessage enricher in mule
Message enricher in mule
Sashidhar Rao GDS
 
Mule splitters
Mule splittersMule splitters
Mule splitters
Gandham38
 

Viewers also liked (6)

Mule scopes 2
Mule scopes 2Mule scopes 2
Mule scopes 2
 
Mule scopes async_scope
Mule scopes async_scopeMule scopes async_scope
Mule scopes async_scope
 
Mule esb transformers
Mule esb transformersMule esb transformers
Mule esb transformers
 
Mule message enricher
Mule message enricherMule message enricher
Mule message enricher
 
Message enricher in mule
Message enricher in muleMessage enricher in mule
Message enricher in mule
 
Mule splitters
Mule splittersMule splitters
Mule splitters
 

Similar to Mule transformers

Mule concepts transformers
Mule concepts transformersMule concepts transformers
Mule concepts transformers
kunal vishe
 
Muletransformers
MuletransformersMuletransformers
Muletransformers
vijaynerd
 
Mule chapter2
Mule chapter2Mule chapter2
Mule chapter2
mha4
 
Mule concepts
Mule conceptsMule concepts
Mule concepts
Thang Loi
 
Message structure
Message structureMessage structure
Message structure
Son Nguyen
 
Message state
Message stateMessage state
Message state
Krishna_in
 
Srilekha mule esb
Srilekha mule esbSrilekha mule esb
Srilekha mule esb
srilekha2820
 
Mule any point studio
Mule any point studioMule any point studio
Mule any point studio
Son Nguyen
 
Transf from csv to xml
Transf from csv to xmlTransf from csv to xml
Transf from csv to xml
Davide Rapacciuolo
 
Mule overview
Mule overviewMule overview
Mule overview
ppts123456
 
Mule message
Mule messageMule message
Mule message
kunal vishe
 
Elements in a mule flow
Elements in a mule flowElements in a mule flow
Elements in a mule flow
Sindhu VL
 
Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_components
Paaras Baru
 
Mule message structure
Mule message structureMule message structure
Mule message structure
Shanky Gupta
 
Mule concepts flows
Mule concepts flowsMule concepts flows
Mule concepts flows
kunal vishe
 
Mule transformers
Mule transformersMule transformers
Mule transformers
Padmanabhan Natarajan, CSM
 
Mule esb naveen
Mule esb naveenMule esb naveen
Mule esb naveen
naveenkodumuri12
 
Niranjan mule esb
Niranjan mule esbNiranjan mule esb
Niranjan mule esb
niranjan1234567
 
Mule overview
Mule overviewMule overview
Mule overview
Manav Prasad
 
MetaSuite productfolder- ETL-Tool für große Datenmengen
MetaSuite productfolder- ETL-Tool für große DatenmengenMetaSuite productfolder- ETL-Tool für große Datenmengen
MetaSuite productfolder- ETL-Tool für große Datenmengen
Minerva SoftCare GmbH
 

Similar to Mule transformers (20)

Mule concepts transformers
Mule concepts transformersMule concepts transformers
Mule concepts transformers
 
Muletransformers
MuletransformersMuletransformers
Muletransformers
 
Mule chapter2
Mule chapter2Mule chapter2
Mule chapter2
 
Mule concepts
Mule conceptsMule concepts
Mule concepts
 
Message structure
Message structureMessage structure
Message structure
 
Message state
Message stateMessage state
Message state
 
Srilekha mule esb
Srilekha mule esbSrilekha mule esb
Srilekha mule esb
 
Mule any point studio
Mule any point studioMule any point studio
Mule any point studio
 
Transf from csv to xml
Transf from csv to xmlTransf from csv to xml
Transf from csv to xml
 
Mule overview
Mule overviewMule overview
Mule overview
 
Mule message
Mule messageMule message
Mule message
 
Elements in a mule flow
Elements in a mule flowElements in a mule flow
Elements in a mule flow
 
Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_components
 
Mule message structure
Mule message structureMule message structure
Mule message structure
 
Mule concepts flows
Mule concepts flowsMule concepts flows
Mule concepts flows
 
Mule transformers
Mule transformersMule transformers
Mule transformers
 
Mule esb naveen
Mule esb naveenMule esb naveen
Mule esb naveen
 
Niranjan mule esb
Niranjan mule esbNiranjan mule esb
Niranjan mule esb
 
Mule overview
Mule overviewMule overview
Mule overview
 
MetaSuite productfolder- ETL-Tool für große Datenmengen
MetaSuite productfolder- ETL-Tool für große DatenmengenMetaSuite productfolder- ETL-Tool für große Datenmengen
MetaSuite productfolder- ETL-Tool für große Datenmengen
 

More from Krishna_in

Validations module
Validations moduleValidations module
Validations module
Krishna_in
 
Mule maven Plugin
Mule maven PluginMule maven Plugin
Mule maven Plugin
Krishna_in
 
API Policies
API PoliciesAPI Policies
API Policies
Krishna_in
 
Data Weave
Data WeaveData Weave
Data Weave
Krishna_in
 
Splitter flow control reference
Splitter flow control referenceSplitter flow control reference
Splitter flow control reference
Krishna_in
 
Scatter gather flow control
Scatter gather flow controlScatter gather flow control
Scatter gather flow control
Krishna_in
 
Datasense
DatasenseDatasense
Datasense
Krishna_in
 
Choice flow control reference
Choice flow control referenceChoice flow control reference
Choice flow control reference
Krishna_in
 
Soa(service oriented architecture)
Soa(service oriented architecture)Soa(service oriented architecture)
Soa(service oriented architecture)
Krishna_in
 
Soa project fundamentals
Soa project fundamentalsSoa project fundamentals
Soa project fundamentals
Krishna_in
 
Soa planning
Soa planningSoa planning
Soa planning
Krishna_in
 
Soa methodology
Soa methodologySoa methodology
Soa methodology
Krishna_in
 
Soa governance
Soa governanceSoa governance
Soa governance
Krishna_in
 
Principles of soa
Principles of soaPrinciples of soa
Principles of soa
Krishna_in
 
Mule exception strategies
Mule exception strategiesMule exception strategies
Mule exception strategies
Krishna_in
 
Mule components
Mule componentsMule components
Mule components
Krishna_in
 
Mule agent architecture
Mule agent architectureMule agent architecture
Mule agent architecture
Krishna_in
 
Global elements
Global elementsGlobal elements
Global elements
Krishna_in
 
Flows and subflows
Flows and subflowsFlows and subflows
Flows and subflows
Krishna_in
 
Cloud hub
Cloud hubCloud hub
Cloud hub
Krishna_in
 

More from Krishna_in (20)

Validations module
Validations moduleValidations module
Validations module
 
Mule maven Plugin
Mule maven PluginMule maven Plugin
Mule maven Plugin
 
API Policies
API PoliciesAPI Policies
API Policies
 
Data Weave
Data WeaveData Weave
Data Weave
 
Splitter flow control reference
Splitter flow control referenceSplitter flow control reference
Splitter flow control reference
 
Scatter gather flow control
Scatter gather flow controlScatter gather flow control
Scatter gather flow control
 
Datasense
DatasenseDatasense
Datasense
 
Choice flow control reference
Choice flow control referenceChoice flow control reference
Choice flow control reference
 
Soa(service oriented architecture)
Soa(service oriented architecture)Soa(service oriented architecture)
Soa(service oriented architecture)
 
Soa project fundamentals
Soa project fundamentalsSoa project fundamentals
Soa project fundamentals
 
Soa planning
Soa planningSoa planning
Soa planning
 
Soa methodology
Soa methodologySoa methodology
Soa methodology
 
Soa governance
Soa governanceSoa governance
Soa governance
 
Principles of soa
Principles of soaPrinciples of soa
Principles of soa
 
Mule exception strategies
Mule exception strategiesMule exception strategies
Mule exception strategies
 
Mule components
Mule componentsMule components
Mule components
 
Mule agent architecture
Mule agent architectureMule agent architecture
Mule agent architecture
 
Global elements
Global elementsGlobal elements
Global elements
 
Flows and subflows
Flows and subflowsFlows and subflows
Flows and subflows
 
Cloud hub
Cloud hubCloud hub
Cloud hub
 

Recently uploaded

“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 

Mule transformers

  • 2. • In a Mule flow, a Transformer prepares a message for further processing by enhancing or altering the contents of the message properties, variables, or payload. Data transformation is one of the most powerful functionalities of Mule: rather than spending a lot of time building a customized connection between resources or processors, you can just use a pre-built transformer to perform a standard data conversion
  • 3. • Transformer Library • Examples of transformers in Mule fall into these categories: • Anypoint DataMapper Transformer • DataMapper Transformer Example
  • 4. Transformer Library • Out of the box, Mule provides a set of standard transformers to handle the most common data transformation scenarios. Typically, these elements require minimal configuration so as to facilitate quick construction of applications that must juggle different data formats between resources and processors
  • 5. Anypoint DataMapper Transformer • Beyond transformation, there is one type of message processor in Mule that both converts and maps data: the Anypoint™ DataMapper Transformer. In addition to transforming data from one format to another, DataMapper can map an input field, such as last_name, to a different output field, such as family_name (see image below)
  • 6. • Even better, it can map multiple fields, such as title, first_name, and last_name, to a composite output field such as full_name. It can retrieve session state information in a message to facilitate conditional message routing, it can use Mule expression evaluation to facilitate conditional value recalculation, it can even look up information in tables or other flows.
  • 7. DataMapper Transformer Example • <data-mapper:config name="datamapper_grf" transformationGraphPath="datamapper.grf" doc:name="DataMapper"/> • • <flow name="Contacts_to_SFDC" doc:name="Contacts_to_SFDC" doc:description="Upload a CSV file of contact information into Salesforce as new contacts."> • <file:inbound-endpoint path="src/test/resources/input" moveToDirectory="src/test/resources/output" pollingFrequency="10000" responseTimeout="10000" doc:name="File Input"/> • <data-mapper:transform config-ref="datamapper_grf" doc:name="DataMapper"/> • <sfdc:create config-ref="Salesforce" type="Contact" doc:name="Salesforce"> • <sfdc:objects ref="#[payload]"/>