Académique Documents
Professionnel Documents
Culture Documents
Lauranette Wheeler
lauranet@us.ibm.com
MQ V7 Client Enhancements
This presentation will cover the new client
enhancements introduced in MQ V7.0 and V7.0.1.
2 of 56
Agenda
MQ V7.0 Enhancements
Conversation Sharing
Client Connection Limiting
Connection Groups
Message Properties
New MQ APIs
3 of 56
Agenda
MQ V7.0.1 Enhancements
Multi-Instances Queue Manager
Automatic Client Reconnect
Enhanced SSL Security
Enhanced .NET support
4 of 56
Agenda
MQ V7.0.1 Enhancements
Log Compression
GROUP Units Of Recovery
Generic Application Structure Backup
Admin Structure Recovery
5 of 56
Conversation Sharing
Multiple instances of an MQI channel can be made to share a
single TCP/IP connection.
6 of 56
Conversation Sharing
Server
Client
MQCONN
MQOPEN
MQPUT
Q1
MQCONN
MQOPEN
MQPUT
MQCONN
MQOPEN
MQPUT
Q2
Q3
One socket for n conversations
Socket is bi-directional
Heartbeats occur at all times
7 of 56
Conversation Sharing
New SHARECNV channel attribute
0 All sharing is off ; channel operates in MQ V6 mode
1 Sharing is off; channel still operates in MQ V7 mode
>1 Channel sharing up to negotiated value.
Value negotiated down. Default 10.
equivalent to SHARECNV(1)
MQCNO_ALL_CONVS_SHARE (default)
8 of 56
9 of 56
10 of 56
Connection Groups
New Client Channel attributes
Workload Balance selection of client channel definition in the CCDT
CLNTWGHT
preference
NONE - workload balance channel selection
11 of 56
mars
40%
venus
20%
MQCONN(*planet)
pluto
Name
CHLTYPE
TRPTYPE
CONNAME
QMNAME
CLNTWGH
T
AFFINITY
chl1
CLNTCONN
TCP
ip.mars
planet
PREFERRED
chl2
CLNTCONN
TCP
ip.venus
planet
PREFERRED
chl3
CLNTCONN
TCP
ip.pluto
planet
PREFERRED
12 of 56
Message Properties
The MQ V6 JMS client stores some JMS properties in an
MQRFH2 header in the message payload.
13 of 56
Message Properties
A V7 application can choose how to have the properties returned
to the applicaiton :
MQGMO_PROPERTIES_IN_HANDLE return the properties in
a message handle
MQGMO_PROPERTIES_FORCE_MQRFH2 return the
properties in an MQRFH2.
MQGMO_NO_PROPERTIES remove all properties before
giving to the application.
MQGMO_PROPERTIES_COMPATIBILITY if a V6 JMS
property is set then all properties are returned in an MQRFH2
otherwise all properties will be removed.
If none of the above are specified then the PROPCTL queue
attribute determines how the properties should be returned.
Compatibility mode is the default.
14 of 56
15 of 56
Message Selectors
An additional advantage is that message properties can be used as
extra criteria when selecting specific messages.
16 of 56
17 of 56
18 of 56
The application does not need to 'guess' the size of the buffer. The
system will pass the application a message already in a buffer.
19 of 56
20 of 56
21 of 56
22 of 56
Read-ahead of messages
Read Ahead is a recognition of the fact that a large proportion of the
23 of 56
Read-ahead of messages
Use the new CLOSE option MQCO_QUIESCE to gracefully end an
24 of 56
WebSphere MQ
V7.0.1
25 of 56
Agenda
MQ V7.0.1 Enhancements
Multi-Instances Queue Manager
Automatic Client Reconnect
Enhanced SSL Security
Enhanced .NET support
MQ V7.0.1 Enhancements
Log Compression
GROUP Units Of Recovery
Generic Application Structure Backup
Admin Structure Recovery
26 of 56
27 of 56
28 of 56
You must run successfully run all three tests on both machines to avoid
problems
This diagnoses when the file system doesnt follow the POSIX specification
If this tool fails, a queue manager created using the directory will NOT work
correctly.
29 of 56
30 of 56
31 of 56
32 of 56
33 of 56
34 of 56
Threaded client
MQRC_ENVIRONMENT_ERROR
SHARECNV non-zero
MQRC_ENVIRONMENT_ERROR
35 of 56
36 of 56
37 of 56
MQRC_RECONNECT_FAILED
MQ failed whilst attempting to reconnect your connection
MQRC_RECONNECT_QMID_MISMATCH
MQ reconnected your connection, but didn't find the queue
manager it was expecting
MQRC_RECONNECT_Q_MGR_REQD
MQ reconnected your connection, but due to the type of objects
you have open it requires RECONNECT_Q_MGR to be specified.
38 of 56
39 of 56
40 of 56
OCSP requests and responses are sent over the HTTP protocol.
HTTP is the only protocol supported in MQ.
41 of 56
42 of 56
43 of 56
i5/OS
z/OS
Java and JMS clients
44 of 56
Queue
SSL
JSSE
manager
SSL library
After a certain number of bytes have flowed then the SSL secret key is
renegotiated.
Both the client and server-side SSL library must support a compatible
version of the secret key reset protocol.
45 of 56
46 of 56
1
2
3
47 of 56
WCF Service
Application
Protocols..
Protocols..
Message
Encoder
Message
Encoder
WMQ
Transport
WMQ
WMQ
Transport
48 of 56
49 of 56
50 of 56
51 of 56
MQ Version 7.0.1 the first queue manager started can rebuild the
admin structure for other members of the queue sharing group as
well as its own.
52 of 56
53 of 56
Access key product show-me demos and tutorials by visiting IBM Education Assistant:
http://www.ibm.com/software/info/education/assistant
View a webcast replay with step-by-step instructions for using the Service Request (SR)
tool for submitting problems electronically: http://www.ibm.com/software/websphere/
support/d2w.html
54 of 56
Stay up-to-update on
upcoming webcast sessions
And More
Suggest program
improvements
55 of 56
56 of 56