SlideShare a Scribd company logo
Global Elements
in Mule
• In Mule, a Global Element is one that you
configure once, then reference many times from
elements within multiple flows. Rather than
repeatedly writing the same code to apply the
same configuration to multiple elements in flows,
you can create one global element that details
your configurations or transport details. Then,
you can instruct any number of elements across
flows in your Mule application to reference the
global element for specifics on how to behave.
Global elements provide flexibility.
An element can apply a global element’s configuration
exactly as defined, or can enhance the global
configuration with modifications.
Global elements are reusable.
You can configure a global element just once, then
share that configuration among building blocks of the
same type. This is particularly useful when you have to
define the connection details and login credentials for
an external source, such as a SaaS application or
database.
Global elements offer efficiency.
Rather than changing the same configuration
multiple times within many building blocks,
you can change a configuration once, in the
“master”, and Studio applies the changes to all
that reference it.
• Creating a Global Element
• HTTP Connector
• JDBC Connector
• JMS Connector
Creating a Global Element
• The configuration of some elements requires a
reference to a global element. For example,
some message sources must reference a
global connector configuration in order to
function. The majority of elements, however,
use global elements merely as a matter of
convenience and efficiency.
Example
• <sfdc:config name="Salesforce1" username="username"
password="password" doc:name="Salesforce"
securityToken="IQZjCdweSF45JD90Me2BWLLVDo">
• <sfdc:connection-pooling-profile initialisationPolicy="INITIALISE_ONE"
exhaustedAction="WHEN_EXHAUSTED_GROW"/>
• </sfdc:config>
•
• <flow name="Contacts_to_SFDC" doc:name="Contacts_to_SFDC">
• ...
• <sfdc:create config-ref="Salesforce1" type="" doc:name="Salesforce
Connector">
• <sfdc:objects ref="#[payload]"/>
• </sfdc:create>
• </flow>

More Related Content

PPTX
Mule global elements
PPTX
Getting started with react &amp; redux
PDF
Robust UI development with ClojureScript
PPTX
Cloud hub and mule
PPT
MuleSoft Database Connector
PPTX
Mule Esb Basics
PPTX
Mule Esb
PPTX
Mule message structure
Mule global elements
Getting started with react &amp; redux
Robust UI development with ClojureScript
Cloud hub and mule
MuleSoft Database Connector
Mule Esb Basics
Mule Esb
Mule message structure

What's hot (20)

PPT
Rentso architecture
PPTX
Creating a custom connector in mule
PPTX
Backbonejs
PDF
Vue.js basics
PPTX
PPTX
Angular js anupama
PPT
Mule any pointstudio
PPT
Mule architecture
PPT
Mule database-connectors
PPT
Mule mule runtime engine
PPTX
Seattle JS Meetup - Grunt EJS Static Presentation
PPTX
SharePoint Saturday bmore2015
PPT
Mule anypoint connector dev kit
PPTX
Mule ESB
PPTX
Fundamentals of Mule Esb
PDF
Mule ESB Fundamentals
PPTX
A Short Introduction of Mule ESB
PPT
Enterprise resources and mule
PPTX
Java Basics
PPTX
Mule Cloudhub Connector
Rentso architecture
Creating a custom connector in mule
Backbonejs
Vue.js basics
Angular js anupama
Mule any pointstudio
Mule architecture
Mule database-connectors
Mule mule runtime engine
Seattle JS Meetup - Grunt EJS Static Presentation
SharePoint Saturday bmore2015
Mule anypoint connector dev kit
Mule ESB
Fundamentals of Mule Esb
Mule ESB Fundamentals
A Short Introduction of Mule ESB
Enterprise resources and mule
Java Basics
Mule Cloudhub Connector
Ad

Viewers also liked (11)

PPTX
mule salesforce
 
PPTX
Mule java part-1
PPTX
Java mule
PPTX
Custom filters in mule soft
PPTX
Mule system properties
PPTX
Anypoint enterprise security
PPTX
Mule properties
PPTX
Error Handling Framework in Mule ESB
PPTX
Custom connector development using mule DevKit
PDF
Mule esb examples
PPTX
Mule property placeholder
mule salesforce
 
Mule java part-1
Java mule
Custom filters in mule soft
Mule system properties
Anypoint enterprise security
Mule properties
Error Handling Framework in Mule ESB
Custom connector development using mule DevKit
Mule esb examples
Mule property placeholder
Ad

Similar to Global elements (20)

PPTX
Mule concepts connectors
PPTX
Mule concepts elements in a mule flow
PPTX
Niranjan mule esb
PPTX
Mule esb naveen
PPTX
Mule slides
PPTX
PPTX
Sai mule esb batch
PPT
Mule esb-connectors
PPTX
Mule esb
PPTX
Mule esb kranthi
PPTX
Esb process
PPTX
Mule esb kranthi
PPTX
Create Account in Salesforce using Mule ESB
PPTX
PPTX
Ashok mule esb
PPTX
Mule ESB Tutorial Part 2
PPTX
Elements in a mule flow
PPTX
Create salesforce account
PPTX
Elements in a muleflow
PPTX
Mule connectors
Mule concepts connectors
Mule concepts elements in a mule flow
Niranjan mule esb
Mule esb naveen
Mule slides
Sai mule esb batch
Mule esb-connectors
Mule esb
Mule esb kranthi
Esb process
Mule esb kranthi
Create Account in Salesforce using Mule ESB
Ashok mule esb
Mule ESB Tutorial Part 2
Elements in a mule flow
Create salesforce account
Elements in a muleflow
Mule connectors

More from Krishna_in (20)

PDF
Validations module
PDF
Mule maven Plugin
PDF
API Policies
PDF
Data Weave
PPTX
Splitter flow control reference
PPTX
Scatter gather flow control
PPTX
Datasense
PPTX
Choice flow control reference
PPTX
Soa(service oriented architecture)
PPTX
Soa project fundamentals
PPTX
Soa planning
PPTX
Soa methodology
PPTX
Soa governance
PPTX
Principles of soa
PPTX
Mule transformers
PPTX
Mule exception strategies
PPTX
Mule components
PPTX
Mule agent architecture
PPTX
Message state
PPTX
Flows and subflows
Validations module
Mule maven Plugin
API Policies
Data Weave
Splitter flow control reference
Scatter gather flow control
Datasense
Choice flow control reference
Soa(service oriented architecture)
Soa project fundamentals
Soa planning
Soa methodology
Soa governance
Principles of soa
Mule transformers
Mule exception strategies
Mule components
Mule agent architecture
Message state
Flows and subflows

Recently uploaded (20)

PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Empathic Computing: Creating Shared Understanding
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPT
Teaching material agriculture food technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Approach and Philosophy of On baking technology
PDF
cuic standard and advanced reporting.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine learning based COVID-19 study performance prediction
Per capita expenditure prediction using model stacking based on satellite ima...
“AI and Expert System Decision Support & Business Intelligence Systems”
Review of recent advances in non-invasive hemoglobin estimation
Empathic Computing: Creating Shared Understanding
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Teaching material agriculture food technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
NewMind AI Monthly Chronicles - July 2025
Digital-Transformation-Roadmap-for-Companies.pptx
Approach and Philosophy of On baking technology
cuic standard and advanced reporting.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Advanced methodologies resolving dimensionality complications for autism neur...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
CIFDAQ's Market Insight: SEC Turns Pro Crypto

Global elements

  • 2. • In Mule, a Global Element is one that you configure once, then reference many times from elements within multiple flows. Rather than repeatedly writing the same code to apply the same configuration to multiple elements in flows, you can create one global element that details your configurations or transport details. Then, you can instruct any number of elements across flows in your Mule application to reference the global element for specifics on how to behave.
  • 3. Global elements provide flexibility. An element can apply a global element’s configuration exactly as defined, or can enhance the global configuration with modifications. Global elements are reusable. You can configure a global element just once, then share that configuration among building blocks of the same type. This is particularly useful when you have to define the connection details and login credentials for an external source, such as a SaaS application or database.
  • 4. Global elements offer efficiency. Rather than changing the same configuration multiple times within many building blocks, you can change a configuration once, in the “master”, and Studio applies the changes to all that reference it.
  • 5. • Creating a Global Element • HTTP Connector • JDBC Connector • JMS Connector
  • 6. Creating a Global Element • The configuration of some elements requires a reference to a global element. For example, some message sources must reference a global connector configuration in order to function. The majority of elements, however, use global elements merely as a matter of convenience and efficiency.
  • 7. Example • <sfdc:config name="Salesforce1" username="username" password="password" doc:name="Salesforce" securityToken="IQZjCdweSF45JD90Me2BWLLVDo"> • <sfdc:connection-pooling-profile initialisationPolicy="INITIALISE_ONE" exhaustedAction="WHEN_EXHAUSTED_GROW"/> • </sfdc:config> • • <flow name="Contacts_to_SFDC" doc:name="Contacts_to_SFDC"> • ... • <sfdc:create config-ref="Salesforce1" type="" doc:name="Salesforce Connector"> • <sfdc:objects ref="#[payload]"/> • </sfdc:create> • </flow>