building blocks of enterprise integration

25
Udayanga Wickramasinghe Software Engineer WSO2 ESB March 2012 Building Blocks of Enterprise Integration

Upload: wso2

Post on 24-May-2015

1.401 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Building Blocks of Enterprise Integration

Udayanga Wickramasinghe Software Engineer WSO2 ESB March 2012

Building Blocks of Enterprise Integration

Page 2: Building Blocks of Enterprise Integration

Overview

• Introduction

• Demo1 – Message routing using a Recipient List

• Demo 2 – Message notifications with Eventing

• Demo 3 – Split aggregate using Templates

Page 3: Building Blocks of Enterprise Integration

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)

Page 4: Building Blocks of Enterprise Integration

ESB and EAI ?

CRM HRM

Applications

Data servers

Legacy

Page 5: Building Blocks of Enterprise Integration

ESB and EAI ?

CRM

HRM

Applications

Data servers

Legacy

Page 6: Building Blocks of Enterprise Integration

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

Page 7: Building Blocks of Enterprise Integration

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.

Page 8: Building Blocks of Enterprise Integration

• Wire Tap

• Content Based Router

• Message Filter

• Message Store

EIP Patterns Definitions

Page 9: Building Blocks of Enterprise Integration

EIP Patterns with ESB

• Envelope Wrapper

• Normalize

• Recipient List

EIP Pattern Definitions

Page 10: Building Blocks of Enterprise Integration

• Routing Slip

• Pubsub

EIP Pattern Definitions

/media/FREEAGENT G/webinar_03_01/EIP_webinar_03_01/imgs/RoutingTableSimple.gif

Page 11: Building Blocks of Enterprise Integration

EIP Pattern Scenarios – Transform

• Protocol Transformation

• Ie:-http FIX

• Format Transformation – schema based

• Content Transformation

• Ie:- message enrichment

Page 12: Building Blocks of Enterprise Integration

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

Page 13: Building Blocks of Enterprise Integration

• 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

EIP Pattern Scenarios – Adapters

Page 14: Building Blocks of Enterprise Integration

Demo #1 – a Recipient List

• Send a request to multiple endpoints

• dynamically decide the recipients

Recipient 1 Request

Recipient 2 Request

Recipient n

Request

……

Page 15: Building Blocks of Enterprise Integration

Send Student Results Scenario

Student Desk

Student ID

Registered Institutions

Recipient Endpoint

Results

Student ID •Get registered Institutions/results

•Calculate recipient list

•Send to recipients

Institute A

Institute B

Institute C

Page 16: Building Blocks of Enterprise Integration

Demo #2 – Pubsub with Eventing

• Event Subscribers subscribe to Topics • Flat/ hierachical subscriptions • JMS/WS eventing

• Event publishers ESB event sink notify subscribers

Page 17: Building Blocks of Enterprise Integration

Send Student Results – Notifications Scenario

subscribe

Student ID - <EVENT> •Construct Message

Institute A

Institute B

Institute C

•Publish events Results

Page 18: Building Blocks of Enterprise Integration

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

Page 19: Building Blocks of Enterprise Integration

• 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

Templates

Page 20: Building Blocks of Enterprise Integration

Scatter-Gather With Templates

PaymentService Request Payments

Collated Response

•Scatter/Gather

StockQuoteService

Request Quotes

Collated Response •Scatter/Gather

url, payments

url, quotes

Page 21: Building Blocks of Enterprise Integration

How would a Enterprise Solution look like?

Page 22: Building Blocks of Enterprise Integration

Q&A

Page 23: Building Blocks of Enterprise Integration

Selected Customers

Page 24: Building Blocks of Enterprise Integration

WSO2 engagement model

• QuickStart

• Development Support

• Development Services

• Production Support

• Turnkey Solutions

• WSO2 Mobile Services Solution

• WSO2 FIX Gateway Solution

• WSO2 SAP Gateway Solution

Page 25: Building Blocks of Enterprise Integration

Thank You.