/[projects]/miscJava/thn_mqutils/src/main/java/com/traiana/utils/mq/MQ.java
ViewVC logotype

Diff of /miscJava/thn_mqutils/src/main/java/com/traiana/utils/mq/MQ.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3014 by torben, Fri Oct 2 14:24:36 2015 UTC revision 3015 by torben, Thu Apr 21 09:23:43 2016 UTC
# Line 13  import java.util.Hashtable; Line 13  import java.util.Hashtable;
13    
14  /*    */ public class MQ implements AutoCloseable  /*    */ public class MQ implements AutoCloseable
15  /*    */ {  /*    */ {
16  /*    */   MQQueueManager _qMgr;  /*    */   MQQueueManager _qMgr = null;
17  /*    */   MQQueue _mQQueue;  /*    */   MQQueue _mQQueue = null;
18  /*    */  /*    */
19  /*    */   @SuppressWarnings("unchecked")  /*    */   @SuppressWarnings("unchecked")
20  public MQ(String qmgr, int port, String mqServerName, String channelName, int ccsid, boolean log)  public MQ(String qmgr, int port, String mqServerName, String channelName, int ccsid, boolean log)
21  /*    */     throws MQException  /*    */     throws Exception
22  /*    */   {  /*    */   {
23  /* 36 */     MQEnvironment.hostname = mqServerName;  /* 36 */     MQEnvironment.hostname = mqServerName;
24  /* 37 */     MQEnvironment.port = port;  /* 37 */     MQEnvironment.port = port;
# Line 36  public MQ(String qmgr, int port, String Line 36  public MQ(String qmgr, int port, String
36  /*    */     try {  /*    */     try {
37  /* 49 */       this._qMgr = new MQQueueManager(qmgr);  /* 49 */       this._qMgr = new MQQueueManager(qmgr);
38  /*    */     } catch (MQException e) {  /*    */     } catch (MQException e) {
39  /* 51 */       e.printStackTrace();                 throw new Exception("Could not create QueueManager", e);
40  /*    */     }  /*    */     }
41  /*    */   }  /*    */   }
42  /*    */  /*    */

Legend:
Removed from v.3014  
changed lines
  Added in v.3015

  ViewVC Help
Powered by ViewVC 1.1.20