7. Why WSO2 ESB 5.0?
o Enhanced Developer experience
o Data Mapper
o Mediation Debugger
o Analytics
o Mediation Statistics
o Message Tracing
o Expanding Integration capabilities
o WebSockets
o JMS 2.0
o Product = Runtime + Tooling + Analytics
o Out-of-the box, seamless integration between these components.
8. Data Mapper
o Visual message transformation between two message formats.
o Supported message formats : JSON, XML, CSV
o Data mapping operations
o Common - constants, properties, compare etc.
o String - concat, split, replace etc.
o Arithmetic - add, subtract, multiply, floor, round etc.
o Boolean - and, or, not
o Conditional - if/else
o Type conversion - stringToBoolean, stringToNumber, toString
10. Understanding Data Mapper
o Using Data Mapper
o Drag and drop Data Mapper mediator to message sequence.
o Provide sample input and output formats : Tool create the visual structure of the
message.
o Use data mapping opera;ons to map input message format to the output message
format.
o Input/output schema defines the structure of input/output message formats.
o Input/output type : You need to define the message format type of input/output messages (e.g:
applica;on/json)
o Mapping configura;on is automa;cally created based on the opera;ons and mapping that you
visually configure
kasun@wso2.com
12. Media7on Debugger – Features
o Set breakpoints and pause message flow.
o Inspecting message headers, payloads and properties.
o Change the message properties on-the-fly and test integration
scenarios.
o Inspect transport wire-logs from the debugger.
23. WebSockets Integra7on
o Why WebSockets?
o What’s wrong with Polling, Long Polling, Streaming?
o Offers connec;ons that are both persistent ("long-lived") and bi-direc;onal
("full-duplex")
o Full Duplex Communica;on Model for the Web
o Increased Client and Server Communica;on Efficiency
o Common usage: Social feeds, Mul;player games, Collabora;ve edi;ng/coding,
Clickstream data etc [1].
[1] hip://www.infoworld.com/ar;cle/2609720/applica;on-development/9-killer-uses-for-websockets.html