Building Blocks of Enterprise Integration                            Udayanga Wickramasinghe                            So...
Overview• Introduction• Demo1 – Message routing using a Recipient List• Demo 2 – Message notifications with Eventing• Demo...
What is EAI ?“an integration framework composed of a collection of technologies    and services which form a middleware to...
ESB and EAI ?                 CRM             HRM                                       Legacy  Applications              ...
ESB and EAI ?                 CRM                                 HRM                                       Legacy  Applic...
Introducing WSO2 ESB...• Based on WSO2 Carbon (Modular Middleware)  and Apache Synapse• Designed to be asynchronous  o   B...
WSO2 ESB Components – In a nutshell..• Message and Service Mediation      Managing and transforming messages      Mediat...
EIP Patterns Definitions • Wire Tap • Content Based Router • Message Filter • Message Store
EIP PatternsDefinitionsEIP Pattern with ESB   • Envelope Wrapper   • Normalize   • Recipient List
EIP Pattern Definitions • Routing Slip • Pubsub   /media/FREEAGENT            G/webinar_03_01/EIP_webinar_03_01/imgs/Ro   ...
EIP Pattern Scenarios – Transform• Protocol Transformation     • Ie:-http  FIX• Format Transformation – schema based• Con...
EIP Pattern Scenarios – Event Bus• Publish-Subscribe Architecture• ESB acting as the event broker• Multiple subscribers/pu...
EIP Pattern Scenarios – Adapters• Support different connectors for Integration• HTTP/S with REST/POX• Adapters for various...
Demo #1 – a Recipient List• Send a request to multiple endpoints• dynamically decide the recipients                       ...
Send Student Results Scenario                                              Student ID     Student ID                  •Get...
Demo #2 – Pubsub with Eventing• Event Subscribers subscribe to Topics     • Flat/ hierachical subscriptions     • JMS/WS e...
Send Student Results – Notifications Scenario     Student ID - <EVENT>                            •Construct Message      ...
Demo #3 - Message Splitting and Aggregation• Request consists of multiple elements which can process  individually• Collec...
Templates• With complex business requirements, ESB config can grow  bigger..•   Need a way to reuse the configuration• WSO...
Scatter-Gather With Templates                                             url, payments                           •Scatter...
How would a Enterprise Solution look like?
Q&A
Selected Customers
WSO2 engagement model•   QuickStart•   Development Support•   Development Services•   Production Support•   Turnkey Soluti...
Thank You.
Upcoming SlideShare
Loading in …5
×

Building Blocks of Enterprise Integration

2,055 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,055
On SlideShare
0
From Embeds
0
Number of Embeds
299
Actions
Shares
0
Downloads
52
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Building Blocks of Enterprise Integration

  1. 1. Building Blocks of Enterprise Integration Udayanga Wickramasinghe Software Engineer WSO2 ESB March 2012
  2. 2. Overview• Introduction• Demo1 – Message routing using a Recipient List• Demo 2 – Message notifications with Eventing• Demo 3 – Split aggregate using Templates
  3. 3. What is EAI ?“an integration framework composed of a collection of technologies and services which form a middleware to enable integration of systems and applications across the enterprise”• Collection of patterns for interconnecting systems efficiently for commonly recurring integration problems  simplify system integration  automate business processes  reduce management complexity (ie:-cost, monitoring)
  4. 4. ESB and EAI ? CRM HRM Legacy Applications Data servers
  5. 5. ESB and EAI ? CRM HRM Legacy Applications Data servers
  6. 6. Introducing WSO2 ESB...• Based on WSO2 Carbon (Modular Middleware) and Apache Synapse• Designed to be asynchronous o Based on Synapse core with non blocking I/O• Open source with commercial support o Apache Software License v2.0• Rich collection of built-in features supporting any integration scenario or EIP• Customizable by adding/removing features
  7. 7. WSO2 ESB Components – In a nutshell..• Message and Service Mediation  Managing and transforming messages  Mediating messages coming into a specific proxy service hosted on ESB• Mediators  Simplest functional component.  Performs a predefined action on a given message• Sequences  Sequential arrangement of mediators• Proxy Services  Hosting proxy services inside ESB  Protocol switching and QoS• Endpoints  A logical representation of an actual endpoint, or else a collection of endpoints wrapped within some logic.
  8. 8. EIP Patterns Definitions • Wire Tap • Content Based Router • Message Filter • Message Store
  9. 9. EIP PatternsDefinitionsEIP Pattern with ESB • Envelope Wrapper • Normalize • Recipient List
  10. 10. EIP Pattern Definitions • Routing Slip • Pubsub /media/FREEAGENT G/webinar_03_01/EIP_webinar_03_01/imgs/Ro utingTableSimple.gif
  11. 11. EIP Pattern Scenarios – Transform• Protocol Transformation • Ie:-http  FIX• Format Transformation – schema based• Content Transformation • Ie:- message enrichment
  12. 12. EIP Pattern Scenarios – Event Bus• Publish-Subscribe Architecture• ESB acting as the event broker• Multiple subscribers/publishers • Subscribe to topics • Both WS Eventing and JMS support
  13. 13. EIP Pattern Scenarios – Adapters• Support different connectors for Integration• HTTP/S with REST/POX• Adapters for various Industry Standards • SAP • Financial Information eXchange (FIX) • Health Level 7(HL7)• JMS• SMTP• SMS
  14. 14. Demo #1 – a Recipient List• Send a request to multiple endpoints• dynamically decide the recipients Request Recipient 1 Recipient 2 Request …… Request Recipient n
  15. 15. Send Student Results Scenario Student ID Student ID •Get registered Institutions/results Registered Institutions Student Desk •Calculate recipient list Institute A Results •Send to Institute B recipients Recipient Endpoint Institute C
  16. 16. Demo #2 – Pubsub with Eventing• Event Subscribers subscribe to Topics • Flat/ hierachical subscriptions • JMS/WS eventing• Event publishers  ESB event sink  notify subscribers
  17. 17. Send Student Results – Notifications Scenario Student ID - <EVENT> •Construct Message •Publish events Results Institute A subscribe Institute B Institute C
  18. 18. Demo #3 - Message Splitting and Aggregation• Request consists of multiple elements which can process individually• Collect and store individual messages until a complete set of related messages has been received.• Create a single message distilled from the individual messages
  19. 19. Templates• With complex business requirements, ESB config can grow bigger..• Need a way to reuse the configuration• WSO2 ESB 4.0 introduces – Templates• An analogy… classes vs instances
  20. 20. Scatter-Gather With Templates url, payments •Scatter/Gather Request Payments PaymentService Collated Response Request Quotes url, quotes Collated Response •Scatter/Gather StockQuoteService
  21. 21. How would a Enterprise Solution look like?
  22. 22. Q&A
  23. 23. Selected Customers
  24. 24. WSO2 engagement model• QuickStart• Development Support• Development Services• Production Support• Turnkey Solutions • WSO2 Mobile Services Solution • WSO2 FIX Gateway Solution • WSO2 SAP Gateway Solution
  25. 25. Thank You.

×