Questions tagged [pymqi]

PyMQI is a Python client to IBM MQ (formerly WebSphere MQ and MQSeries)

PyMQI is a Python client library for IBM MQ. It lets one build MQ applications in Python - both messaging and administration ones. A wide range of usage example lets one get started very quickly.

PyMQI can connect remotely to queue managers running on all major MQ platforms - Linux, Windows, z/OS, z/Linux, AIX, HP-UX and Solaris. It can be also compiled on all Linux, UNIX and Windows versions.

The library runs under Python 2.7 and 3.5+ and has been used in production by hundreds and thousands of organizations for 15+ years.

Its open-source license allows one to use it in open or proprietary projects. Commercial and community support are available.

Links

82 questions
1
vote
1 answer

pymqi.connect failing with error 2059 MQRC_Q_MGR_NOT_AVAILABLE on linux

We are setting up client app on linux to connect to remote mq on IBM i (old name- iSeries/AS400). mq client on linux on ppc64le server mq manager, channel & queue on IBM i (old name iSeries) python 3.7.3 First pymqi.connect was failing with error…
nads
  • 71
  • 1
  • 7
1
vote
2 answers

PY3MQI. AMQ9627 when use sco.CertificateLabel and os user does not match certificate label user

Original issue: https://github.com/dsuch/pymqi/issues/181 Hello! My MQ client version is 9.0.0.3-IBM-MQC-LinuxX64 Applications works in container, orchestra is Openshift 3.0. Cert reqs was created by the following command: runmqckm -certreq -create…
Денис
  • 23
  • 5
1
vote
1 answer

Can not connect to the public queue using SSL via pymqi version for python 3

I’ve managed to establish a connection to a public queue with the older pymqi version for Python2 using the following python code: import logging import pymqi logging.basicConfig(level=logging.INFO) queue_manager = 'QM1' channel =…
lvs64
  • 13
  • 7
1
vote
0 answers

Unable to connect to the PYMQI Client facing FAILED: MQRC_ENVIRONMENT_ERROR

I am getting the below error while connecting to IBM MQ using library pymqi. Its a clustered MQ channel Traceback (most recent call last): File "postToQueue.py", line 432, in qmgr = pymqi.connect(queue_manager, channel,…
1
vote
2 answers

Unable to install pymqi or py3mqi

The pip install py3mqi fails with the following error. (mq) C:\Temp\>pip install py3mqi Collecting py3mqi Downloading https://files.pythonhosted.org/packages/5a/b7/cbe684e6a2a7f00dee116392d38c17c03b8281a8b5a021b655833233de26/py3mqi-1.6.0.tar.gz…
GeoGeek
  • 13
  • 4
1
vote
1 answer

pymqi on macos Library not loaded: @rpath/libmqic_r.dylib pymqe

I am running on macOs Mojave and developing a Python project with Intellij. Running it produces this error: ImportError: dlopen(/Users/guilhermemarcondes/IdeaProjects/ODOO_ENV2/lib/python3.6/site-packages/pymqi/pymqe.cpython-36m-darwin.so, 2):…
1
vote
1 answer

How to configure python program connect QUEUE MANAGE?

I'm write a new program, and want to connect to queue manager. how do I configure in python program?
Kevin.Wu
  • 13
  • 2
1
vote
0 answers

How to insert compressed byte message on IBM MQ using python? (I've tried PYMQI and Spring Python)

I'm testing an application which accepts the compressed messages over IBM MQ. This requires me to send compressed (.zip) message on IBM MQ with custom jms property as Compressed = Y I am struggling with 2 issues - How to load a .zip message in…
Agam
  • 21
  • 3
1
vote
1 answer

Unable to connect to IBM MQ using pymqi

I am getting the below error while connecting to IBM MQ using library pymqi. Its a clustered MQ channel pymqi.MQMIError: MQI Error. Comp: 2, Reason 2539: FAILED: MQRC_CHANNEL_CONFIG_ERROR Please see my code below. queue_manager = "QMNAME" channel…
yasin mohammed
  • 461
  • 2
  • 10
  • 26
1
vote
0 answers

pymqi is using shell user instead of the one setup in the code

I'm trying to setup a script to check statistics in IBM MQ using python with the pymqi module. The problem is that it looks like the connection does not use the username I have provided in the script. It looks like the user is trying to use the…
MDK
  • 11
  • 2
1
vote
1 answer

How do I force Python PyMQI 1.2 to use my GCC compiler when I build it?

When I run the following command on AIX 6.1 to build PyMQI 1.2: python setup.py build server I get the following error: Building PyMQI server 32bits running build running build_py running build_ext building 'pymqe' extension cc_r -qlanglvl=extc89…
David
  • 14,047
  • 24
  • 80
  • 101
1
vote
1 answer

How to connect to IBM MQ in Python with CCDT file, userid and password

I am able to connect to TDE MQ using CCDT file with User id and password in Java. I am unable to do that in Python. In Python I have set the environment variable for MQCHLLIB and MQCHLTAB, but when I try to connect using pymqi.connect, I am getting…
SwapnilPuri
  • 41
  • 1
  • 9
1
vote
1 answer

How does pip know what compiler to use when building a native code extension?

I have both Visual Studio 2017 Community and TDM-GCC both installed on my Windows 10 box. Everything is 64-bit. I've been trying to pip install pymqi, but so far I haven't had much luck. Without going into too many irrelevant details, I'm trying…
1
vote
1 answer

MQ Client to use with Python that does not require installing

I am looking for an MQ Client to use with Python \ Jython. Looking for a stand-alone program so that I dont have to install anything in the machine I am running as it may have to be run on multiple machines. So I guess Websphere is ruled out. Want…
RajeshS
  • 71
  • 1
  • 9
1
vote
1 answer

Pymqi throws exception ImportError at library import

I'm getting strange ImportError exception while importing to my script pymqi. I installed WebSphere MQ for windows 7.5, both user and client versions. I tried to run pip install pymqi, but there was problems at C++ compiling. I moved headers from…
Arkady
  • 2,084
  • 3
  • 27
  • 48