Author |
Message
|
wfudeac92 |
Posted: Wed Nov 15, 2006 6:01 am Post subject: Question about the MQ 6.0 .NET classes. |
|
|
Novice
Joined: 24 Apr 2006 Posts: 21
|
Does anyone know whether or not the .NET MQ classes contain unmanaged code? For example, if I access the MQ .NET APIs through a .NET ServicedComponent running in COM+, do I need to call Marshall.ReleaseCOMObject() instead of calling Dispose()? I am hoping that the IBM code in amqmdnet.dll is cleaning up resources correctly if there is unmanaged code being used. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 15, 2006 7:05 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Depends on the version. The older versions of the .NET API are just a wrapper around the C code.
The latest version I believe is written entirely in .NET managed code.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 15, 2006 7:08 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The latest FP of v6 (FP3) includes a fully managed client connection option.
Server bindings are unchanged.
I do not know if the "managed client" option has anything to do with the "managed code" portion of this question. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 15, 2006 7:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Thanks for setting me straight Jeff  _________________ MQ & Broker admin |
|
Back to top |
|
 |
wfudeac92 |
Posted: Wed Nov 15, 2006 7:24 am Post subject: |
|
|
Novice
Joined: 24 Apr 2006 Posts: 21
|
I thought we were only up to CSD2 for the MQ Client for Windows? Is there a CSD3? |
|
Back to top |
|
 |
JasonE |
Posted: Wed Nov 15, 2006 8:50 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
My understanding is that although the 5.3 (and 6.0 by default) classes call through to the C layer, it should not make any changes to the application to handle this, ie normal disposing rules apply.
For v6 dont get confused trying to have a sequential 1,2,3... fixpack or csd notation, its gone 4 digit and its best to refer to the whole 4 digits.
At 6.0.2.0 there is a fully managed option which builds and sends the flows to the server itself - note it may still call through to the C code however for some common services functions (eg. trace) and its not supported standalone (ie outside of an MQ installation). |
|
Back to top |
|
 |
wfudeac92 |
Posted: Wed Nov 15, 2006 10:24 am Post subject: |
|
|
Novice
Joined: 24 Apr 2006 Posts: 21
|
Ok thanks for the tip. I am in the process of installing 6.0.2.0. The application that I am working on will actually connect to queues that run on a UNIX server through the MQ client. I do not have WebSphere running on the same box. |
|
Back to top |
|
 |
|