T
T
tegrato2018-07-23 09:48:37
linux
tegrato, 2018-07-23 09:48:37

What is the best way to pick up messages from the IBM MQ queue (server - Linux Debian 9)?

There is a queue server organized on iBM MQ 7.5.
What is the best way to take messages (archives) from one of its queues in order to further process them (unpack, copy the contents to the necessary directories and add records to the MySQL database)?

Conditions:
- there is only one queue;
- message = binary file (archive) in size from 1 to 10 Mb;
- number of messages: from 10 to 50 per day (possibly in the future to increase to 100);
- 1 worker

Options:
1) PHP (mq Client installed according to instructions https://skalolaskovy.ru/comp-various/529-linux-deb..., the problem is that the mqseries library lacks the appropriate wrappers for the IBM Websphere MQ functions: MQINQMP and MQCRTMH = no way to get named message properties from the queue :( Messages from the queue can be received, but without named properties, which are VERY desirable to have).
2) Java (this language, probably, was invented by aliens).
3) Python (While there is a problem with installing PIMQI).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2018-07-30
@2ord

So nothing complicated

Пока очередь не пуста
  Взять с очереди сообщение/файл
  Обработать

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question