Author |
Message
|
zpat |
Posted: Thu Jan 08, 2004 7:17 am Post subject: APIs for .NET ? |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Can someone list me the available MQ APIs, and which is recommended for an MQSeries application written for .NET ??
Also where I would find the appropriate software if it's not supplied with MQ 5.3 (client probably, maybe server).
Also any sample .NET code (VB would be ideal).
BTW - it must be a formally supported (by IBM) implementation.
Last edited by zpat on Thu Jan 08, 2004 7:50 am; edited 1 time in total |
|
Back to top |
|
 |
JasonE |
Posted: Thu Jan 08, 2004 7:44 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
.net api is included in fixpack 5 for 5.3, so use that. It ships with examples for c#, c++ and vb (real .net plus the same as the older activex interface). |
|
Back to top |
|
 |
zpat |
Posted: Thu Jan 08, 2004 7:52 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
OK, so I need to install MQ 5.3 client and apply fixpack 5?
Or can I just extract it from the fixpack?
Will it operate with any level of MQ or only 5.3 fixpack 5 and above?
Is there an IBM manual online anywhere or does it come with the FP?
Do you have a URL for the fixpack? Thanks |
|
Back to top |
|
 |
JasonE |
Posted: Thu Jan 08, 2004 8:10 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
I believe it goes with the client as well, not sure. As part of the install you get a new directory tools\dotnet\samples\{cs/vb/cpp}. You also get a manual, csqzav01.pdf which is put in the MQ install dir, plus instructions in the memo.ptf on what you need to do to register the dll into the global assembly cache (or alternatively config files to prevent you eeding to do this).
This support will not work with earlier levels of WMQ as it makes calls into the internals of MQ/ It prereqs the 1.1 framework.
Fixpack5 - https://www6.software.ibm.com/dl/wsmqcsd/wsmqcsd-p |
|
Back to top |
|
 |
zpat |
Posted: Thu Jan 08, 2004 8:19 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Thanks.
Do you know whether this .NET support would work if we use an MQ client 5.3 CSD 05 connected to a MQ queue manager at a lower level (such as 5.2) and maybe even to an OS/390 queue manager?
In other words does the QM have to be 5.3 CSD05 or just the MQ client?
In case we can't move to this level - what would be the second best option for VB .NET code to use to connect to MQ? |
|
Back to top |
|
 |
JasonE |
Posted: Thu Jan 08, 2004 8:46 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Any client will connect to any server, so this will work just fine. Just dont try using any of the new 5.3 functionality (like ssl etc), as the clients negotiate what each end support.
There is an unsupported version of the .net as a support pack and this might work with 5.2, but it is missing all the fixes which came out as a result of it being productized.
Your best bet is the 5.3 csd05, but the alternative I guess would be to use com calls to the mqax200 interface. Or code in Java or C and not VB  |
|
Back to top |
|
 |
|