WebSphere Application Integration Messaging Graham Oakes WW Business Integration Technical Sales grahamo@us.ibm.com 212 493 2320 © 2002 IBM Corporation © 2004 IBM Corporation Agenda WebSphere MQ File Transfer with WebSphere MQ Message Mediation WBI Message Broker 2 © 2004 IBM Corporation WebSphere MQ 3 © 2004 IBM Corporation ESB Transport Services – WebSphere MQ MQ Queue Manager The Original ‘Middleware’ Loose coupling – enables SOA componentization. Asynchronous – workload processes faster because applications do not have to wait until the application is available; the application doe not even have to be on-line. Industry leadership – Chosen by 4 out of 5 MOM buyers. A JMS API Queue1 B Queue2 Single Server MQ Queue Manager Assured, Transactional, Manageable Exactly once delivery – no duplicates. End-to-end transactions. Unparalleled industry support – all the leading systems management vendors. MQI API MQ Queue Manager MQ Queue Manager B A Distributed Bus Q Mgr 1 Single Server, Distributed Bus, or Cluster Dynamic routing across servers -- Messages traverse the bus with no change to end applications. Clustering -- Workload can be balanced across a network of queue manager. “Universal Connectivity” Multi-platform APIs -- MQI AND JMS in one 43+ systems -- Supports more platforms than any other messaging system Rich language choices -- C, C++, COBOL, .NET, VB, RPG, Perl. 4 Program B Queue 1 Q Mgr 2 Program B Q Mgr A Q Mgr A Q Mgr A Q Mgr A Program A ? Queue 1 Q Mgr 3 Program B Clustered Systems Queue 1 Q Mgr 4 Program B Queue 1 © 2004 IBM Corporation Application Programming… Program A MQCONN MQI MQGET MQPUT MQCLOSE MQPUT1 MQOPEN C, C++, C#, Java, PL/1, MQDISC ASM, TAL, RPG, VB, MQCONNX COBOL, Perl, SmallTalk, LotusScript, REXX, … .Net MQINQ Java MQSET Message MQBEGIN Service MQCMIT MQBACK Queue Manager Queue Manager Object Process Object Queues 5 © 2004 IBM Corporation WebSphere MQ and High Availability System 1 System 2 Q Mgr 1 Q Mgr 1 Queue 3 Queue 3 Program B Queue 1 Other system components Program B Queue 1 Other system components High availability implemented by the operating environment • Primary/Secondary implementation model 6 © 2004 IBM Corporation WebSphere MQ Messaging Platforms OS/390, z/OS AIX Windows NT, 2000, XP, 2003 Windows: 3.1,95,98 Sun Solaris: Intel & SPARC HP-UX iSeries Compaq OpenVMS Compaq NSK Compaq Tru64 UNIX VSE/ESA Data General DG/UX Dynix/ptx NCR TPF + SCO: OpenServer, UnixWare + SGI IRIX + Pyramid DC/OSx 7 • NUMA-Q Sinix Linux (Intel, zSeries) PalmOS PocketPC OS Java Unisys 2200, ClearPath MCP Hitachi DOS VM + Apple MacOS + Stratus VOS + 4690 OS + Unisys A-Series + HP 3000 MPE/ix © 2004 IBM Corporation The Messaging Marketplace More than 15,000 WebSphere MQ customers 10 years experience in the reliable messaging space The de facto standard for reliable messaging Hundreds of business partners Even IBM business integration competitors use WebSphere MQ Significant WebSphere MQ expertise in the marketplace 8 © 2004 IBM Corporation Standards in WebSphere MQ Standards are very important to the market place as they allow for ease of integration and reuse. WebSphere MQ is rich in Standards. 9 Web Services (already available) MA0R, SOAP over WMQ Sender and listener support for Axis Host Web Services environment Sender and listener support for .NET Host Web Services environment JMS 1.1 is fully supported (JMS 1.0.2 supported) (already available) Including a pub/sub engine WMQ JMS always supported inside WAS and also in Web Logic New quality of service, non-persistent survive server restart SSL Supported (already available) © 2004 IBM Corporation File Transfer over WebSphere MQ Commerce Quest – PM4Data A third party product from CommerceQuest in the USA under a reseller agreement under the WebSphere brand 10 © 2004 IBM Corporation Managed Data Movement Source Platform MQSeries HTML/XML HTTP/S Managing Platform Target Platform Status MQSeries Queue Queue Manager Manager MQSeries Channel PM4DATA PM4DATA File File End-to-end detailed transfer status 11 © 2004 IBM Corporation End-to-end Transfer Status 12 © 2004 IBM Corporation When to use PM4Data To perform scheduled or ad-hoc centrally managed file transfers with assured delivery To message enable file based integration at the logical record boundary and deliver to a messaging application or Message Broker To optionally render the information in XML To enable file based integration for WBI Servers To allow for processing any file size without the 100MB WebSphere MQ limit To provide centralized Management and Monitoring for all participating platforms To exploit the WBI Message Broker Pub/Sub using RFH2 headers 13 © 2004 IBM Corporation Message Mediation 14 © 2004 IBM Corporation What is Message Mediation? Application Trader Name, Stock, Qty, Date, Price($) Application New York New Jersey Trader Name, Stock, Qty, Date, Price ($) Trader Name#Stock#Qty# Date#Price(£); Application London Application Leicester 15 © 2004 IBM Corporation What is Message Mediation? Application Trader Name, Stock, Qty, Date, Price($) Trader Name, Stock, Qty, Date, Price($) Application New York New Jersey WebSphere Business Integration Message Broker Trader Name#Stock# Qty#Date#Price(£); Trader Name#Stock# Qty#Date#Price(£); Application London Application Leicester 16 © 2004 IBM Corporation What is Message Mediation? Application Trader Name, Stock, Qty, Date, Price($) Trader Name, Stock, Qty, Date, Price($) Application New York New Jersey WebSphere Business Integration Message Broker <Trade> <TN> Trader Name </ TN> <Qty> NN </Qty> <Stock> SType </Stock> <Date> DD/MM/YY </Date> <Price> ££</Price> </Trade> Trader Name#Stock# Qty#Date#Price(£); Trader Name#Stock# Qty#Date#Price(£); Application Web Application London Application Leicester 17 © 2004 IBM Corporation WBI Message Broker Mini Agenda • The Logical Message Model • Message Flows • Message Manipulation Then… System Architecture / Examples 18 © 2004 IBM Corporation Mini Agenda - Three Constructs To Examine 1. The Logical Message Model 2. Message Flows 3. Message Manipulation Then… System Architecture / Examples 19 © 2004 IBM Corporation Constructing a Logical Message Physical Representation Logical Representation XML format message <Trade> <TN> Trader Name </ TN> <Qty> NN </Qty> <Stock> SType </Stock> <Date> DD/MM/YY </Date> <Price> ££ ££</Price> </Trade> Trade Msg Name Stock TradeDateTime Delimited format message Name Stock Trader Name#Stock# Qty Date Price(£) Qty#Date#Price(£); ID Price Quantity . . . 20 © 2004 IBM Corporation Logical Message Model Physical MQMD Other headers Travel Request Message Data Logical Root Properties MQMD Other headers Body Travel Request Message # of Travellers Destination Dates Car Required Hotel Traveller Details Last Name Start Date End Date Choice 1 Choice 2 First Name Address Choice 3 House # Street Town Postcode Root.Body.TravelRequestMessage.TravellerDetails[4].Address.House# 21 © 2004 IBM Corporation Mini Agenda - Three Constructs To Examine 1. The Logical Message Model 2. Message Flows 3. Message Manipulation Then… System Architecture / Examples 22 © 2004 IBM Corporation Message Flows Failure Input Write to DB Transform 23 Server Application 1 Server Application 2 © 2004 IBM Corporation 24 © 2004 IBM Corporation Message Flow Development with Processing Nodes MQInput Compute Aggregate Request Extract Aggregate Reply MQeInput SCADAInput ResetConent Descriptors XMLTransformation HTTPInput Mapping Real-timeInput Check Real-timeOptimizedFlow Aggregate Control Database DataInsert DataDelete DataUpdate MQOutput RouteToLabel MQReply Label Publication MQeOutput SCADAOutp ut HTTPReply HTTPRequest MQOptimizdFlow 25 Warehouse NEONRulesEvaluation Throw NEONFormatter TryCatch FlowOrder Filter NEONTransform NEONRules NEONMap Trace User/Third Party © 2004 IBM Corporation Complex (Composite) Event Processing with the WBI Broker CEP Nodes Scenarios: Stock Trading Automatic identification of buy/sell opportunities. CEP Situation Manager Compliance Checks Sarbanes-Oxley detection. Fraud Detection Odd credit card purchases performed within a period. CRM "Events in several forms, from simple events to complex events, will become very widely used in business applications during 2004 through 2008" --- Gartner July 2003 Alert if three orders from the same platinum customer were rejected. Insurance Underwriting Identification of risk. 26 © 2004 IBM Corporation Mini Agenda - Three Constructs To Examine 1. The Logical Message Model 2. Message Flows 3. Message Manipulation Then… System Architecture / Examples 27 © 2004 IBM Corporation Message Mapping 28 © 2004 IBM Corporation Mini Agenda - Three Constructs To Examine 1. The Logical Message Model 2. Message Flows 3. Message Manipulation Then… System Architecture / Examples 29 © 2004 IBM Corporation System Architecture / Examples WBI Message Broker Components Great Scalability Multithreaded Multiple CPUs WMQ Clustering Windows to Mainframe Configuration Manager Broker Adapter Adapter 30 © 2004 IBM Corporation ESB Connectivity Services Mediation Services Event Services Transport Services Transport Services Event Services Mediation Services Assured delivery Secure delivery Transactional delivery Manageable delivery Delivery replay Modifiable qualities of transport. Event detection Event triggering Event distribution Complex Event Processing (CEP). Routing Transport switching Programming model switching Transformation & content augmentation Customized communications. Supporting yesterdays, today’s… and tomorrow’s standards. 31 © 2004 IBM Corporation WebSphere Integration Reference Architecture Development Services Business Performance Management Services The ESB Interaction Services WMQ Process Services Information Services WBI MB Connectivity Services Partner Services Business Application Services Application and Information Assets Infrastructure Management Services 32 © 2004 IBM Corporation Next Steps To Explore ESB Participate in an Integration Architecture Workshop Attend an SOA/ESB Proof of Technology Visit the IBM ESB Web Site – www.ibm.com/software/integration/esb Order IBM Books or view online such as – “Implementing an SOA Using an ESB (SG24-6346)” IBM Products Manuals Conduct an ESB Integration Value Assessment Buy IBM Quickstart Services for ESB. Investigate IBM Training in the area of ESB 33 © 2004 IBM Corporation Thai Hindi Traditional Chinese Russian Gracias Thank Obrigado You Spanish English Arabic Brazilian Portuguese Danke German Grazie Italian Simplified Chinese Merci French Japanese Tamil 34 Korean © 2004 IBM Corporation