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
0
votes
0 answers

How to fix error after creating exe with Pyinsaller?

After creating the file exe, the following error is displayed. This problem may be related to the TCP/IP protocol. I don't quite understand what the mistake is. Traceback (most recent call last): File "list_queue.py", line 56, in File…
shevaa
  • 17
  • 1
  • 5
0
votes
0 answers

MQRC_ENVIRONMENT_ERROR on commit

I'm experiencing an issue while trying to use pymqi to send messages to IBM MQ. A project i'm working on Reads from DB2 Prepares data for WorkerProcess WorkerProcess does some decision based on that data and sens a message to MQ When the…
Tawcharowsky
  • 615
  • 4
  • 18
0
votes
0 answers

MQClient in Docker

I have a Windows grp and added a user to that grp to connect to MQ. I'm using this user (userID in the below code) in my python code to connect to a remote MQServer. The Docker file uses ubuntu image as base image. Could anyone please let me know…
testbg testbg
  • 193
  • 2
  • 11
0
votes
1 answer

pymqi correlId length

I work with pymqi, version 1.12.0 I tried to put msg with correlId into a queue, when I get back the msg, I recived just part of the correlId (first 24 chars). I saw that the length of the correlId defined under CMQC: MQ_CORREL_ID_LENGTH=24 How can…
reut
  • 41
  • 7
0
votes
2 answers

How Get a list of MQ queues pymqi?

You want to get a list of the queues for a specific queue manager. I seem to understand how to do this, but when I try, I get an error. Traceback (most recent call last): File "D:/project/Work-Project/queue list.py", line 23, in response =…
shevaa
  • 17
  • 1
  • 5
0
votes
0 answers

how to solve error: MQSCO wrong size error in pymqi

we use an old pymqi version and now we want to upgrade to 1.10.1 version. after installing the new files, we get an error while trying to connect_with_option. the error is: MQSCO wrong size. Given 560, expected 544 (we use linux, 64 bit) Do you know…
reut
  • 41
  • 7
0
votes
1 answer

AWS (amazon web service) Lambda function with IMB MQ python module pymqi (No module named 'pymqe')

i have problem with setting up python script on aws lambda function for IBM MQ client. The things I did: I install IBM MQ client on Ubuntu linux server and there I installed pymqi with pip install pymqi I zipped MQ installation path (/opt/mqm) and…
jan
  • 49
  • 9
0
votes
0 answers

why pymqi won't install if MQ client is installed on centos 7?

I am trying to install pymqi using docker. The mq client is installed on /opt/mqm. The output I get is the following one. It says there is a library missing, called cmqc.h Can you tell me what is wrong ? This is a linux CENTOS 7. The mq client is…
0
votes
0 answers

IBM Stats subscription topic always returns Reason 2033: FAILED: MQRC_NO_MSG_AVAILABLE

I am attempting to port some old java code to python. I am using pymqi to connect to a queue manager and query for all messageflow statistics topics using the topic string: $SYS/Broker/+/StatisticsAccounting/Archive/# When using the existing java…
smc87
  • 35
  • 5
0
votes
0 answers

How to control UserID in pymqi?

Got a trouble: IBM MQ Server v9.1.0.0 pymqi==1.11.1 When trying connect to server got an error: pymqi.MQMIError: MQI Error. Comp: 2, Reason 2035: FAILED: MQRC_NOT_AUTHORIZED When I check traffic in Wireshark i got that: And in server log…
0
votes
0 answers

Docker compose IBM MQ with pymqi

I would like to use docker-compose to start an IBM MQ server and a Python "pymqi" client connecting on server. To achieve this, I wrote three Docker containers: cpython, pymqi and application. application is based on pymqi itself based on cpython…
Richard Dally
  • 1,432
  • 2
  • 21
  • 38
0
votes
1 answer

IBM Message Queue using PYMQI and Correlation ID

I recently inherited a testing framework using PYMQI to put a message on IBM Websphere Queue. I fixed most of the code i need by going through this…
Aravind R
  • 716
  • 1
  • 10
  • 36
0
votes
0 answers

how to compile pymqe.c for Python3?

I managed to process module pymqe.c into pymqe.pyd for Python2 using VC 2017 compiler and my own make file. Unfortunately, it doesn’t work for Python3. If I try compile module pymqe.c from pymqi-1.9.3.tar.gz in the same way, the linking step fails…
lvs64
  • 13
  • 7
0
votes
0 answers

PyMQI bad consuming performance with persistence

I'm testing the performance of IBM MQ (running the latest version in a local docker container) I use a persistent queue. On the producer side, I can get higher throughput by running multiple producing applications in parallel. However, on the…
zwush
  • 75
  • 2
  • 9
0
votes
0 answers

Unable to connect to pymqi windows 64bit - Connection broken

I am getting the below error while connecting to IBM MQ using library pymqi. Its a clustered MQ channel AMQ6235: Directory 'U:' missing. Traceback (most recent call last): File "postToQueue.py", line 425, in qmgr =…