Home > Back-end >  C Builder how to write the IBM MQ client?
C Builder how to write the IBM MQ client?

Time:09-29

Online for the first time contact with MQ, c + + Builder. Write the content of the IBM MQ almost no,
C + + Builder how to write the IBM MQ client?
How to compile, link?
How the caller?
Program structure should be what kind of?

CodePudding user response:

In C language, for example, an MQ application development process is as follows:

MQCONN establishment and the queue manager ()/* */
MQOPEN ()/* open to read and write operations to queue */
MQPUT ()/* will message in the queue */
MQGET reads the message from the queue ()/* */
MQINQ query attributes of the queue ()/* */
MQSET ()/* set the attributes of the queue */
MQCLOSE ()/* in reading and writing etc. After operation, turn off the queue */
MQDISC ()/* disconnect with the queue manager, and release the related resources */

CodePudding user response:

reference 1st floor songhtao response:
in C language, for example, an MQ application development process is as follows:

MQCONN establishment and the queue manager ()/* */
MQOPEN ()/* open to read and write operations to queue */
MQPUT ()/* will message in the queue */
MQGET reads the message from the queue ()/* */
MQINQ query attributes of the queue ()/* */
MQSET ()/* set the attributes of the queue */
MQCLOSE ()/* in reading and writing etc. After operation, turn off the queue */
MQDISC ()/* disconnect with the queue manager, release the related resources */

It has a direct version of c + + language IBMMQ excuse me?
  • Related