Can I open a cluster MQ queue for writing in Perl?

If I have a Websphere MQ queue defined in another queue manager in the cluster, is there a way to open it for writing using the Perl interface? The code below returns mqrc 2085.

$messageQ = MQSeries::Queue->new
        (
         QueueManager         => $qMgr,
         Queue                => $queue,
         Options              => $openOpt
         ) or die ">>>ERROR2: Unable to open the queue: $queue\n";
}
+3
source share
1 answer

Yes! Perl modules are a thin veneer over the WMQ API and reveal all the basic parameters and most of the truly esoteric material.

, WebSphere MQ , Queue QMgr. , QMgr, , WMQ . , , , QMgr, , 2085.

QMgr. , QMgr , , . , ​​ , . , CLUSTER CLUSNL , QMgr. , QMgr , QMgr.

, QMgr , QMgr, WMQ QMgr. QMgr, . , QMgr, .

, . , QMGRA DEF QA (TARGET.QUEUE) TARGQ (TARGET.QUEUE), QMGRB QMGRC , DEF QL (TARGET.QUEUE) CLUSTER (MYCLUS), QMGR = QMGRA QUEUE = TARGET.QUEUE - , . , , . , API , . Production, amqsput , QMgr , . ? , , , XMitQ, , , QMgr , SYSTEM.ADMIN.COMMAND.QUEUE, .

, , , QMgr Open- . . WMQ Security http://t-rob.net/links

+3

Source: https://habr.com/ru/post/1747435/


All Articles