User: norbert 
  Date: 00/06/14 21:02:30

  Modified:    examples TestClient.java
  Log:
  Very first step for the Optimized Invocation Layer
  It only works for the ConnectionReceiver object
  
  Revision  Changes    Path
  1.37      +6 -6      spyderMQ/examples/TestClient.java
  
  Index: TestClient.java
  ===================================================================
  RCS file: /products/cvs/ejboss/spyderMQ/examples/TestClient.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- TestClient.java   2000/06/14 19:16:48     1.36
  +++ TestClient.java   2000/06/15 04:02:29     1.37
  @@ -270,13 +270,13 @@
                prop.put("ct",connectionTopic);
                prop.put("st",sessionTopic);
   
  -             QueueConnectionFactory factoryQueue = (QueueConnectionFactory)new 
InitialContext().lookup("QueueConnectionFactory");
  -             QueueConnection connectionQueue = 
factoryQueue.createQueueConnection("sahra","spot");
  -             sessionQueue = 
connectionQueue.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);
  -             publisherQueue = sessionQueue.createSender(null);               
  +             QueueConnectionFactory factoryQueue = null; 
//(QueueConnectionFactory)new InitialContext().lookup("QueueConnectionFactory");
  +             QueueConnection connectionQueue = null; 
//factoryQueue.createQueueConnection("sahra","spot");
  +             sessionQueue = null; 
//connectionQueue.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);
  +             publisherQueue = null; //sessionQueue.createSender(null);              
 
                
  -             prop.put("cq",connectionQueue);
  -             prop.put("sq",sessionQueue);
  +             //prop.put("cq",connectionQueue);
  +             //prop.put("sq",sessionQueue);
                
                while (true) {
                                                
  
  
  

Reply via email to