ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Finding QMgr Info from the connection handle

Post new topic  Reply to topic
 Finding QMgr Info from the connection handle « View previous topic :: View next topic » 
Author Message
mangoMan
PostPosted: Wed Aug 24, 2005 7:04 pm    Post subject: Finding QMgr Info from the connection handle Reply with quote

Acolyte

Joined: 16 Oct 2003
Posts: 69

Does anyone know how to find out what queue manager I am connected to from the queue manager object? I found this piece of code, I know I am supposed to call inquire() on mqmo but how?

MQManagedObject mqmo = (MQManagedObject)yourQueueManagerObject;

Can I do the same using the queue handle?
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Aug 25, 2005 6:03 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

humm...what about:
Code:
mqmo.getAttributeString(MQC.MQCA_Q_MGR_NAME, 48)
and I wonder if
Code:
mqmo.name
returns the same thing ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Finding QMgr Info from the connection handle
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.