You are on page 1of 32

Software Group

WebSphere Message Broker v6

Jonathan Woodford
jonathanw@uk.ibm.com

Message Broker Development

GSE Nordic WebSphere User Group 2006

© 2006 IBM
Corporation
Software Group | WebSphere Business Integration

Agenda

ƒ Broker Directions and Key Themes


ƒ Getting Started with Version 6
ƒ Platform coverage
ƒ Migration and Coexistence
ƒ Administration Improvements
ƒ Graphical Mapping
ƒ Java Compute Node
ƒ ESQL enhancements
ƒ Other New and Improved Nodes
ƒ Web Services
ƒ Message Modelling
ƒ Performance Improvements

What’s New in WebSphere Message Brokers Version 6 © 2005 IBM Corporation


WebSphere Message Broker – Key dates
ƒ June 2003 : Message Broker Version 5 released
ƒ Eclipse-based toolkit and repository

ƒ Incremental delivery of function via CSD and supportpacs


ƒ e.g. CICS, VSAM support

ƒ September 2005 : Message Broker Version 6 released


ƒ Focus on performance, usability and new feature function
ƒ Web Services requester/provider improvements, JMS interactions,
Java transformations

ƒ March 2006 : Message Broker Runtime Fixpack 01 released

ƒ August 2006 : Message Broker Runtime Fixpack 02 released

ƒ September 2006 : End of Service for WMQI V2.1

WebSphere Message Broker


WebSphere Message Broker - Directions and key
themes
ƒ Improved user experience
ƒ Install, migration and co-existence

ƒ Development skills and experience


ƒ Mapping, Java support, ESQL, debugging

ƒ Enhanced connectivity options


ƒ Flat-files, JMS interoperability

ƒ Enhanced performance
ƒ Parsers, ESQL, 64-bit support

ƒ Improved manageability
ƒ Command scripting, platform
and database coverage

WebSphere Message Broker


Getting Started
ƒ Simplified Launchpad and install
9 Available as download via Passport Advantage, CDs or on a single DVD per platform
9 Install alongside previous versions (2.1 and 5)
9 Single prerequisite product for development, unit test and PoC environments on Windows
• Websphere MQ (v5.03.0.1 or later)
• Broker database is required for production and non-Windows
9 Bound, hardcopy install guide included in product package

ƒ Improved “Default Configuration Wizard”


9 Fewer configuration options
9 Create (or remove) default configuration
9 Deploys and runs install verification samples
9 Launches into samples gallery

ƒ Comprehensive Samples Gallery


9 Get successful experience with MB technologies quickly
9 Technology (e.g. Java Compute Node, JMS nodes)
9 Application oriented samples (e.g. Data Warehouse)

WebSphere Message Broker


Simplified Launchpad

WebSphere Message Broker


Comprehensive Samples Gallery

WebSphere Message Broker


Getting Started with Version 6 Samples

WebSphere Message Broker


Platform coverage

Broker Configuration Toolkit


Windows 2000/XP/2003 Manager Windows 2000/XP
z/OS Windows 2000/XP/2003 Linux (Intel)
HP-UX z/OS
Solaris HP-UX
AIX Solaris
Linux (Intel+) AIX
Linux (Intel+)

’Complete Linux story for all components

ƒ Support for 64-bit Execution Groups (AIX, HP, Solaris)


ƒ Support for Oracle databases on Linux platform

WebSphere Message Broker


Flexible Migration and Coexistence

ƒ Simplified migration from v2.1 and v5

ƒ Single new command to migrate components


between versions
9 mqsimigratecomponents

ƒ V6 can be installed on the same machine and run


alongside all previous versions of the product
Domain V6 V6 V6
ƒ Domain coexistence compatible? Tooling Config Broker
9 Complete interoperability between v5 and v6 V5/V5.1 Tooling Yes Yes Yes
components V5/V5.1 Config Yes n/a Yes
9 V6 tools can manage v2.1 and v5 brokers
V5/V5.1 Broker Yes Yes Yes

ƒ The v6 broker can be migrated back to the V2.1 Tooling No No No


previous version (v2.1 or v5)
V2.1 Config No n/a No
9 Must not be using new v6 function
V2.1 Broker Yes Yes Yes

WebSphere Message Broker


Flexible Migration and Coexistence

ƒ V6 product is installed to a new location


9 Profiles are used (“Command Console” on Windows) to
select which MB v6 instance you are working with

ƒ Component names must still be unique on the machine


9 It is now possible to name Configuration Managers, and
have more than one running in each instance

ƒ The v6 mqsilist command can list all components on the


machine, or just those in the current instance

WebSphere Message Broker


Installing V6 alongside previous versions
(approach 1)

V2.1 or V5 Product Install V6 Product Install

V6 Command Console
mqsimigratecomponents BrokerA ConfigMgr

BrokerA ConfigMgr

Machine A’s File System

WebSphere Message Broker


Installing V6 alongside previous versions
(approach 2)

V2.1 or V5 Product Install V6 Product Install

BrokerA ConfigMgr BrokerB ConfigB

Machine A’s File System

WebSphere Message Broker


Improved Administration
ƒ New command line tools
9 Deployment (V5)
9 Start/Stop message flows
9 Create/Delete execution groups

ƒ Intelligent Resource Utilization


9 Queue and database handles
released during flow inactivity
9 Restart database without
restarting the broker

ƒ Java administration API


(“Configuration Manager Proxy”)

ƒ Runtime versioning

WebSphere Message Broker


Command Line Administration – New and Improved
New Improved
Improved
New

ƒ mqsimigratecomponents ƒ Password prompt option added to all relevant


commands:
ƒ mqsicreateexecutiongroup
mqsicreatebroker, mqsicreateconfigmgr,
ƒ mqsideleteexecutiongroup mqsicreateusernameserver, mqsisetdbparms
ƒ mqsistartmsgflow mqsichangebroker, mqsichangeconfigmgr,
mqsichangeusernameserver
ƒ mqsistopmsgflow
ƒ Revised database options for:
ƒ mqsibackupconfigmgr
9 mqsicreateconfigmgr
ƒ mqsirestoreconfigmgr
9 mqsichangeconfigmgr
ƒ mqsicreatedb
ƒ Supply Configuration Manager names to:
ƒ mqsideletedb
9 mqsicreateconfigmgr
ƒ mqsicreateaclentry
9 mqsichangeconfigmgr
ƒ mqsideleteaclentry 9 mqsideleteconfigmgr
ƒ mqsilistaclentry ƒ Improved readability for all command help
9 Better formatting
ƒ …or create your own!
WebSphere Message Broker
Configuration Manager Proxy API

ƒ A complete Java programming interface to the Configuration Manager

ƒ Administer domains programmatically


9 Brokers
9 Execution groups import com.ibm.broker.config.proxy.*;

9 Message flows public class CreateBroker {


9 Dictionaries public static void main(String[] args) {
ConfigManagerProxy cmp =
9 Subscriptions ConfigManagerProxy.getInstance(…);
9 Topology TopologyProxy topology = cmp.getTopology();
topology.createBroker(“MYBROKER”,”QMGR”);
9 Collectives }

9 Event Log }

9 Topics
9 Configuration Manager

ƒ Comprehensive samples and documentation provided

ƒ The same interface that is used by the Message Brokers Toolkit and various
commands
WebSphere Message Broker
Runtime versioning

ƒ V6 makes it easier to discover what has been deployed to your brokers


ƒ New fields associated with each deployed object
9Deployment time, Modification time, BAR file name, Version

WebSphere Message Broker


Improved Developer Productivity

ƒ Next Generation Mapping


9Spreadsheet development model
9Ability to debug mappings

ƒ Java compute node

ƒ ESQL enhancements

WebSphere Message Broker


The next generation of the mapping editor
ƒ Adopt a spreadsheet model for creating transformations …
… the user concentrates on the structural transformations not the
execution logic

1. Source definition

2. Target definition
2
3. Expression editor
May also be a
May be a message, message, element of
1 element of a message 4. Overview and editor
a message or a
or a database database
3
Support for all ESQL features and user
defined functions in ESQL or Java.

4 Script editor allows you to fine tune things


that lines and expressions can’t -- such as
mutually exclusive if-conditional
expressions

WebSphere Message Broker


2
Mapping editor: debug view

1. Set break- points

2. Step over

3. Inspect variables

4. Debug subroutines

1
3
4

WebSphere Message Broker


Java as a First Class Transformation Language
ƒ Offers a “Compute node” alternative for Java programmers
9Similar “look and feel”
9No ESQL skill or experience required

ƒ General purpose programmable node


9Java programming language
9Standards based - J2SE 1.4.2
9Offloaded processing on z/OS via zAAP

ƒ Extra convenience methods have been added


9The message tree can be queried and traversed using XPath 1.0 syntax
9Extensions to allow new elements to be created in message structure
9Also Provides full access to the existing Java plug-in API

ƒ Databases can be accessed via two supported routes


9JDBC type 4 drivers - standard Java, non-transactional
9MbSQLStatement - uses broker’s ESQL syntax, fully transactional

WebSphere Message Broker


Using the Java Compute Node
ƒ Full Eclipse Java experience
ƒ Eclipse Java editor provides built-in syntax assists

ƒ Select ‘Open Java’ and choose which template to use:


ƒ ‘Filtering message’ template
ƒ Allows you to look at the incoming message without changing it
ƒ ‘Modifying message’ template
ƒ Allows you to change parts of the incoming message
ƒ ‘Creating message’ template
ƒ Allows you to create and build a new message from scratch

ƒ Java class is a property of the node


ƒ Equivalent to the ESQL module in a compute node

public class jcn2 extends MbJavaComputeNode {


public void evaluate(MbMessageAssembly assembly)
throws MbException
{
MbOutputTerminal out = getOutputTerminal("out");
MbOutputTerminal alt = getOutputTerminal("alternate");
MbMessage message = assembly.getMessage();
// Add user code below

// End of user code


out.propagate(assembly);
}

WebSphere Message Broker


ESQL Enhancements
Improved support for creating DATETIME variables Broker Attributes
ƒ Simplify date/time constructions ƒ Allows flow designer to determine state (e.g.
9 DECLARE myDate DATE = DATE(2004, 03, 01); MessageFlowName, ProcessId, Family,
QueueManagerName, TraceActive)
Flexible Type Formatting 9 DECLARE myFlow CHARACTER =
ƒ Add FORMAT clause to CAST MessageFlowName;
9 SET myString = CAST(money AS CHAR FORMAT ƒ Matches attributes available in Java
"£#,###.00");
Handlers
ƒ Add support for CAST between INTERVAL and FLOAT
ƒ Run when error condition is detected
Cardinality functions
ƒ Provides more flexible and improved support for
ƒ Remove restrictions on CARDINALITY and EXISTS handling of errors
ƒ Add new SINGULAR function Stored Procedure enhancements
User Defined Attributes ƒ Single scalar return value
ƒ Attributes of a node that can be defined and given 9 CALL myProc1( int1, int2 ) INTO intRetVal;
values by the user ƒ Single/Multiple Results sets
ƒ Can be accessed by ESQL of a node (treated as 9 CALL myProc1( int1, int2, Environment.RetVal[],
constants) OutputRoot.XML.A[] );
9 DECLARE COLOUR EXTERNAL CHARACTER; Multiple Database Support
Dynamic database schema names ƒ Access to multiple databases from the same
ƒ Can exploit user defined attributes to allow Compute, Database or Filter node
schema/table names to be specified at deploy

WebSphere Message Broker


Messaging Processing Nodes: New and updated
ƒ Java Compute node New
New
ƒ Provides existing Compute
node capability for Java
programmers
ƒ Deploy Java JARs

ƒ TimerControl Node
ƒ Periodically start flows at Updated
Updated
preconfigured and ƒ Web Services
programmatic time intervals. 9HTTPS support
ƒ Aggregation
ƒ MQGET node
ƒ Can be used anywhere within 9MQ based implementation
a message flow, unlike an 9Delivers improved performance
MQInput node which can only ƒ XSLT
be used as the first node in a
message flow. 9Deployed style sheets
9Compiled style sheets
ƒ JMS Input/Output ƒ Publication
ƒ Native JMS Interoperability
9Support for Multicast PGM
WebSphere Message Broker
Web Services Support

ƒ Improved support for modelling and working with SOAP messages


9Pre-defined message definitions for SOAP
9Support for SOAP with Attachments (SwA) via new MIME parser

ƒ A mechanism for importing an existing WSDL definition


9A new WSDL importer wizard, accepting a variety of WSDL styles

ƒ More flexible protocol support


9Support for SOAP 1.1 and SOAP 1.2, and for HTTP 1.1, HTTPS

ƒ Built-in WS-I Compliance checking


9Automatically validates WSDL against the WS-I Basic Profile

WebSphere Message Broker


Message Modelling

ƒ Functional
9 WSDL importer for enhanced SOAP modelling
• Simplifies the calling of Web services from within flows
9 SOAP with Attachments (SwA) support
• Via new MIME parser
9 XML Schema enhancements (xsi:type, list, union)
9 Large message support
• Allows arbitrary parts of a message to be parsed or written
9 Pre-built message definitions are supplied for some common industry
message formats
• SOAP envelope, SOAP encoding, VSAM request, Timeout Request,
MIME
ƒ Performance
9 Significant improvement of broker implementation, no model changes
required
• Code optimizations
• TDS Parser rewrite

WebSphere Message Broker


z/OS Specific Enhancements

ƒ Full use of JES spool for consolidated


message output
ƒ Deployment audit trail messages
ƒ MVS dumps, not USS coredumps
9…when necessary(!)

WebSphere Message Broker


Other miscellaneous enhancements

ƒ RealTime/Multicast
9 PGM

ƒ Database
9 Unicode support

ƒ Publish Subscribe
9 Performance
9 Literal topic ‘+’ ‘#’ support

ƒ Solaris Scaling
9 Additional instances now scale effectively

ƒ Internal runtime changes


9 Overall performance improvement

WebSphere Message Broker


Significant Performance Improvements
• GA published reports show 50% average
Pe rce ntage Improv e me nt v s. V5 CSD 04 improvements on all platforms
• Lab Performance results show 47% to
67% increase in message throughput
(based on September drivers)
HP 67.17%
• Highlights are:
W indows 66.69% • Parser [up to 3x increase]
• Aggregation Node [up to 10x increase]
65.59% • ESQL functions [avg. of 2x increase]
Linux
• Customer feedback has validated
Solaris 63.01% improvements
• Migrated, unchanged V2.1, 5 flows
show expected gains
AIX 55.21%
• Performance report for each sample
z/OS 47.83% • Enables customers to validate tuning to
match the Lab results, eg
0% 20% 40% 60% 80% Message Routing Sample can run at
1700 messages a second using a 1k
Average of all tests message on Windows.

WebSphere Message Broker


Key SupportPacs and Offerings

ƒ Complex Event Processing


• Compliance checks, fraud detection, etc
ƒ Resend/Replay
ƒ CICS Request Node
• Executes a CICS External Call Interface (EXCI)
ƒ VSAM Nodes
• Reads and writes records from a VSAM data set
ƒ Message Broker File Extender
ƒ DataStage TX Extender
• Allows you to extend the range of message formats and protocols that
Message Broker can handle
ƒ MQ/MB Combined Administration

WebSphere Message Broker


Broker Summary

Message Broker v6 is a significant release:

ƒ Continues to deliver significant new function


ƒ Satisfies major customer requirements
ƒ Improves performance
ƒ Improves ease of use and flexibility

WebSphere Message Broker


Any Questions?

ƒ Please fill out an evaluation form

WebSphere Message Broker

You might also like