SlideShare a Scribd company logo
1 of 15
Getting Started Mule ESB
By : Karim EZZINE
The Basics : What’s SOA
 An It Architectural service that supports integrating the business as linked
services.
 Offer a communication protocol for the third-party sides over the
network.
 Independent of vendors, products and technologies.
 Loosely coupled applications.
 Empower the interoperability of disparate systems
SOA and ESB
 The use of Enterprise Service Bus (ESB) is the main step to realize the full
potential of the Service Oriented Architecture.
Service
Interface
Service Service
Interface
Service
Interface
Service
Interface
Service
Interface
Service Service
Service Service Service
Enterprise Service Bus (ESB)
Service
What is an
ESB !!
Enterprise Service Bus (ESB)
 An architecture offers rules and principles for integrating numerous
applications.
 Provides a way to leverage your existing systems.
 The "bus" concept decouples applications from each other.
 Offers transformation for a various data formats.(JSON, XML, CSV ..)
 Insure the protocol negotiation between third-party sides (http, JMS .. )
Choosing an ESB Platform
Mule ESB
 Mule is a lightweight Java-based enterprise service bus (ESB) and integration
platform developed by MuleSoft.
Why Mule ?
 Highly scalable, allowing enterprises to start small and connect more
applications over time.
 Deliver 100% uptime, process tens of thousands of transactions per second.
 Support thousands of Mule servers deployed in a highly distributed
environment.
 Provide tools that all Java developers are familiar with, such as Maven,
Eclipse, JUnit and Spring.
How it works...
TransportLayer
IntegrationLayer
ApplicationLayer
Endpoint
Protocol
Message
Payload
Transformation
Third-partysides
Transport
Protocol
Message
Payload
How it works...
 Endpoints : Responsible for connecting to external resources and
delivering messages
 Connectors : Various connectors for connecting with external
sources.
 Components : Offers many useful functions such as logging, scripting
or even calling Restful or SOAP services
 Transformers : Transformers convert message payloads to formats
expected by their destinations
 Filters : Specify conditions that must be met for a message to be
routed
 Flow control/Routers : Route messages to various destinations in a
Mule flow
Getting Ready
 Requirements :
 Java Development Kit 1.8.X
 Anypoint Studio
 Mule Runtime
Getting Started
 Enterprise Service Bus (ESB) for connecting with Weather API in order
consume the service exposed by ForcastIO and extract informations about the
current weather status.
ESB Service :
 Input : JSON ( longitude, latitude)
 Method : POST
 Output : XML ( longitude, latitude, summary, temperature, time, windspeed,
humidity)
 PORT : 8081
 Path : /api/weather
Getting Started
 Example :
ESB Input :
ESB Output :
Getting Started
 ForcastIO Service
Input : longitude, latitude
Output : JSON
Method : GET
HOST : api.darksky.net/forecast/
Path : /forcast/{secret_key}/{longitude},{latitude}
Port : 443
Implementation
Thank You

More Related Content

What's hot (18)

MuleEsb
MuleEsbMuleEsb
MuleEsb
 
mulesoft filters
mulesoft filtersmulesoft filters
mulesoft filters
 
Mule advanced
Mule advancedMule advanced
Mule advanced
 
Mule
MuleMule
Mule
 
Mule ESB Components
Mule ESB Components Mule ESB Components
Mule ESB Components
 
How muleworks
How muleworksHow muleworks
How muleworks
 
Mule security
Mule  securityMule  security
Mule security
 
Rabbit Mq in Mule
Rabbit Mq in MuleRabbit Mq in Mule
Rabbit Mq in Mule
 
Mule esb
Mule esbMule esb
Mule esb
 
Arch andmodulesmule
Arch andmodulesmuleArch andmodulesmule
Arch andmodulesmule
 
Rest web services
Rest web servicesRest web services
Rest web services
 
Mule connectors
Mule  connectorsMule  connectors
Mule connectors
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule esb basic introduction
Mule esb basic introductionMule esb basic introduction
Mule esb basic introduction
 
Testing mule
Testing   muleTesting   mule
Testing mule
 
Mule Concur Connector
Mule Concur ConnectorMule Concur Connector
Mule Concur Connector
 
Mule ESB Tutorial Part 3
Mule ESB Tutorial Part 3Mule ESB Tutorial Part 3
Mule ESB Tutorial Part 3
 
Java in Mule
Java in MuleJava in Mule
Java in Mule
 

Similar to Getting Started Mule ESB - Connect Weather API

Similar to Getting Started Mule ESB - Connect Weather API (20)

Mule fundamentals muthu guru rathinesh g
Mule fundamentals muthu guru rathinesh gMule fundamentals muthu guru rathinesh g
Mule fundamentals muthu guru rathinesh g
 
Mule for beginners
Mule for beginnersMule for beginners
Mule for beginners
 
Mule - beginners guide
Mule - beginners guideMule - beginners guide
Mule - beginners guide
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule esb Basics
Mule esb BasicsMule esb Basics
Mule esb Basics
 
Mule in a nutshell
Mule in a nutshellMule in a nutshell
Mule in a nutshell
 
Mulesoft ppt
Mulesoft pptMulesoft ppt
Mulesoft ppt
 
Wso2 tutorial
Wso2 tutorialWso2 tutorial
Wso2 tutorial
 
Ss Esb
Ss EsbSs Esb
Ss Esb
 
Ss Esb
Ss EsbSs Esb
Ss Esb
 
REST APIs and MQ
REST APIs and MQREST APIs and MQ
REST APIs and MQ
 
Mule execution units
Mule execution unitsMule execution units
Mule execution units
 
Basics of mule for beginners
Basics of mule for beginnersBasics of mule for beginners
Basics of mule for beginners
 

Recently uploaded

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
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
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.
 
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
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
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 Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
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
 
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
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
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
 
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
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
(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
 
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
 

Recently uploaded (20)

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
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
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 ...
 
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)
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
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 Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
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...
 
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
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
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
 
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
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
(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...
 
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...
 

Getting Started Mule ESB - Connect Weather API

  • 1. Getting Started Mule ESB By : Karim EZZINE
  • 2. The Basics : What’s SOA  An It Architectural service that supports integrating the business as linked services.  Offer a communication protocol for the third-party sides over the network.  Independent of vendors, products and technologies.  Loosely coupled applications.  Empower the interoperability of disparate systems
  • 3. SOA and ESB  The use of Enterprise Service Bus (ESB) is the main step to realize the full potential of the Service Oriented Architecture. Service Interface Service Service Interface Service Interface Service Interface Service Interface Service Service Service Service Service Enterprise Service Bus (ESB) Service
  • 5. Enterprise Service Bus (ESB)  An architecture offers rules and principles for integrating numerous applications.  Provides a way to leverage your existing systems.  The "bus" concept decouples applications from each other.  Offers transformation for a various data formats.(JSON, XML, CSV ..)  Insure the protocol negotiation between third-party sides (http, JMS .. )
  • 6. Choosing an ESB Platform
  • 7. Mule ESB  Mule is a lightweight Java-based enterprise service bus (ESB) and integration platform developed by MuleSoft. Why Mule ?  Highly scalable, allowing enterprises to start small and connect more applications over time.  Deliver 100% uptime, process tens of thousands of transactions per second.  Support thousands of Mule servers deployed in a highly distributed environment.  Provide tools that all Java developers are familiar with, such as Maven, Eclipse, JUnit and Spring.
  • 9. How it works...  Endpoints : Responsible for connecting to external resources and delivering messages  Connectors : Various connectors for connecting with external sources.  Components : Offers many useful functions such as logging, scripting or even calling Restful or SOAP services  Transformers : Transformers convert message payloads to formats expected by their destinations  Filters : Specify conditions that must be met for a message to be routed  Flow control/Routers : Route messages to various destinations in a Mule flow
  • 10. Getting Ready  Requirements :  Java Development Kit 1.8.X  Anypoint Studio  Mule Runtime
  • 11. Getting Started  Enterprise Service Bus (ESB) for connecting with Weather API in order consume the service exposed by ForcastIO and extract informations about the current weather status. ESB Service :  Input : JSON ( longitude, latitude)  Method : POST  Output : XML ( longitude, latitude, summary, temperature, time, windspeed, humidity)  PORT : 8081  Path : /api/weather
  • 12. Getting Started  Example : ESB Input : ESB Output :
  • 13. Getting Started  ForcastIO Service Input : longitude, latitude Output : JSON Method : GET HOST : api.darksky.net/forecast/ Path : /forcast/{secret_key}/{longitude},{latitude} Port : 443