ibm-messaging / mq-golang

Calling IBM MQ from Go applications
Apache License 2.0
167 stars 60 forks source link

MQ 7.x #188

Closed sebgoa closed 1 year ago

sebgoa commented 2 years ago

Is there a compatibility mode in this library that could make it usable with a MQ 7.2 instance ?

ibmmqmet commented 2 years ago

You cannot compile this code against a V7.2 installation. As the README states, the lowest level for compilation is V8 (though even that version of MQ has been out of support for a number of years).

You can work with a later level of MQ client connecting to a V7.2 qmgr - that's standard MQ cross-version compatibility.

sebgoa commented 2 years ago

7.2 is very very old yes.

We have code that communicates very well with a 9.2 version but for some reason we ran into a 7.2 instance.

Do you think that if we compiled this library with v8 it would work with a v7.2 instance ?

ibmmqmet commented 2 years ago

As i said, all versions of MQ can interoperate. You can connect a V9.3 client to a V7.1 qmgr. Of course, things like a TLS connection might not work because of different cipher availability. And whether your program actually works will depend on if it uses any features that only came in later.

That's the kind of thing that is better answered by simply trying it.

sebgoa commented 2 years ago

English is not my first language so you have to excuse me if I don't understand you right away.