Developing, Debugging, and
Administering Integration Scenarios
with WSO2 Enterprise Integrator
Pamod Sylvester
Technical Lead, WSO2
Agenda
• Overview
• Tooling
• Integration Scenarios
• Key Features
• Deployment
• Observability
Overview
Modular vs. Monolithic
Scalability
Development
Complexity
Maintainability
Moduler
More granular,
hence could
scale what’s
necessary
There would be a
learning curve involved
initially
System could be
gracefully updated -
only the affected
componentes need to
be updated
Monolithic
Will require
scaling of the
entire stack
Since there are no actors
involved, makes it easier
to develop
The whole application
should be updated with
every change
Moving to Modular Architecture
5
Enterprise Service Bus (ESB) - A Smarter Approach!
6
What to Expect From an Enterprise
Integrator (Product)
Interoperability
AnalyticsTooling
EI
Interoperability
8
Native support for ALL enterprise integration patterns (EIP)
Content based router
Publisher-Subscriber Point-to-point Channel
Dead-letter channel Command message
Guaranteed delivery Request-reply
Splitter Aggregator Scatter-gather
Pipe-and-filters Message translator Event message
Event-driven consumer Durable subscriber
Content enricher
Content filter
Connect with WSO2 Enterprise Integrator
9
• Transports: Support for web (HTTP), files (VFS), email (POP, IMAP),
and more.
• Formats/ Protocols: XML, JSON, CSV, EDI, SOAP, REST, and more.
• Domain specific apps: Financial Services (FIX), Healthcare (HL7), etc.
• COTS: SAP, IBM WebSphere MQ, MSMQ, and more.
• Cloud apps: Salesforce, Google Apps, Twitter, JIRA, and more.
• Custom extensions: Handles proprietary/ non-standard integration
cases
Tooling
Enterprise Integrator Tooling
11
IDE Support: WSO2 Developer Studio, based on eclipse, familiar
environment
<screenshot>
Getting Started
https://wso2.com/updates/wum or https://wso2.com/integration
Scenarios
Data Integration
Email Name Telephone
brown@wso2.com Brown +339384844
Database
Transformation
16
• Data Mapper: Convert and transform data visually
– Transform from/to JSON, XML, and CSV
– Easily integrate into mediation sequences as a mediator
– Apply operations:
• Common
• String
• Arithmetic
• Boolean
• Conditional
• Type conversion
Transformation
17
• Transform via Datamapper, XSLT, XQuery or Smooks
• Enrich via XPATH
• URL/ Headers Management
Name Description
XSLT Mediator Invokes XSLT transformation on current message (v1.0 and v2.0 are supported)
XQuery Mediator Invokes XQuery transformation on current message
Smooks Mediator Invokes embedded Smooks Engine (v1.5) - Supports binary transformations (EDI, CSV, etc.)
Enrich Mediator Enrich message contents using XPATH (replace, append, remove)
URL Rewrite Mediator Rewrite protocol / URL contents
Header Mediator Set / Remove Headers
Payload Factory Override Message Contents / Create Message (XML/JSON)
Scenario - Transform Data
{
"email":"white@wso2.com",
"name":"White",
"Telephone":"+374848486"
}
<p:insert_tbl_index_operation >
<xs:email
>white@wso2.com</xs:email>
<xs:name >White</xs:name>
<xs:telephone
>+374848486</xs:telephone>
</p:insert_tbl_index_operation>
Demo
Developer-friendly, Easy Deployment
20
New perspective for debugging
Demo
Reliability
Email Name Telephone
brown@wso2.com Brown +339384844
Database
Scenario - Guaranteed Delivery
Email Name Telephone
brown@wso2.com Brown +339384844
white@wso2.com White +374848486
Database
Demo
Longed Lived Processors
Workflows Human task
Key Features
WSO2 Enterprise Integrator
27
WSO2 Enterprise Integrator
Deployment
Deployable Artifacts
Repository Location :
$EI_HOME/repository/deployment
Deployment
Details are available at
https://docs.wso2.com/display/EI611/WSO2+Enterprise+Integrator+Best+Practices
Push Model Sync Model
DEV
sync
Deployment Across Multiple Environments
QA
sync
PROD
sync
Dev ESB Artifacts QA ESB Artifacts
PROD ESB
Artifacts
CI/CD Server
checkout
deploy
checkout checkout
deploy deploy
Observability
WSO2 Enterprise Integrator Analytics
34
• Dashboards for each artifact type with drill down capability
• Summary of requests, message count, latency, message status,
message flow, mediator properties
WSO2 Enterprise Integrator Analytics cont.
35
• Drill-down into statistics for better analysis
– Trace messages throughout mediation flows
– Identify bottlenecks in message flows, and errors in mediator
properties easily
THANK YOU
wso2.com

Developing, Administering and Debugging with WSO2 Enterprise Integrator