SlideShare a Scribd company logo
Introduction to WSO2 ESB
Introduction to WSO2 ESB
๏
๏
๏
๏
๏
๏
๏
๏
Introduction to WSO2 ESB
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
Introduction to WSO2 ESB
Introduction to WSO2 ESB
Introduction to WSO2 ESB
Introduction to WSO2 ESB
Introduction to WSO2 ESB
Introduction to WSO2 ESB
Introduction to WSO2 ESB
Introduction to WSO2 ESB
Introduction to WSO2 ESB
Introduction to WSO2 ESB
Introduction to WSO2 ESB
Introduction to WSO2 ESB
๏
๏
๏
๏
๏
• The simplest functional component available in WSO2
ESB
• A black box which accepts a message and carries out a
predefined task on it
• WSO2 ESB comes with a rich library of built-in mediators
–Log mediator : Logs the message
–Send mediator: Sends the message to a URL
–XSLT mediator : Performs an XSLT transformation on the message
Configuration
Data
Input Message Output Message
…
• Transforming messages
–eg: XSLT mediator, Payload factory mediator
• Manipulating message headers and properties
–eg: Header mediator, Property mediator
• Replicating, splitting and aggregating messages
–eg: Clone mediator, Aggregate mediator
• Filtering messages
–eg: Filter mediator, Switch mediator
• Custom Mediation
–Eg: Class mediator, Script mediator
• And lot more…
–http://docs.wso2.org/display/ESB481/Mediators - complete list
• A sequential arrangement of mediators – A mediator
chain!
• When a message is handed to a sequence it is given to
the first mediator of the chain - The outcome of that will
be handed to the second mediator of the chain and so
on…
• The messages are sent through the chain while
mediators perform various actions on it along the way
• Pipelining in action!
…
● Consider the example sequence shown above
− Messages are first logged by the log mediator
− The property mediator sets a property on the messages
− Then they are sent to a specified endpoint by the send
mediator
− It is a simple log-and-forward message flow!
● Defines an endpoint reference (EPR) to which
messages can be sent/forwarded from the ESB
− The send mediator takes an endpoint as an argument
● Various operational constraints can be enforced on
an endpoint
− Timeout duration
− Message format (REST, POX, SOAP 1.1, SOAP 1.2)
● QoS expectations can be set on an endpoint
− Security
● Main types of endpoints
− Address endpoint (A simple URL)
− WSDL endpoint (Extracts the EPR from a WSDL)
− HTTP endpoint ( To invoke REST services with URL
parameters)
− Default endpoint ( Adding QoS and other constraints)
− Load balance endpoints (Divides the requests among
several child endpoints)
− Fail over endpoints (Detects errors that can occur while
sending the messages and resends them to a backup
endpoint)
● Acts like a virtual service that can receive requests
from clients
● Received client requests are processed and routed
to a specified endpoint (usually to an actual service –
backend service)
● Responses coming back from the backend service
are further processed and forwarded to the clients
● Resembles traditional HTTP proxy servers
Introduction to WSO2 ESB
Runtime Architecture
o If you have a REST front-end client, REST back-end
service, or both a REST client and service, you can use a
proxy service in the ESB to handle the communication
between the front end and back end
o REST Client and SOAP Service
o SOAP Client and REST Service
o REST Client and REST Service
o JMS Client and REST Service
o https://docs.wso2.org/display/ESB481/Using+REST+with+a+Proxy+Service
*
o API anchored at URL context
o e.g., GET /test
o Resources
o Component of API accessed through HTTP call
o Similar to proxy service (in, out, and fault sequences) but more
limited
o Can restrict resource’s scope using URL patterns and URI
templates
*
*
o URL mapping
oPath mappings (eg: /test/*, /foo/bar/*)
oExtension mappings (eg: *.jsp, *.do)
oExact mappings (eg: /test, /test/foo)
o URI template
o/order/{orderId} would process /order/A0001
o/dictionary/{char}/{word} would process
/dictionary/c/cat
o Use get-property to retrieve exact values
<log level="custom">
<property name="Character" expression="get-
property('uri.var.char')"/>
<property name="Word" expression="get-property
('uri.var.word')"/>
</log>
*
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
Introduction to WSO2 ESB
Introduction to WSO2 ESB
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
๏
http://wso2.com/library/articles/2014/02/esb-performance-round-7.5/
Introduction to WSO2 ESB
Introduction to WSO2 ESB
๏
๏
๏
๏
๏
๏
๏
๏
Introduction to WSO2 ESB
Introduction to WSO2 ESB

More Related Content

PDF
Enterprise Integration with the WSO2 ESB
PDF
WSO2 Enterprise Service Bus - Product Overview
PPT
Wso2 Scenarios Esb Webinar July 1st
PDF
WSO2 ESB Integration with REST
PDF
Designing APIs with OpenAPI Spec
PPTX
REST & RESTful Web Services
PDF
Service discovery with Eureka and Spring Cloud
PDF
Highlights of WSO2 API Manager 4.0.0
Enterprise Integration with the WSO2 ESB
WSO2 Enterprise Service Bus - Product Overview
Wso2 Scenarios Esb Webinar July 1st
WSO2 ESB Integration with REST
Designing APIs with OpenAPI Spec
REST & RESTful Web Services
Service discovery with Eureka and Spring Cloud
Highlights of WSO2 API Manager 4.0.0

What's hot (20)

PDF
Integration Solution Patterns
PDF
Spring Web Services: SOAP vs. REST
PDF
Api presentation
PDF
Azure Application insights - An Introduction
PPTX
ESB Presentation
 
PPTX
REST API Design & Development
PDF
PPTX
webMethods 10.5 and webMethods.io Integration: Everything You Must Know
PDF
Open API and API Management - Introduction and Comparison of Products: TIBCO ...
PDF
OAuth 2.0 with IBM WebSphere DataPower
PPTX
Understanding REST APIs in 5 Simple Steps
PPTX
introduction about REST API
PDF
The Beginner’s Guide To Spring Cloud
PDF
Writing REST APIs with OpenAPI and Swagger Ada
PDF
Documenting your REST API with Swagger - JOIN 2014
PPTX
Building secure applications with keycloak
PPTX
Document your rest api using swagger - Devoxx 2015
PDF
Learn REST in 18 Slides
PPTX
An Introduction To REST API
Integration Solution Patterns
Spring Web Services: SOAP vs. REST
Api presentation
Azure Application insights - An Introduction
ESB Presentation
 
REST API Design & Development
webMethods 10.5 and webMethods.io Integration: Everything You Must Know
Open API and API Management - Introduction and Comparison of Products: TIBCO ...
OAuth 2.0 with IBM WebSphere DataPower
Understanding REST APIs in 5 Simple Steps
introduction about REST API
The Beginner’s Guide To Spring Cloud
Writing REST APIs with OpenAPI and Swagger Ada
Documenting your REST API with Swagger - JOIN 2014
Building secure applications with keycloak
Document your rest api using swagger - Devoxx 2015
Learn REST in 18 Slides
An Introduction To REST API
Ad

Viewers also liked (20)

PDF
Lightweight Orchestration with WSO2 ESB
PDF
Implementing advanced integration patterns with WSO2 ESB
PPTX
WSO2 Gateway
PDF
Introduction to ESB Architecture and Message Flow
PDF
WSO2Con USA 2017: Positioning WSO2 for Quicker Uptake
PDF
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
PPTX
WSO2Con USA 2017: DevOps Best Practices in 7 Steps
PDF
Java Performance and Profiling
PPTX
Role of integration in Digital Transformation
PDF
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...
PDF
Product Release Webinar- WSO2 Developer Studio 3.5
PDF
Expanding OEM Opportunities with WSO2
PDF
Creating Environment Specific Configurations with WSO2 Developer Studio
PDF
Service-Oriented Architecture (SOA)
PPTX
[Webinar] SOA ágil con WSO2
PPT
Mule connectors
PPT
Siddhi CEP 2nd sideshow presentation
PPTX
Siddhi CEP 1st presentation
PPTX
Developer’s viewpoint on swift programming language
PPT
Debug Program in Mule
Lightweight Orchestration with WSO2 ESB
Implementing advanced integration patterns with WSO2 ESB
WSO2 Gateway
Introduction to ESB Architecture and Message Flow
WSO2Con USA 2017: Positioning WSO2 for Quicker Uptake
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
WSO2Con USA 2017: DevOps Best Practices in 7 Steps
Java Performance and Profiling
Role of integration in Digital Transformation
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...
Product Release Webinar- WSO2 Developer Studio 3.5
Expanding OEM Opportunities with WSO2
Creating Environment Specific Configurations with WSO2 Developer Studio
Service-Oriented Architecture (SOA)
[Webinar] SOA ágil con WSO2
Mule connectors
Siddhi CEP 2nd sideshow presentation
Siddhi CEP 1st presentation
Developer’s viewpoint on swift programming language
Debug Program in Mule
Ad

Similar to Introduction to WSO2 ESB (20)

PDF
WSO2 Product Release webinar - The WSO2 ESB 4.8.0
PDF
Wso2 integration platform deep dive eu con 2016
PPTX
WSO2Con USA 2015: WSO2 Integration Platform Deep Dive
PPT
Webbinar slides
PPTX
Wso2 tutorial
PDF
Advaced training-wso2-esb
PDF
Leveraging Open Source Integration with WSO2 Enterprise Service Bus
PDF
Wso2 esb 5.0.0 product release webinar
PDF
Integrating with SAP FIX and HL7
PDF
WSO2 Product Release Webinar: WSO2 Enterprise Service Bus 5.0
PDF
Slides
PDF
WSO2 Enterprise Service Bus
PDF
WSO2 Intro Webinar - Simplifying Enterprise Integration with Configurable WS...
PDF
WSO2 ESB Introduction to Inbound Endpoints
PPT
Enterprise service bus part 1
PDF
Open Source Integration with WSO2 Enterprise Service Bus
PDF
Exploring the WSO2 ESB 4.7
PPTX
Introduction to WSO2 Integration Platform
WSO2 Product Release webinar - The WSO2 ESB 4.8.0
Wso2 integration platform deep dive eu con 2016
WSO2Con USA 2015: WSO2 Integration Platform Deep Dive
Webbinar slides
Wso2 tutorial
Advaced training-wso2-esb
Leveraging Open Source Integration with WSO2 Enterprise Service Bus
Wso2 esb 5.0.0 product release webinar
Integrating with SAP FIX and HL7
WSO2 Product Release Webinar: WSO2 Enterprise Service Bus 5.0
Slides
WSO2 Enterprise Service Bus
WSO2 Intro Webinar - Simplifying Enterprise Integration with Configurable WS...
WSO2 ESB Introduction to Inbound Endpoints
Enterprise service bus part 1
Open Source Integration with WSO2 Enterprise Service Bus
Exploring the WSO2 ESB 4.7
Introduction to WSO2 Integration Platform

More from WSO2 (20)

PDF
Demystifying CMS-0057-F - Compliance Made Seamless with WSO2
PDF
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
PDF
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
PDF
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
PDF
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
PDF
Platformless Modernization with Choreo.pdf
PDF
Application Modernization with Choreo for the BFSI Sector
PDF
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
PDF
[Roundtable] Choreo - The AI-Native Internal Developer Platform as a Service
PPTX
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
PPTX
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
PPTX
WSO2Con 2025 - Building Secure Customer Experience Apps
PPTX
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
PPTX
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
PPTX
WSO2Con 2025 - Unified Management of Ingress and Egress Across Multiple API G...
PPTX
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
PPTX
WSO2Con 2025 - Architecting Cloud-Native Applications
PDF
Mastering Intelligent Digital Experiences with Platformless Modernization
PDF
Accelerate Enterprise Software Engineering with Platformless
PDF
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
Demystifying CMS-0057-F - Compliance Made Seamless with WSO2
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
Platformless Modernization with Choreo.pdf
Application Modernization with Choreo for the BFSI Sector
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
[Roundtable] Choreo - The AI-Native Internal Developer Platform as a Service
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Customer Experience Apps
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2Con 2025 - Unified Management of Ingress and Egress Across Multiple API G...
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2Con 2025 - Architecting Cloud-Native Applications
Mastering Intelligent Digital Experiences with Platformless Modernization
Accelerate Enterprise Software Engineering with Platformless
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPT
Teaching material agriculture food technology
PDF
Electronic commerce courselecture one. Pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Empathic Computing: Creating Shared Understanding
PPTX
A Presentation on Artificial Intelligence
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
MYSQL Presentation for SQL database connectivity
Spectral efficient network and resource selection model in 5G networks
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
“AI and Expert System Decision Support & Business Intelligence Systems”
Teaching material agriculture food technology
Electronic commerce courselecture one. Pdf
Network Security Unit 5.pdf for BCA BBA.
Empathic Computing: Creating Shared Understanding
A Presentation on Artificial Intelligence
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Accuracy of neural networks in brain wave diagnosis of schizophrenia
The Rise and Fall of 3GPP – Time for a Sabbatical?
20250228 LYD VKU AI Blended-Learning.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Assigned Numbers - 2025 - Bluetooth® Document
Building Integrated photovoltaic BIPV_UPV.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Group 1 Presentation -Planning and Decision Making .pptx
NewMind AI Weekly Chronicles - August'25-Week II
SOPHOS-XG Firewall Administrator PPT.pptx

Introduction to WSO2 ESB

  • 6.
  • 8.
  • 26. • The simplest functional component available in WSO2 ESB • A black box which accepts a message and carries out a predefined task on it • WSO2 ESB comes with a rich library of built-in mediators –Log mediator : Logs the message –Send mediator: Sends the message to a URL –XSLT mediator : Performs an XSLT transformation on the message Configuration Data Input Message Output Message
  • 27. … • Transforming messages –eg: XSLT mediator, Payload factory mediator • Manipulating message headers and properties –eg: Header mediator, Property mediator • Replicating, splitting and aggregating messages –eg: Clone mediator, Aggregate mediator • Filtering messages –eg: Filter mediator, Switch mediator • Custom Mediation –Eg: Class mediator, Script mediator • And lot more… –http://docs.wso2.org/display/ESB481/Mediators - complete list
  • 28. • A sequential arrangement of mediators – A mediator chain! • When a message is handed to a sequence it is given to the first mediator of the chain - The outcome of that will be handed to the second mediator of the chain and so on… • The messages are sent through the chain while mediators perform various actions on it along the way • Pipelining in action!
  • 29. … ● Consider the example sequence shown above − Messages are first logged by the log mediator − The property mediator sets a property on the messages − Then they are sent to a specified endpoint by the send mediator − It is a simple log-and-forward message flow!
  • 30. ● Defines an endpoint reference (EPR) to which messages can be sent/forwarded from the ESB − The send mediator takes an endpoint as an argument ● Various operational constraints can be enforced on an endpoint − Timeout duration − Message format (REST, POX, SOAP 1.1, SOAP 1.2) ● QoS expectations can be set on an endpoint − Security
  • 31. ● Main types of endpoints − Address endpoint (A simple URL) − WSDL endpoint (Extracts the EPR from a WSDL) − HTTP endpoint ( To invoke REST services with URL parameters) − Default endpoint ( Adding QoS and other constraints) − Load balance endpoints (Divides the requests among several child endpoints) − Fail over endpoints (Detects errors that can occur while sending the messages and resends them to a backup endpoint)
  • 32. ● Acts like a virtual service that can receive requests from clients ● Received client requests are processed and routed to a specified endpoint (usually to an actual service – backend service) ● Responses coming back from the backend service are further processed and forwarded to the clients ● Resembles traditional HTTP proxy servers
  • 35. o If you have a REST front-end client, REST back-end service, or both a REST client and service, you can use a proxy service in the ESB to handle the communication between the front end and back end o REST Client and SOAP Service o SOAP Client and REST Service o REST Client and REST Service o JMS Client and REST Service o https://docs.wso2.org/display/ESB481/Using+REST+with+a+Proxy+Service *
  • 36. o API anchored at URL context o e.g., GET /test o Resources o Component of API accessed through HTTP call o Similar to proxy service (in, out, and fault sequences) but more limited o Can restrict resource’s scope using URL patterns and URI templates *
  • 37. *
  • 38. o URL mapping oPath mappings (eg: /test/*, /foo/bar/*) oExtension mappings (eg: *.jsp, *.do) oExact mappings (eg: /test, /test/foo) o URI template o/order/{orderId} would process /order/A0001 o/dictionary/{char}/{word} would process /dictionary/c/cat o Use get-property to retrieve exact values <log level="custom"> <property name="Character" expression="get- property('uri.var.char')"/> <property name="Word" expression="get-property ('uri.var.word')"/> </log> *
  • 41.
  • 46.
  • 47.
  • 49.