Automating Google Workspace (GWS) & more with Apps Script
Building Blocks of Enterprise Integration
1. Building Blocks of Enterprise Integration
Udayanga Wickramasinghe
Software Engineer
WSO2 ESB
March 2012
2. Overview
• Introduction
• Demo1 – Message routing using a Recipient List
• Demo 2 – Message notifications with Eventing
• Demo 3 – Split aggregate using Templates
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. ESB and EAI ?
CRM HRM
Legacy
Applications
Data
servers
5. ESB and EAI ?
CRM
HRM
Legacy
Applications
Data
servers
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. 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.
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. 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. 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. 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
17. Send Student Results – Notifications Scenario
Student ID - <EVENT>
•Construct Message
•Publish events
Results
Institute A
subscribe
Institute B
Institute C
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. 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
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