websphere消息中间件.ppt
IBM数据交换平台解决方案WebSphere Message Broker V6,Lu ZhengwuLIBM软件部,日程,整合的需求Message Broker基础WebSphere Message Broker实现细节总结,降低应用集成的复杂度在异种网络和各种平台上提供可靠的数据传输。根据应用不同的需要,提供动态的消息格式转换。根据业务需要提供智能的消息路由选择。提供预定义的消息结构和模型加快开发。整合各种不同类型应用的需要,不仅仅是整合符合webservices标准的应用。,为什么需要Message Broker,降低应用集成的复杂度,连接数从(n-1)/2 减少到n,从而大大降低了系统的复杂度,降低应用集成的复杂度在异种网络和各种平台上提供可靠的数据传输。根据应用不同的需要,提供动态的消息格式转换。根据业务需要提供智能的消息路由选择。提供预定义的消息结构和模型加快开发。整合各种不同类型应用的需要,不仅仅是整合符合webservices标准的应用。,为什么需要Message Broker,降低应用集成的复杂度在异种网络和各种平台上提供可靠的数据传输。根据应用不同的需要,提供动态的消息格式转换。根据业务需要提供智能的消息路由选择。提供预定义的消息结构和模型加快开发。整合各种不同类型应用的需要,不仅仅是整合符合webservices标准的应用。,为什么需要Message Broker,如果不是所有应用都遵循Web Services 标准,那么需求将主要着眼于一个提供对现存非服务软件资产提供整合能力的高级ESB,即Message Broker,Book FlightApplication,Check CreditApplication,Book HotelApplication,Book CarApplication,CheckTravelerApplication,FlightAvailabilityApplication,TravelReservationProcess,HotelAvailabilityService,ADVANCED Enterprise Service Bus,WebSphere Message Broker,WebSphere Message Broker,Customers face a range of ESB requirements.As a result,any given project might require an Advanced ESB.,JMS,TIBCO Rendezvous,Web Services,Weblogic JMS,WebSphere MQ,TIBCO EMS JMS,HTTP,SonicMQ JMS,Biztalk,MQe,Tuxedo,Real-time IP,FTP,Multicast,MQTT,XML,COBOLCopybook,EDI-X.12,ACORD,EDI-FACT,ebXML,AL3,HIPAA,HL7,SWIFT,FIX,Custom Formats,Word/Excel/PDF,Universal connectivity and data transformation,Plus the following:,WebSphere Adapters,日程,整合的需求Message Broker基础WebSphere Message Broker实现细节总结,A,C,B,Name,Stock,Quantity,Price,Date,Gordon Gekko,Toys R Us,42,1.50,070402,Mr.Gekko#Toys R Us#42#1,05#040702,What is a Message Broker?,WebSphere Message Broker发展历程,MQSeries Integrator V1February 1999MQSI V2.0 March 2000MQSI V2.0.1September 2000MQSI V2.0.2May 2001WebSphere MQ Integrator V2.1 Dec 2001WebSphere Business Integration Message Broker V5.0 May 2003WebSphere Message Broker V6.0 September 2005WebSphere Message Broker V6.0.0.1January 2006WebSphere Message Broker V6.0.0.2July 2006WebSphere Message Broker V6.0.2,灵活的连接和通信基础设施,支持面向SOA的应用和服务整合。,协调 请求者和服务之间的传输协议,路由 服务之间的信息,转换 请求者和服务之间的消息格式,处理 来自不同业务源的事件信息,通过企业服务总线(ESB)实现SOA的部署,Failure,Transform,Input,Server Application 1,Server Application 2,TransformationContent Based RoutingDBMS IntegrationFully TransactionalEffective,Powerful Tooling Simple ExtensibleStandards basedNon-Invasive,Message Broker性能特点,Infrastructure Management Services,Business Application Services,ProcessServices,Information Services,Development Services,Interaction Services,Partner Services,Connectivity Services,Business Performance Management Services,Message Broker与SOA,Application and Information Assets,A comprehensive yet modular middleware platform providing the development and operating environments for SOA-based solutions,MessageBroker,日程,整合的需求Message Broker基础WebSphere Message Broker实现细节总结,WebSphere Message Broker The Basics,Flexible,High Function,Production Strength Message HubRoutes,Transforms,Augments MessagesExcellent,Well Integrated Database SupportSupports Point-To-Point And Event Processing Messaging StylesSupported On A Wide Variety Of Hardware Platforms,Message Flows,Sequence of processing steps to transform/route a message as it passes through a BrokerComposed of individual nodes that are“wired”togetherAre transactionalAre reusableAre built in a sophisticated,easy to use GUI,Defining Messages To WBI Message Broker,01 AIRLINE_REQUEST.10 CUSTOMER.15 FIRST-NAME PIC X(15).15 LAST-NAME PIC X(30).10 ADDRESS.15 STREET PIC X(30).15 CITY PIC X(25).15 STATE PIC X(20).15 ZIP-CODE PIC X(5).10 FLIGHT-NO PIC X(6).10 TRAN-DATE PIC X(10).10 COST PIC X(7).10 CC-NO PIC X(15).,Dictionary,Example data representations,struct Address char street40;char city40;char state20;int zip;,01 ADDRESS.02 STREET PIC X(40).02 CITY PIC X(40).02 STATE PIC X(20).02 ZIP PIC 9(5).,class Address public String street;public String city;public String state;public int zip;,Example data representations,struct Address char street40;char city40;char state20;int zip;,01 ADDRESS.02 STREET PIC X(40).02 CITY PIC X(40).02 STATE PIC X(20).02 ZIP PIC 9(5).,class Address public String street;public String city;public String state;public int zip;,The Logical Message Model,All messages within the Broker are represented in the form of a message tree,The Message Brokers Toolkit,The GUI used for all integration development and systems administration tasksEclipse basedProvides Various“perspectives”for different tasks to be performedLets take a look at it.,The Message Brokers Toolkit,Action,in,failure,out,input terminal,output connectors,output terminal,node,input connector,Message Processing Nodes,Components of ESQL,If(.)thendo/Statementsdone,While()do/Statementsdone,Declare variable type,Set variable1=variable2Set variable3=123Set variable4=“Hello World!”,Set variable5=substring(“HelloWorld”for 2),Return true,Call mySubroutine(),Mappings A Simplified View,Building an output message from an input message,Mapping Node,Publishers And Subscribers,Broker,Deployment:The Details,The various artifacts we have developed must be grouped together for deployment A Broker Archive file is used for this purposeThe.bar file is created,populated and then deployed to the desired BrokerThe Toolkit passes this deployment request to the Config Manager who communicates with the targeted Broker,System Architecture,RDBMS,Filter Node,Input Node,Output Node,Filter Node,Neon Rules,Warehousing Node,Message Flow,Client Appl,Client Appl,Source,Appl,Target,Client Appl,Client Appl,Appl,Messages,Messages,Broker,Execution Group(s),Controller,Filter Node,Input Node,Output Node,Filter Node,ComputeNode,Warehousing Node,RuntimeRepository,AdministrativeAgent,Admin Appl,MessageBrokersToolkit,ConfigurationManager,Username Server,Message Flows,Message Dictionaries,Management Messages,AIXSun SolarisHP-UXz/OSiSeriesWindows 2000,XP,2003Linux(Intel)Linux(zSeries),Workspace,External Repository,Broker Platforms,MsgFlow,Scalability,Message Broker is very scalable both horizontally and verticallyMessage flows can be multi-threadedEach Execution Group can run multiple flowsEach Broker can have multiple Execution GroupsMultiple Brokers can be deployed,Supported operating systems for MB V6,Windows 2000 Professional(plus Service Pack 4)development and test onlyWindows 2000 Server(plus Service Pack 4)Windows XP Professional development and test onlyWindows Server 2003 Standard EditionWindows Server 2003 Enterprise EditionWindows on iSeries Server(using the IBM Integrated xSeries Server card)AIX 5.2(plus Maintenance Level 3)AIX 5.3(plus Maintenance Level 1)HP-UX 11i v1(B.11.11)(plus Dec.2003 QPK)Solaris 8(plus SunSolve recommended Patch Cluster level and patch 111308)Solaris 9(plus SunSolve recommended Patch Cluster level)Linux Intel(IA32)Red Hat Enterprise Linux AS 3.0(plus Update 2)Linux Intel(IA32)SuSE LINUX Enterprise Server(SLES)9 Linux zSeries(31-bit)Red Hat Enterprise Linux AS 3.0(plus Update 2)Linux zSeries(31-bit)SuSE LINUX Enterprise Server(SLES)9z/OS 1.5z/OS 1.6,Supported databases for broker,DB2 UDB 8.2DB2 Runtime Client 8.2(Windows development and test only)SQL Server 2000(SP3a)Sybase Adaptive Server Enterprise(ASE)12.5Oracle 9i Release 2 Patch Set 4(9.2.0.5)with Oracle Patch 3501955Oracle 10g,Supported environments for toolkit,Based on the IBM Eclipse SDK v3.01(formerly known as the WebSphere Studio Workbench)and RAD v6.0.0.1WindowsWindows 2000 ProfessionalWindows 2000 ServerWindows 2000 Advanced ServerWindows XP ProfessionalWindows Server 2003 Standard EditionWindows Server 2003 Enterprise EditionLinux Intel(IA32)Red Hat Enterprise Linux Advanced Server V3.0(Update 2)Red Hat Enterprise Linux Advanced Server V4.0SUSE LINUX Enterprise Server(SLES)9GTK Version 2.2.4 or laterMozilla version 1.4.2 or later,日程,整合的需求Message Broker基础WebSphere Message Broker实现细节总结,总结,Message Broker is a powerful,flexible,extensible,production strength hubThe Logical Message Model provides focus on business data not its various physical representationsMessage flows represent application connectivitiesNodes modularize integration operationsRich,simple message and database processing using ESQLScalable architecture for high capacityEvent Processing for dynamic messagingSupport for Web Services and a variety of transports,SOA/WebSphere 用户案例参考,华为全球员工报销系统统一流程平台山西移动SOA/EAI项目跨越不同平台的业务流程的处理中国建设银行EAI项目建立总行信息总线和流程平台烟草行业卷烟生产经营决策管理系统构建行业统一的业务信息集成平台COSCON EDI项目建立基于SOA体系结构,满足公司灵活业务需要民航航空安全系统业务整合方案利用现代信息技术建立完整的高速业务平台天津电子口岸信息平台整合项目满足信息的共享和交换,提供实时查询服务。,中国银行广东国际结算(对外接口,工作流)中国电信昆明应用及流程整合浙江移动工作流程整合交通银行应用整合以及工作流程管理华为公司应用整合以及工作流程管理建设银行总行应用整合中信实业银行应用整合中国人民银行应用整合鞍山钢铁公司应用整合中国石化企业应用整合CCTV工作流程整合COSCON内部EDI应用整合中国电信北方9省系统承载平台中国电信云南省电信公司中国电信上海电信中国网通辽宁通信公司中国电信江苏省电信公司中国移动陕西公司朝阳区政府武警江苏电力湖北电力华电,WebSphere Message Broker国内应用案例,谢谢,