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

Installing the pymqi packages using python throwing an error

when trying to install Pymqi packages using pip. I'm getting this error. Collecting pymqi Using cached pymqi-1.12.10.tar.gz (91 kB) Installing build dependencies ... done Getting requirements to build wheel ... done …
0
votes
0 answers

Unable to get Queue Exclude Filters working as expected

I'm able to successfully connect to Queue Managers and pull back Queue data but I'm struggling getting the Queue filters working properly. I want to provide multiple exclude filters but it appears only to honour the last entry, even though the docs…
Remy
  • 49
  • 9
0
votes
1 answer

How do I set the application name when connecting to IBM MQ using pymqi?

I have a Python client application that consumes from an IBM MQ queue. We are using the pymqi client, with MQCNO_CLIENT_BINDING and MQCNO_RECONNECT options specified so MQ can balance multiple instances of the clients across queue managers in an MQ…
Jim
  • 119
  • 4
  • 14
0
votes
0 answers

How can I get IBM MQ dead letter queue header with pymqi

[pyqmi] How can I retrieve IBM MQ dead letter queue header with pymqi package. I found an old discussion in 2012 (https://answers.launchpad.net/pymqi/+question/176164), but after checked github project and don't see any similar feature. import…
Ivis
  • 1
0
votes
0 answers

What to do in a PyMQI program that does an IBM MQ PUT to remotely connect via the MQSERVER environment variable?

[pymqi] What to do in simple program that does an IBM MQ PUT to remotely connect via the MQSERVER environment variable? . Hello! I am able to find short samples that use PyMQI and the connect method has hardcoded the name of the queue manager, the…
0
votes
2 answers

Python Application is unable to connect to IBM MQ Qmgr using ssl - Using pymqi library

Note: I am running my python script on the same MQ Server. I am able to connect to Qmgr with one way ssl. cd = pymqi.CD() cd.ChannelName = channel cd.ConnectionName = conn_info cd.ChannelType = pymqi.CMQC.MQCHT_CLNTCONN cd.TransportType =…
Vishnu
  • 16
  • 4
0
votes
1 answer

Can pymqi tell me if a connection has been established from a particular address to a queue?

Effectively, I need to monitor a queue and swap over its consumer to a stub when the actual consumer is disconnected for a length of time. I think I can get by by just seeing what IP addresses are connected to the queue in question. I've gone…
0
votes
1 answer

IBM MQ Listener using PyMQI/Python

Hi has anyone created a message listener using IBM MQ/PYMQI using Python? I am able to queue and put messages on a channel using PyMQI, but I am unsure if there is a way to create a listener from it that can get messages in realtime. Has anyone…
soniccool
  • 5,790
  • 22
  • 60
  • 98
0
votes
1 answer

JMS Library - Robot Framework Install

I'm looking for some library that connects the robot framework with MQ IBM. I found a lib called JMS. However, I didn't find any link that displays pip install robotframework... Could someone tell me what is the name I add to do the…
evojd
  • 21
  • 5
0
votes
1 answer

No matching distribution found for pymqi==1.12.0 even if the version is on the list

I'm getting "No matching distribution found" error even though the version that I asked for is in the list suggested by pip. Has anyone faced this problem before ? I am using Python 3.6.8 and pip 21.3.1. $ python -m pip install…
Aymen
  • 841
  • 1
  • 12
  • 21
0
votes
1 answer

Unpack for type ((67108864,)) not implemented

I'm trying to query an MQ server running on IBM i from a python script on a linux box. I'm getting this error back from pymqi and I don't know what it means. The stacktrace is as follows: [{"message": "Unpack for type ((67108864,)) not…
hithwen
  • 2,154
  • 28
  • 46
0
votes
0 answers

How to get Message Id in Py-MQI

I want to see Message ID (MsgId) of a MQ message while doing a MQ GET call through Py-MQI. Below is my code but , I am not able to see the Message ID. import pymqi queue_manager = 'QM01' channel = 'DEV.SRVCONN' host = 'mqtest' port =…
CRP
  • 9
  • 2
0
votes
0 answers

Get call is showing MQ messages with few other chracters

I am writing simple program to read messages from MQ but looking few more other characters along with message. The message is prefixed by "b" & appearing within quotes. eg: Message in MQ is: {"vaultToken":"2223008965840750"} After read its written…
CRP
  • 9
  • 2
0
votes
2 answers

QueueManager.close() using pymqi

we start using pymqi instead of the java implementation. in java we had the option for 'QueueManager.close()'. is there an option to close the queue manager using pymqi? I saw that inside __ del __ function we close the queue manager and then call…
reut
  • 41
  • 7
0
votes
0 answers

PYMQI with IBM MQ Client Docker Container

I have created the docker file where i am using IBM MQ Client library to install before installing the pymqi. But i see my docker image size become large like 4GB. Is there anyway to find unused files and remove? Also, is there any lighter version…
user1591156
  • 1,945
  • 4
  • 18
  • 31