Upload
wso2-inc
View
900
Download
2
Embed Size (px)
Citation preview
Introduction to WSO2 Enterprise Integrator (6.1)
Afkham Azeez
Senior Director, Platform Architecture
WSO2 Inc.
Vijitha Ekanayake
Software Engineer
WSO2 Inc.
3
Connectivity / Integration : anything-to-anything
WSO2 EICo
nnec
tors
Web services
APIs
Filesystems
Messaging systems
Business Applications
Partners’ systems
Data
public cloud | private cloud | on-premise
Typical Use Cases
▪ A system of systems: connect
multiple systems together.
▪ Better consumer experience with
connected data and business
processes.
▪ Digitize legacy systems: mediate
legacy with modern architecture
paradigms.
▪ Hybrid integration by taking on-
premise data and processes into
the cloud and back.
A Hybrid Integration Platform
WSO2 Enterprise Integrator
• Enterprise Service Bus (ESB)
• Data Services Server (DSS)
• Business Process Server (BPS)
• Message Broker (MB)
• Business Rules Server (BRS)
• Microservices Framework for Java (MSF4J)
• Analytics
Why 6.x?
• WSO2 ESB was the most widely used integration product from WSO2
• WSO2 ESB is at the core of EI
• The latest WSO2 ESB release was 5.0
• This is the evolution of WSO2 ESB and includes all the integration
technology from WSO2 in a single downloadable pack
Runtimes
• Integration (short lived integrations)
• Business Process (Long running integrations)
• Message Broker
• MSF4J (https://github.com/wso2/msf4j)
• Analytics
▪ To connect and integrate with common systems & platforms
▪ No additional cost. Download and Install.▪ https://store.wso2.com/store/assets/esbconnector/list
The Connectors Store
B2B Connectors▪ Salesforce▪ SAP▪ Google▪ PeopleHR▪ SugarCRM▪ Twilio▪ Youtube▪ eBay▪ Bugzilla▪ Zuora▪ Nest▪ ...
Connectors
▪ EIPs are enabled using individual building blocks called Mediators
▪ There are many types of out of box mediators that provide common capabilities such as filtering, aggregating, switching etc.
▪ These mediators are available via the tooling component to build the various EIPs
▪ EIPs cover a wide spectrum of common integration scenarios
▪ 100% coverage for all published EIPs with source configs▪ https://docs.wso2.com/display/IntegrationPatterns
Best Practices in Mediation & Integration
Enterprise Integration Patterns (EIP)
Data Integration with EI
All Create, Read, Update, Delete operations as Services
Application 𝜸
Application ẟ
Application N
Application α
Application β
Internal / external data in many forms.
(i.e. databases, spreadsheets)
CRUD as a ServiceWSO2 EI
Business Processes with EI
Processes/Workflows and Human Tasks
Application α
Application β
Defined business rules, processes and workflows which may also
consist of human tasks
Business Process Execution as a Service
WSO2 EI
Application N
Process Initiation
Results/Decisions
Hosting Java Apps and Services
● Use Tomcat or any other App Server for hosting standard apps
● Tomcat + CXF for JAXWS or JAXRS services
● MSF4J for lightweight, high performance microservices
Migration Strategy - should I now?
EI 6.x is an integrated and improved packaging of WSO2 ESB 5.0, DSS 3.5,
BPS 3.6
If you are already using these products, you can:
● Continue using these products
● All fixes will be available as WUM updates
● Next major upgrade will be to Ballerina (ballerinalang.org) based Enterprise
Integrator
No, I still want to migrate to EI 6.1!
● Migration is possible
● Deployment artifacts are the same
o Synapse config
o DSS files
o BPEL artifacts
● Location of the deployment artifacts and conf files have changed
● This will require some minor changes to your deployment automation
scripts (Puppet/Chef etc.)
Documentation
● Documents from ESB, DSS, BPS & MB have been merged
o https://docs.wso2.com/display/EI600/WSO2+Enterprise+Integrato
r+Documentation
● Comprehensive Quick Start Guide which touches on all components of
EI
o https://docs.wso2.com/display/EI600/Quick+Start+Guide
Enterprise Integrator 6.1.0 Demo
1. Retrieve doctor records from dataservice
2. Data services performs the CRUD
3. Respond to the client with doctor records
4. Medical appointment reservation request
5. Call relevant hospital services
6. Store message in MB for payment process
7. Message processor sequentially picks the
messages from message store and injects to
the payment processing sequence.
8. Invoking payment backend service
9. Send appointment status email
10. Initiate cancellation process.
Some of the EI functionalites used for this demo
● Exposing a database as a service
● Hosting services on MSF4J
● Routing Requests Based on Message Content
● Storing and Forwarding Messages
● Using the Gmail Connector
● Managing a business process
Configurations
● Hosting services on MSF4J
● Setting up message broker with EI
● Configuring data publishing
● Setting up mail connector
● Configuring Activiti.xml in business process
Exposing a database as a service
● Creating data service
● Exposing as a rest API
● Rest API Invocation
Storing and Forwarding Messages
● Stores the messages to a JMS message store
● The back-end service is invoked by a message processor, which picks
stored messages in the JMS message store.
Dashboards for analytics and monitoring
Overall setupoOverall Throughput (in TPS)oOverall Message Count
APIs, Proxies, Endpoints specificoRequest CountoMessage CountoMessage LatencyoExplore MessagesoExplore Message Flows
Enterprise Integrator (Future)
● Will be based on Ballerina (ballerinalang.org)
● Will include tooling to migrate from Synapse to Ballerina
● Will cover all aspects of integration including short lived, long running
and data integration using Ballerina
● Will include
o MB 4.0
o MSF4J for lightweight, high performance Java services