SlideShare a Scribd company logo
1 of 7
Mule For Each Scope – Header Collection
• In this slide deck we will see how Foreach processes a
collection in message header
Message Header Collection
Let us write a Mule flow which listens on HTTP Listener and let
us test the flow with below url having a list of query params
http://localhost:8081/foreach-headertest?names=Ram,Amar,Nag
The value of the query parmater “names” is a list of comma
separated values.
We want to process this list using Foreach scope
• Mule HTTP Listener converts query parameters into a
Map. We can access these query parameters using the key
‘http.query.params’
• In our case the query parameter is a comma seperated
values
• We need to convert the comma seperated values to a
List, then we can apply Foreach scope. For this purpose we
nee to write a Java component
The Java component which converts comma seperated
values to a List
We use this Java component in our flow to convert
query parameters to a List
Flow:
We used Java component ‘QueryParamsToList’ immediately
after HTTP Listener to convert query parmas to a List.
Output:
Mule for each scope header collection

More Related Content

What's hot

Server Load Balancing
Server Load BalancingServer Load Balancing
Server Load Balancingalluwanted
 
How to create sitemap for website
How to create sitemap for websiteHow to create sitemap for website
How to create sitemap for websiteOM Maurya
 
Lunacloud's Compute RESTful API - Programmer's Guide
Lunacloud's Compute RESTful API - Programmer's GuideLunacloud's Compute RESTful API - Programmer's Guide
Lunacloud's Compute RESTful API - Programmer's GuideLunacloud
 
Solr data importhandler
Solr data importhandlerSolr data importhandler
Solr data importhandlerDikshant Shahi
 
(ATS4-PLAT01) Core Architecture Changes in AEP 9.0 and their Impact on Admini...
(ATS4-PLAT01) Core Architecture Changes in AEP 9.0 and their Impact on Admini...(ATS4-PLAT01) Core Architecture Changes in AEP 9.0 and their Impact on Admini...
(ATS4-PLAT01) Core Architecture Changes in AEP 9.0 and their Impact on Admini...BIOVIA
 
Apache Ambari - What's New in 1.4.1
Apache Ambari - What's New in 1.4.1Apache Ambari - What's New in 1.4.1
Apache Ambari - What's New in 1.4.1Hortonworks
 
Refresh development from productions
Refresh development from productionsRefresh development from productions
Refresh development from productionsOsama Mustafa
 
Hdfs connector
Hdfs connectorHdfs connector
Hdfs connectorkiranvanga
 

What's hot (12)

Server Load Balancing
Server Load BalancingServer Load Balancing
Server Load Balancing
 
Mule ftp connector
Mule ftp connectorMule ftp connector
Mule ftp connector
 
How to create sitemap for website
How to create sitemap for websiteHow to create sitemap for website
How to create sitemap for website
 
Spring cloud config
Spring cloud configSpring cloud config
Spring cloud config
 
Lunacloud's Compute RESTful API - Programmer's Guide
Lunacloud's Compute RESTful API - Programmer's GuideLunacloud's Compute RESTful API - Programmer's Guide
Lunacloud's Compute RESTful API - Programmer's Guide
 
Solr data importhandler
Solr data importhandlerSolr data importhandler
Solr data importhandler
 
(ATS4-PLAT01) Core Architecture Changes in AEP 9.0 and their Impact on Admini...
(ATS4-PLAT01) Core Architecture Changes in AEP 9.0 and their Impact on Admini...(ATS4-PLAT01) Core Architecture Changes in AEP 9.0 and their Impact on Admini...
(ATS4-PLAT01) Core Architecture Changes in AEP 9.0 and their Impact on Admini...
 
Apache Ambari - What's New in 1.4.1
Apache Ambari - What's New in 1.4.1Apache Ambari - What's New in 1.4.1
Apache Ambari - What's New in 1.4.1
 
Refresh development from productions
Refresh development from productionsRefresh development from productions
Refresh development from productions
 
Installing oracle apex
Installing oracle apexInstalling oracle apex
Installing oracle apex
 
Mule file connector
Mule file connectorMule file connector
Mule file connector
 
Hdfs connector
Hdfs connectorHdfs connector
Hdfs connector
 

Viewers also liked

Database component in mule
Database component in muleDatabase component in mule
Database component in mulejaveed_mhd
 
File types pro forma(1)
File types pro forma(1)File types pro forma(1)
File types pro forma(1)joe cole
 
Mule esb How to use Jackson in Object to Json converter
Mule esb How to use Jackson in Object to Json converterMule esb How to use Jackson in Object to Json converter
Mule esb How to use Jackson in Object to Json converterRaffaela Vitiello
 
Mule esb made system integration easy
Mule esb made system integration easy Mule esb made system integration easy
Mule esb made system integration easy javeed_mhd
 
TEMPLATE RESPONSIVO - CUIDADOS E APLICAÇÕES SIMPLES QUE FAZEM A DIFERENÇA
TEMPLATE RESPONSIVO - CUIDADOS E APLICAÇÕES SIMPLES QUE FAZEM A DIFERENÇATEMPLATE RESPONSIVO - CUIDADOS E APLICAÇÕES SIMPLES QUE FAZEM A DIFERENÇA
TEMPLATE RESPONSIVO - CUIDADOS E APLICAÇÕES SIMPLES QUE FAZEM A DIFERENÇAMedia Education
 
ACERTE NA ABERTURA: DICAS PARA CRIAR ASSUNTOS INFALÍVEIS!
ACERTE NA ABERTURA: DICAS PARA CRIAR ASSUNTOS INFALÍVEIS!ACERTE NA ABERTURA: DICAS PARA CRIAR ASSUNTOS INFALÍVEIS!
ACERTE NA ABERTURA: DICAS PARA CRIAR ASSUNTOS INFALÍVEIS!Media Education
 
[TCC] Design Thinking aplicado ao Branding
[TCC] Design Thinking aplicado ao Branding[TCC] Design Thinking aplicado ao Branding
[TCC] Design Thinking aplicado ao BrandingPaola Bellucci Ortolan
 
Ericsson Rbs 6201 commisioning (1)
Ericsson Rbs 6201 commisioning (1)Ericsson Rbs 6201 commisioning (1)
Ericsson Rbs 6201 commisioning (1)Behnam Dorudian
 
Lebenslauf Ingenieur Jijiie,Daniel
Lebenslauf Ingenieur Jijiie,DanielLebenslauf Ingenieur Jijiie,Daniel
Lebenslauf Ingenieur Jijiie,DanielDaniel Jijie
 
What is Comms Planning?
What is Comms Planning?What is Comms Planning?
What is Comms Planning?Julian Cole
 

Viewers also liked (15)

Database component in mule
Database component in muleDatabase component in mule
Database component in mule
 
Genre research country
Genre research   countryGenre research   country
Genre research country
 
File types pro forma(1)
File types pro forma(1)File types pro forma(1)
File types pro forma(1)
 
Ps week 12
Ps week 12Ps week 12
Ps week 12
 
Mule esb How to use Jackson in Object to Json converter
Mule esb How to use Jackson in Object to Json converterMule esb How to use Jackson in Object to Json converter
Mule esb How to use Jackson in Object to Json converter
 
Mule esb made system integration easy
Mule esb made system integration easy Mule esb made system integration easy
Mule esb made system integration easy
 
Resin Infiltration Technique
Resin Infiltration TechniqueResin Infiltration Technique
Resin Infiltration Technique
 
TEMPLATE RESPONSIVO - CUIDADOS E APLICAÇÕES SIMPLES QUE FAZEM A DIFERENÇA
TEMPLATE RESPONSIVO - CUIDADOS E APLICAÇÕES SIMPLES QUE FAZEM A DIFERENÇATEMPLATE RESPONSIVO - CUIDADOS E APLICAÇÕES SIMPLES QUE FAZEM A DIFERENÇA
TEMPLATE RESPONSIVO - CUIDADOS E APLICAÇÕES SIMPLES QUE FAZEM A DIFERENÇA
 
ACERTE NA ABERTURA: DICAS PARA CRIAR ASSUNTOS INFALÍVEIS!
ACERTE NA ABERTURA: DICAS PARA CRIAR ASSUNTOS INFALÍVEIS!ACERTE NA ABERTURA: DICAS PARA CRIAR ASSUNTOS INFALÍVEIS!
ACERTE NA ABERTURA: DICAS PARA CRIAR ASSUNTOS INFALÍVEIS!
 
[TCC] Design Thinking aplicado ao Branding
[TCC] Design Thinking aplicado ao Branding[TCC] Design Thinking aplicado ao Branding
[TCC] Design Thinking aplicado ao Branding
 
Mídia-educação
Mídia-educaçãoMídia-educação
Mídia-educação
 
Pontics in fpd
Pontics in fpdPontics in fpd
Pontics in fpd
 
Ericsson Rbs 6201 commisioning (1)
Ericsson Rbs 6201 commisioning (1)Ericsson Rbs 6201 commisioning (1)
Ericsson Rbs 6201 commisioning (1)
 
Lebenslauf Ingenieur Jijiie,Daniel
Lebenslauf Ingenieur Jijiie,DanielLebenslauf Ingenieur Jijiie,Daniel
Lebenslauf Ingenieur Jijiie,Daniel
 
What is Comms Planning?
What is Comms Planning?What is Comms Planning?
What is Comms Planning?
 

Similar to Mule for each scope header collection

EST is a software architectural style that was created to guide the design an...
EST is a software architectural style that was created to guide the design an...EST is a software architectural style that was created to guide the design an...
EST is a software architectural style that was created to guide the design an...michaelaaron25322
 
Sun certifiedwebcomponentdeveloperstudyguide
Sun certifiedwebcomponentdeveloperstudyguideSun certifiedwebcomponentdeveloperstudyguide
Sun certifiedwebcomponentdeveloperstudyguideAlberto Romero Jiménez
 
General configurations on apache directives included in the httpd.conf file
General configurations on apache directives included in the httpd.conf fileGeneral configurations on apache directives included in the httpd.conf file
General configurations on apache directives included in the httpd.conf fileCognizant
 
Data weave (MuleSoft)
Data weave (MuleSoft)Data weave (MuleSoft)
Data weave (MuleSoft)Nandu List5
 
Rails Request & Middlewares
Rails Request & MiddlewaresRails Request & Middlewares
Rails Request & MiddlewaresSantosh Wadghule
 
Servlet.ppt
Servlet.pptServlet.ppt
Servlet.pptkstalin2
 
Mule concepts transformers
Mule concepts transformersMule concepts transformers
Mule concepts transformerskunal vishe
 
Design API using RAML - basics
Design API using RAML - basicsDesign API using RAML - basics
Design API using RAML - basicskunal vishe
 
Working with data.pptx
Working with data.pptxWorking with data.pptx
Working with data.pptxSherinRappai
 
Developing web apps using Erlang-Web
Developing web apps using Erlang-WebDeveloping web apps using Erlang-Web
Developing web apps using Erlang-Webfanqstefan
 
RAML - The architecture
RAML  - The architectureRAML  - The architecture
RAML - The architectureAnkush Sharma
 
Informatica overview
Informatica overviewInformatica overview
Informatica overviewkarthik kumar
 
Informatica overview
Informatica overviewInformatica overview
Informatica overviewkarthik kumar
 

Similar to Mule for each scope header collection (20)

EST is a software architectural style that was created to guide the design an...
EST is a software architectural style that was created to guide the design an...EST is a software architectural style that was created to guide the design an...
EST is a software architectural style that was created to guide the design an...
 
Sun certifiedwebcomponentdeveloperstudyguide
Sun certifiedwebcomponentdeveloperstudyguideSun certifiedwebcomponentdeveloperstudyguide
Sun certifiedwebcomponentdeveloperstudyguide
 
General configurations on apache directives included in the httpd.conf file
General configurations on apache directives included in the httpd.conf fileGeneral configurations on apache directives included in the httpd.conf file
General configurations on apache directives included in the httpd.conf file
 
Raml part 1
Raml part 1Raml part 1
Raml part 1
 
Data weave (MuleSoft)
Data weave (MuleSoft)Data weave (MuleSoft)
Data weave (MuleSoft)
 
Rails Request & Middlewares
Rails Request & MiddlewaresRails Request & Middlewares
Rails Request & Middlewares
 
Servlet.ppt
Servlet.pptServlet.ppt
Servlet.ppt
 
Servlet.ppt
Servlet.pptServlet.ppt
Servlet.ppt
 
Servlet1.ppt
Servlet1.pptServlet1.ppt
Servlet1.ppt
 
Mule concepts transformers
Mule concepts transformersMule concepts transformers
Mule concepts transformers
 
Parameters as a part of body
Parameters as a part of bodyParameters as a part of body
Parameters as a part of body
 
Design API using RAML - basics
Design API using RAML - basicsDesign API using RAML - basics
Design API using RAML - basics
 
Mule message enricher
Mule message enricherMule message enricher
Mule message enricher
 
Php
PhpPhp
Php
 
Working with data.pptx
Working with data.pptxWorking with data.pptx
Working with data.pptx
 
Developing web apps using Erlang-Web
Developing web apps using Erlang-WebDeveloping web apps using Erlang-Web
Developing web apps using Erlang-Web
 
RAML - The architecture
RAML  - The architectureRAML  - The architecture
RAML - The architecture
 
Spray
SpraySpray
Spray
 
Informatica overview
Informatica overviewInformatica overview
Informatica overview
 
Informatica overview
Informatica overviewInformatica overview
Informatica overview
 

More from Anand kalla

Unit testing using Munit Part 1
Unit testing using Munit Part 1Unit testing using Munit Part 1
Unit testing using Munit Part 1Anand kalla
 
Java Fundamentals in Mule
Java Fundamentals in MuleJava Fundamentals in Mule
Java Fundamentals in MuleAnand kalla
 
SOAP Service in Mule Esb
SOAP Service in Mule EsbSOAP Service in Mule Esb
SOAP Service in Mule EsbAnand kalla
 
UDDI in Mule Esb
UDDI in Mule EsbUDDI in Mule Esb
UDDI in Mule EsbAnand kalla
 
WSDL in Mule Esb
WSDL in Mule EsbWSDL in Mule Esb
WSDL in Mule EsbAnand kalla
 
Send email attachment using smtp in mule esb
Send email attachment using smtp  in mule esbSend email attachment using smtp  in mule esb
Send email attachment using smtp in mule esbAnand kalla
 
Mule oracle connectors
Mule oracle connectorsMule oracle connectors
Mule oracle connectorsAnand kalla
 
Mule google connectors
Mule google connectorsMule google connectors
Mule google connectorsAnand kalla
 
Mule database-connectors
Mule database-connectorsMule database-connectors
Mule database-connectorsAnand kalla
 
Mule batch processing
Mule batch processingMule batch processing
Mule batch processingAnand kalla
 
Mule architecture
Mule architectureMule architecture
Mule architectureAnand kalla
 
Mule anypoint exchange
Mule anypoint exchangeMule anypoint exchange
Mule anypoint exchangeAnand kalla
 
Mule security saml
Mule security samlMule security saml
Mule security samlAnand kalla
 
Mule security jaas
Mule security jaasMule security jaas
Mule security jaasAnand kalla
 

More from Anand kalla (20)

Unit testing using Munit Part 1
Unit testing using Munit Part 1Unit testing using Munit Part 1
Unit testing using Munit Part 1
 
Maven in Mule
Maven in MuleMaven in Mule
Maven in Mule
 
Java Fundamentals in Mule
Java Fundamentals in MuleJava Fundamentals in Mule
Java Fundamentals in Mule
 
Java in Mule
Java in MuleJava in Mule
Java in Mule
 
web services
web servicesweb services
web services
 
SOAP Service in Mule Esb
SOAP Service in Mule EsbSOAP Service in Mule Esb
SOAP Service in Mule Esb
 
UDDI in Mule Esb
UDDI in Mule EsbUDDI in Mule Esb
UDDI in Mule Esb
 
WSDL in Mule Esb
WSDL in Mule EsbWSDL in Mule Esb
WSDL in Mule Esb
 
Send email attachment using smtp in mule esb
Send email attachment using smtp  in mule esbSend email attachment using smtp  in mule esb
Send email attachment using smtp in mule esb
 
Mule oracle connectors
Mule oracle connectorsMule oracle connectors
Mule oracle connectors
 
Mule google connectors
Mule google connectorsMule google connectors
Mule google connectors
 
Mule execution
Mule executionMule execution
Mule execution
 
Mule database-connectors
Mule database-connectorsMule database-connectors
Mule database-connectors
 
Mule batch processing
Mule batch processingMule batch processing
Mule batch processing
 
Mule architecture
Mule architectureMule architecture
Mule architecture
 
Mule anypoint exchange
Mule anypoint exchangeMule anypoint exchange
Mule anypoint exchange
 
Mule soap
Mule soapMule soap
Mule soap
 
Mule soa
Mule soaMule soa
Mule soa
 
Mule security saml
Mule security samlMule security saml
Mule security saml
 
Mule security jaas
Mule security jaasMule security jaas
Mule security jaas
 

Recently uploaded

Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 

Mule for each scope header collection

  • 1. Mule For Each Scope – Header Collection
  • 2. • In this slide deck we will see how Foreach processes a collection in message header
  • 3. Message Header Collection Let us write a Mule flow which listens on HTTP Listener and let us test the flow with below url having a list of query params http://localhost:8081/foreach-headertest?names=Ram,Amar,Nag The value of the query parmater “names” is a list of comma separated values. We want to process this list using Foreach scope
  • 4. • Mule HTTP Listener converts query parameters into a Map. We can access these query parameters using the key ‘http.query.params’ • In our case the query parameter is a comma seperated values • We need to convert the comma seperated values to a List, then we can apply Foreach scope. For this purpose we nee to write a Java component
  • 5. The Java component which converts comma seperated values to a List We use this Java component in our flow to convert query parameters to a List
  • 6. Flow: We used Java component ‘QueryParamsToList’ immediately after HTTP Listener to convert query parmas to a List. Output: