|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQAX.MQQueueManager.ConnectionHandle |
« View previous topic :: View next topic » |
Author |
Message
|
HrothgarV |
Posted: Tue Jul 29, 2003 12:26 pm Post subject: MQAX.MQQueueManager.ConnectionHandle |
|
|
Novice
Joined: 07 Apr 2003 Posts: 17
|
the MQAI mqExecute command needs a connection handle. I have already established connection to the queue manager via MQAX MQSession and MQQueueManager objects. I don't want to establish another connection via MQCONN just to get a connection handle.
Can I use the MQAX.MQQueueManager.ConnectionHandle to run the MQAI mqExecute command??? OR what (hconn) attribute of MQAX can I use to run mqExecute(hconn,parm,parm,,,,)???
thanks, |
|
Back to top |
|
 |
HrothgarV |
Posted: Fri Aug 01, 2003 9:14 am Post subject: |
|
|
Novice
Joined: 07 Apr 2003 Posts: 17
|
any help?
I've actually tried using the MQAX qmgr.ConnectionHandle and MQAX qmgr.ObjectHandle to run mqExecute(HConn, parm,parm,,,). Neither one worked. I had to issue a separate connection via MQCONN and passed the handle obtained from this to the mqExecute command to make it work.
However, it seems illogical to have separate MQSeries connections for the MQAX and MQAI components to work. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Aug 01, 2003 10:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
HrothgarV wrote: |
any help?
...
However, it seems illogical to have separate MQSeries connections for the MQAX and MQAI components to work. |
The MQAX connection object is not the same thing as a standard MQAI connection handle.
There may be a way to get a standard MQAI connection handle from the MQAX connection object, but I don't know what it is. |
|
Back to top |
|
 |
ping master |
Posted: Fri Aug 01, 2003 10:34 am Post subject: |
|
|
 Centurion
Joined: 20 Sep 2002 Posts: 116 Location: USA
|
you are exactly right Jeff, I have explained this in the other forum with the exact execute,
try it and you will see it works perfect. |
|
Back to top |
|
 |
HrothgarV |
Posted: Fri Aug 01, 2003 11:30 am Post subject: |
|
|
Novice
Joined: 07 Apr 2003 Posts: 17
|
does not work...
see General Support forum, topic: MQAX.QMgr.ConnectionHandle... |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|