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
6
votes
2 answers

How can I configure CCSID value in my Queue Manager using "pymqi" Python library?

I'm currently developing an application which needs to connect a MQ Queue in order to have the queue saving message information inside another service. Once it's done, the service returns a result message through the MQ Queue and it is returned to…
6
votes
2 answers

How to connect to local MQseries queue using Python?

I am new to mqseries and I started with IBM WebSphere MQ curses. There are examples with MQ_APPLE and MQ_ORANGE queue managers. I have no problem with sending messages to local or remote queue with MQ Explorer, but I wanted to send such message from…
Michał Niklas
  • 53,067
  • 18
  • 70
  • 114
5
votes
3 answers

How to install pymqi in window 64-bit?

I am trying to install pymqi on windows 64-bit machine. "pip install pymqi" gives an error Collecting pymqi Using cached…
SDions
  • 59
  • 1
  • 2
5
votes
3 answers

libmqic_r.so: cannot open shared object file: No such file or directory, python

I just created a VM vagrant with centos, installed python2.7 and pip using Miniconda, installed pymqi using pip, created a test python file to see if my pymqi installation is correct : import pymqi print "hello..." but I got this…
Donia
  • 143
  • 1
  • 2
  • 10
4
votes
4 answers

Python calling a MQ broker and DBus

My Python is worse than my Chinese (I have never seen so many smiling faces than when I try to speak Mandarin), so I need a little help: I want something to listen to MQ (for topics specified in a configuration) and relay the message to dBus and in…
stwissel
  • 20,110
  • 6
  • 54
  • 101
4
votes
1 answer

Python pymqi : How to specify the message format for putting to a queue

I amd trying put a string message in MQ using pymqi, the code is as follows; import xml.dom.minidom as minidom import pymqi class PutMQ: def put_mq(args1): doc = minidom.parse(args1) queue_manager =…
Ravi K
  • 215
  • 1
  • 3
  • 13
3
votes
2 answers

IBM MQ python3 module?

Is anyone aware of an IBM Websphere MQ module compatible with python3? pymqi doesn’t seem compatible and the author seems unconcerned with that fact.
Rich Homolka
  • 1,805
  • 2
  • 13
  • 13
3
votes
1 answer

PyMQI for windows build & install

I need PyMQI on my windows 86x. I try to build setup.py with msvc as compiler But when i try to do it I get the following errors: C:\Python27\Lib\pymqi-1.5.4>python setup.py build client Building PyMQI client 32bits running build running…
user3802744
  • 39
  • 1
  • 3
2
votes
1 answer

Pymqi - Connecting to IBM mq with SSL

I am able to connect to IBM mq through Pymqi using installed MQ client v9 on my Linux machine. There is requirement of connecting through SSL. How should I create key repository for two way TLS(mTLS)?
Vishnu
  • 33
  • 1
  • 6
2
votes
3 answers

ImportError: DLL load failed while importing pymqe: The specified module could not be found

I am trying to set up an Websphere MQ Client and PYMQI on python to send/receive messages via Queue. Environment variables have been automatically set too. I had installed IBM MQ CLient V8.0.11 and there were not issues during. Then, I proceeded to…
Aakaash
  • 31
  • 4
2
votes
2 answers

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

I'm trying to set up IBM MQ and pymqi on my macbook. MQ is done via docker, no issues there. I've installed the IBM MQ from https://developer.ibm.com/messaging/2019/02/05/ibm-mq-macos-toolkit-for-developers/ and followed the instructions. I pip…
1
vote
0 answers

Did someone succeed to have pymqi installed under Cygwin with python3.6

I need to run pytest with pymqi under Cygwin in my Windows environment, the windows MQ lib are installed, and I was using some pip options to make the compiling processus finding the include and lib folder ... like : pip install…
igerard
  • 66
  • 5
1
vote
0 answers

Symbol not found in flat namespace '_MQBACK' (Python3.9 - MacOS 12.1 Silicon)

Installing pymqi in a MacOS M1 Pro 12.1 Monterey, Python 3.9.9 in a virtualenv and the usual suspect appeared again: Traceback (most recent call last): File "/Users/a.gounaris/.virtualenvs/mxhub39/lib/python3.9/site-packages/pymqi/__init__.py",…
Agoun
  • 334
  • 3
  • 11
1
vote
1 answer

Changing pymqi over to bindings mode

I have installed pymqi on Windows 10 using pip:- pip install pymqi I now understand that this locks in the pymqi interface to use mqic libraries and not mqm. According to this thread from 2018, the default was going to be changed to use mqm…
Morag Hughson
  • 7,255
  • 15
  • 44
1
vote
0 answers

Connect to IBM MQ (on-perm) from AWS Lambda (Python)

Has anyone tried publishing a message to IBM MQ (hosted on-perm) from AWS Lambda (Python)? I just wanted to check if it is possible and if there is a recommended approach, please let me know.
user12842828
  • 31
  • 1
  • 5
1
2 3 4 5 6