title: How to access all the queue managers by connecting to the IBM MQ Server using IBM MQ classes in java
body: <p>I have been trying to find all the queue managers inside IBM MQ Server by giving server details without queue manager name.</p>
  <p>The idea is :</p>
  <ul>
  <li>I have a properties file having server details- host, port number, channel, userid, passwrd.</li>
  <li>By using this info we need to connect to the server and find all the queue managers available in the server.</li>
  <li>I need to use IBM MQ classes in java.</li>
  </ul>
  <p>As we have ways to find all the queues inside a queue manager can we do similarly to find all queue managers?</p>