![]() |
|
||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
mq-connection
|
||
The mq-connection OMX component encapsulates a connection to an MQSeries queue manager.
The OmniMark MQSeries dynamic link library file ("ommqi.dll" or "ommqi.so") creates the mq-connection OMX component. The related include file ("ommqi.xin") defines the interface to that component. To use mq-connection OMX components in your program, you must include the following in your program:
include "ommqi.xin"
Within your program, you can create as many instances of the mq-connection OMX component as you require by declaring global and local variables of type "mq-connection".
The functions
mq-connect -- create a connection to a queue manager.
mq-connectx -- create a connection to a queue manager with specified options.
mq-disconnect -- disconnect an active connection to a queue manager.
mq-backout -- roll back the active unit of work.
mq-commit -- commit the active unit of work.
mq-open -- create a connection to an IBM MQSeries object.
mq-put1message -- create a connection to a queue, put a single message in it, and close the queue.