Shafreen AnfarSoftware EngineerIntegration Technology TeamWSO2 Inc.
WSO2 Product Release WebinarEnterprise Service Bus 4.8.0
Ravi UndupitiyaSoftware EngineerIntegration Technology TeamWSO2 Inc.
About WSO2
• Providing the only complete open source componentized cloud platform– Dedicated to removing all the stumbling blocks to enterprise agility– Enabling you to focus on business logic and business value
• Recognized by leading analyst firms as visionaries and leaders– Gartner cites WSO2 as visionaries in all 3 categories of application
infrastructure– Forrester places WSO2 in top 2 for API Management
• Global corporation with offices in USA, UK & Sri Lanka– 200+ employees and growing
• Business model of selling comprehensive support & maintenance for our products
150+ globally positioned support customers
Agenda
• Background on Enterprise Service Bus and SOA
• Capabilities of the WSO2 ESB
• Functional components of WSO2 ESB
• What’s new in WSO2 ESB 4.8.0
• Connectors
• Message Store/Message Processor Improvements
• JSON Improvements
• New Mediators: Call, Respond and Loopback.
• Other Improvements
Background - The Modern Enterprise
• Dynamic/diverse business requirements
• No single vendor or solution
• Legacy systems?
• Can’t get rid of them
• Cloud APIs
Spaghetti Integration
• Scalability, maintainability, troubleshooting?
ESB as the Integration Bus
• Clean, lean and mean.
WSO2 ESB
• A lightweight, high performance ESB
• Configuration driven over coding
• Feature rich and standards compliant– SOAP and WS-* standards– REST support– Domain specific protocol support (eg: FIX, HL7)
• Supports all EIP Patterns
• User friendly and highly extensible
• 100% free and open source with commercial support
ESB Functional Components
Mediators
Sequences
• A chain of mediators
• Messages are sent through all the mediators in the sequence, in the order they appear
Endpoints
• A logical entity to which messages can be sent from the ESB– A service endpoint reference (EPR)– A JMS queue– A FIX session
• Various operational and QoS constraints can be engaged on an endpoint– SOAP version– WS-Security
Proxy Services
API
Key Features: Routing
Key Features: Filtering
Key Features: Transformation
Key Features: Protocol Switching
Key Features: Load Balancing
Key Features: QoS
Supported Protocols/Standards
• Transports– HTTP/S, POP/IMAP, SMTP, JMS, AMQP, FIX, Raw
TCP, Raw UDP, SAP, File transports (FTP/SFTP/CIFS)
• Content interchange formats– SOAP 1.1, SOAP 1.2, POX, HTML, Plain text,
binary, JSON, Hessian
• WS-* standards– WS-Addressing, WS-Security, WS-Policy, WS-
Discovery, MTOM/SwA
● WSO2 ESB 4.6○ Revolutionized ESB performance
● WSO2 ESB 4.7 ○ Comprehensive RESTful Integration support
● WSO2 ESB 4.8
WSO2 ESB in 2013
New in WSO2 ESB 4.8.0
1. Connectors
2. Message Store/Message Processor Improvements
3. JSON Improvements
4. New Mediators: Call, Respond and Loopback.
5. Other Improvements
● A connector is a ready made and convenient tool to reach publicly available Web API’s.
Connectors
● Connectors allow rapid and easy integration of different APIs to meet business needs.
● ESB 4.8.0 introduces the first five connectors:○ SalesForce○ Google Documents○ Twilio○ Twitter○ JIRA
● Many more connectors coming soon!
Connectors
● Opportunity Management: SalesForce + Google SpreadSheet
Sample Connector Use Case
● Searching for tweets.● Basic flow:
○ init operation - can be stored as local entry. ○ Connector operation.
Sample Connector Config
● Dynamic tooling support with Dev StudioConnector Tooling
Connectors● Connector Architecture
○ Based on Synapse Templates and Mediation Library
○ Diverse API’s (REST, SOAP, SDK) ○ Tooling with Dev Studio
● Connectors hosted on GitHub:○ https://github.com/wso2/esb-connectors/
● Anyone can create and share their own connector
Message Store/Processor Improvements
● Stabilization of MSMP to cater guaranteed delivery and rate matching scenarios.
● RESTful message support with guaranteed delivery.
● Message Forwarding Processor now supports multiple endpoint.
● Message processors now persist active/inactive state.
Message Store/Processor Improvements
● Forwarding Processor○ Separate intervals for message
consumption and retrying messages.
● Multiple message processors per message store
● Support for applying security policies to incoming and outgoing messages.
JSON Improvements
● Streaming JSON Builder/Formatter as default.
● Staxon library
● Works without intermediary conversion to XML
● JSON Path support for Switch, Filter, Property and Log mediators.
● Payload Factory supports mixing XPath and JSON Path.
New Mediator: Call
● Call Mediator○ Changes the way we think of service
orchestration.
○ Works like callout mediator over non-blocking HTTP.
○ Calls backend service and on response, continues mediation flow following call mediator.
○ More intuitive service chaining.
New Mediators: Respond & Loopback
● Two mediators useful during development and testing.
● Respond○ Immediate response to client sending current
message in Message Context.
● Loopback○ Move mediation flow to beginning of out flow.
Other Improvements● VFS Throttling
○ FileProcessCount○ FileProcessInterval
● New Secure Vault○ wso2:vault-lookup function. No hardcoded
secrets or passwords in ESB configs
● Streaming XPath stabilization
● SSL certificate support for VFS FTPS
● MQTT Support (Experimental Feature)
● Over 300 JIRA Issues Resolved!
● Helping you get the most out of your deployments● From project evaluation and inception to
development and going into production, WSO2 is your partner in ensuring 100% project success
Engage with WSO2