title: Connecting Queue manager with multiple threads
body: <p>We are trying to publish messages on a topic using multiple connection handles for a queue manager. We are using threads for this.
      However when we use fifty threads the messages are properly pulbished on to the topic but as we go on increasing the threads, to say 500, we get the following reason codes 2071,2012,2538 for some threads and then the program crashes giving reason code as 2059 for remaining threads</p>
  
  <pre><code>I thought that may be due to restriction on the number of connection handle we are getting these errors. So I tried
  1.  adding channels stanza to qm.ini file
          CHANNELS:
          MaxChannels=&lt;number&gt;
          MaxActiveChannels=&lt;number&gt; 
  
  2.  altering MAXHANDS of my queuemanager to 2000
  
  
  But found no luck in the above approaches.
  Kindly help me in solving this issue.
  
  PS. We have created our own Library for calling websphere MQ API.
  
  Thanks,
  Mandar.
  </code></pre>