我嘗試連接使用MQ API來隊列管理器和我能夠連接到隊列管理連接時,隊列管理器JMS
MQQueueManager queueManager=new MQQueueManager(qmgrName);
queueManager.accessQueue(qName,MQOO_OUTPUT);
但是,當我嘗試連接到同一個隊列MQ錯誤代碼2058經理用它失敗,2058 code.Not肯定,如果我失去了一些東西與JMS
MQQueueConnectionFactory qcf=new MQQueueConnectionFactory();
qcf.setQueueManager(qmgrName);
qcf.setPort(1414);
qcf.setHostname("localhost");
qcf.createQueueConnection();
我想連接使用綁定模式只在JMS.But它仍然失敗 –