SlideShare a Scribd company logo
Choice Flow Control Reference
The choice flow control dynamically routes
messages based on message payload or
properties. It adds conditional programming
to a flow, similar to an if/then/else code
block.
• A choice flow control uses expressions to
evaluate the content of a message, then it
routes the message to one of the routing
options within its scope (see image below). It
directs messages to the first routing option in
the scope that matches the routing
configurations (evaluates to true). If none of
expressions evaluate to true, the choice flow
control directs the message to the default
(else) route.
Choice flow control
Configuring the Choice Flow Control
• To configure the choice flow control, you need to determine the
following message routing details:
• Content the choice flow router should evaluate to determine
routing
• Number of routing options with which to supply the choice flow
control
• What processing Mule should perform for each routing option
• Default routing option
Choice flow control
Choice flow control
Choice flow control
Choice flow control
Choice flow control
XML configuration Here
After deployed successfully
Click on the below url
• http://localhost:8081/router?language=Spanis
h
Choice flow control
If you can specify only language like below
http://localhost:8081/router?language
It will display default as English

More Related Content

PPTX
Esb choice flow
PPTX
A short introduction on anypoint studio routers
PPTX
Mule scopes 2
PPTX
Mule TCP Component
PPTX
Mule scopes foreach_scope
PPTX
Mule scopes 1
PPTX
Introduction to JMeter
PPTX
Memory and Processor Testing
Esb choice flow
A short introduction on anypoint studio routers
Mule scopes 2
Mule TCP Component
Mule scopes foreach_scope
Mule scopes 1
Introduction to JMeter
Memory and Processor Testing

Viewers also liked (17)

PDF
"Industrializing Machine Learning – How to Integrate ML in Existing Businesse...
DOCX
Haystack launches VR app for consumer product testing
ODP
impression
DOC
SHIV SINHA-RESUME
DOCX
Haystack lanceert VR app voor consumentenonderzoek
PDF
Derek Sampler 2009 01 25
ODP
App fever
PDF
Online Stochastic Tensor Decomposition for Background Subtraction in Multispe...
PDF
5 parotis-dis-3-2015
PDF
[Elite Camp 2016] Johnathan Dane - The PPC Thermometer - Why You Should Care ...
 
PDF
3 dis hekimligi-3-agiz-2015
PDF
1 kafaiskeletibutunu-dis-3-2015
PDF
Technical Marketing and Growth Hacking Low Hanging Fruit
PPTX
Empower Data-Driven Organizations
PDF
Generation of Electrical Power - Power Plants and Transmission Systems.
PPTX
Hypothesis testing
PPTX
Zsolt Várnai, Principal Software Engineer at Skyscanner - "The advantages of...
"Industrializing Machine Learning – How to Integrate ML in Existing Businesse...
Haystack launches VR app for consumer product testing
impression
SHIV SINHA-RESUME
Haystack lanceert VR app voor consumentenonderzoek
Derek Sampler 2009 01 25
App fever
Online Stochastic Tensor Decomposition for Background Subtraction in Multispe...
5 parotis-dis-3-2015
[Elite Camp 2016] Johnathan Dane - The PPC Thermometer - Why You Should Care ...
 
3 dis hekimligi-3-agiz-2015
1 kafaiskeletibutunu-dis-3-2015
Technical Marketing and Growth Hacking Low Hanging Fruit
Empower Data-Driven Organizations
Generation of Electrical Power - Power Plants and Transmission Systems.
Hypothesis testing
Zsolt Várnai, Principal Software Engineer at Skyscanner - "The advantages of...
Ad

Similar to Choice flow control (20)

PPTX
Choice flow control reference
PPTX
Choice router mule
PPTX
Choice router
PPTX
Mule Choice Flow Control reference
PDF
Mule esb and_relevant_components
PPTX
SAP BASIS Training in Chennai Demo Part-3
PPTX
M expression
PPTX
Fpt connector
PDF
Total ODFB Migration Process through SPMT Tool
PPTX
Content based routing using mule choice flow control
PPTX
Astute's PeopleSoft Integration Testing Utilities and Tools Implementation
PPTX
Elements in a muleflow
PPTX
Srilekha mule esb
PPTX
Elements in a mule flow
PDF
How the WSO2 ESB outperforms other major open source esb vendors
PPT
Wcf routing kt
PPTX
Muleesbcomponents1 160625154208
PPTX
Mule concepts elements in a mule flow
PPTX
Routing Polices And Firewall Filter
PPTX
Basic example using choice component
Choice flow control reference
Choice router mule
Choice router
Mule Choice Flow Control reference
Mule esb and_relevant_components
SAP BASIS Training in Chennai Demo Part-3
M expression
Fpt connector
Total ODFB Migration Process through SPMT Tool
Content based routing using mule choice flow control
Astute's PeopleSoft Integration Testing Utilities and Tools Implementation
Elements in a muleflow
Srilekha mule esb
Elements in a mule flow
How the WSO2 ESB outperforms other major open source esb vendors
Wcf routing kt
Muleesbcomponents1 160625154208
Mule concepts elements in a mule flow
Routing Polices And Firewall Filter
Basic example using choice component
Ad

More from Ramakrishna kapa (20)

PPTX
Load balancer in mule
PPTX
Anypoint connectors
PPTX
Batch processing
PPTX
Msmq connectivity
PPTX
Scopes in mule
PPTX
Data weave more operations
PPTX
Basic math operations using dataweave
PPTX
Dataweave types operators
PPTX
Operators in mule dataweave
PPTX
Data weave in mule
PPTX
Servicenow connector
PPTX
Introduction to testing mule
PPTX
Message enricher example
PPTX
Mule exception strategies
PPTX
Anypoint connector basics
PPTX
Mule global elements
PPTX
Mule message structure and varibles scopes
PPTX
How to create an api in mule
PPTX
Log4j is a reliable, fast and flexible
PPTX
Load balancer in mule
Anypoint connectors
Batch processing
Msmq connectivity
Scopes in mule
Data weave more operations
Basic math operations using dataweave
Dataweave types operators
Operators in mule dataweave
Data weave in mule
Servicenow connector
Introduction to testing mule
Message enricher example
Mule exception strategies
Anypoint connector basics
Mule global elements
Mule message structure and varibles scopes
How to create an api in mule
Log4j is a reliable, fast and flexible

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Machine learning based COVID-19 study performance prediction
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Advanced Soft Computing BINUS July 2025.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Big Data Technologies - Introduction.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
“AI and Expert System Decision Support & Business Intelligence Systems”
Chapter 3 Spatial Domain Image Processing.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Machine learning based COVID-19 study performance prediction
Network Security Unit 5.pdf for BCA BBA.
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Electronic commerce courselecture one. Pdf
Advanced Soft Computing BINUS July 2025.pdf
The AUB Centre for AI in Media Proposal.docx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
20250228 LYD VKU AI Blended-Learning.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Big Data Technologies - Introduction.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Understanding_Digital_Forensics_Presentation.pptx
Spectral efficient network and resource selection model in 5G networks
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...

Choice flow control

  • 1. Choice Flow Control Reference The choice flow control dynamically routes messages based on message payload or properties. It adds conditional programming to a flow, similar to an if/then/else code block.
  • 2. • A choice flow control uses expressions to evaluate the content of a message, then it routes the message to one of the routing options within its scope (see image below). It directs messages to the first routing option in the scope that matches the routing configurations (evaluates to true). If none of expressions evaluate to true, the choice flow control directs the message to the default (else) route.
  • 4. Configuring the Choice Flow Control • To configure the choice flow control, you need to determine the following message routing details: • Content the choice flow router should evaluate to determine routing • Number of routing options with which to supply the choice flow control • What processing Mule should perform for each routing option • Default routing option
  • 11. After deployed successfully Click on the below url • http://localhost:8081/router?language=Spanis h
  • 13. If you can specify only language like below http://localhost:8081/router?language It will display default as English