User: chirino 
  Date: 01/11/11 21:27:35

  Modified:    src/main/org/jboss/mq Connection.java
                        GenericConnectionFactory.java
  Log:
  More debug statments to help out with clustering work.  Changed the IL JNDI bind 
code so that it does
  a rebind a creates all the required sub contexts
  
  Revision  Changes    Path
  1.12      +3 -2      jbossmq/src/main/org/jboss/mq/Connection.java
  
  Index: Connection.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/Connection.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Connection.java   2001/11/10 21:13:22     1.11
  +++ Connection.java   2001/11/12 05:27:35     1.12
  @@ -38,7 +38,7 @@
    *
    * @author    Norbert Lataille ([EMAIL PROTECTED])
    * @author    Hiram Chirino ([EMAIL PROTECTED])
  - * @version   $Revision: 1.11 $
  + * @version   $Revision: 1.12 $
    * @created   August 16, 2001
    */
   public class Connection implements java.io.Serializable, javax.jms.Connection
  @@ -175,6 +175,7 @@
         cat.debug("Getting the serverIL");
         this.genericConnectionFactory = genericConnectionFactory;
         serverIL = genericConnectionFactory.createServerIL();
  +      cat.debug("serverIL="+serverIL);
   
         cat.debug("Authenticating");
         // Authenticate with the server
  @@ -426,7 +427,7 @@
      public void asynchPong(long serverTime)
      {
         cat.debug("PONG");
  -      cat.debug("serverIL:"+serverIL);
  +      cat.debug("serverIL="+serverIL);
         ponged = true;
      }
   
  
  
  
  1.5       +5 -1      jbossmq/src/main/org/jboss/mq/GenericConnectionFactory.java
  
  Index: GenericConnectionFactory.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/GenericConnectionFactory.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- GenericConnectionFactory.java     2001/10/21 05:38:12     1.4
  +++ GenericConnectionFactory.java     2001/11/12 05:27:35     1.5
  @@ -19,7 +19,7 @@
    *
    * @author     Hiram Chirino ([EMAIL PROTECTED])
    * @created    August 16, 2001
  - * @version    $Revision: 1.4 $
  + * @version    $Revision: 1.5 $
    */
   public class GenericConnectionFactory implements java.io.Serializable {
      static org.apache.log4j.Category cat = org.apache.log4j.Category.getInstance( 
GenericConnectionFactory.class );
  @@ -99,5 +99,9 @@
            cat.debug( "Could not connect to the server", e );
            throw new SpyJMSException( "Could not connect to the server", e );
         }
  +   }
  +   
  +   public String toString() {
  +     return 
"GenericConnectionFactory:[server="+server+",connectionProperties="+connectionProperties+"]";
      }
   }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to