[jboss-cvs] JBoss Messaging SVN: r3658 - in trunk/src/main/org/jboss/messaging/core/remoting: wireformat and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 1 10:43:38 EST 2008


Author: jmesnil
Date: 2008-02-01 10:43:38 -0500 (Fri, 01 Feb 2008)
New Revision: 3658

Modified:
   trunk/src/main/org/jboss/messaging/core/remoting/impl/mina/PacketCodecFactory.java
   trunk/src/main/org/jboss/messaging/core/remoting/wireformat/PacketType.java
Log:
* fixed typos

Modified: trunk/src/main/org/jboss/messaging/core/remoting/impl/mina/PacketCodecFactory.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/remoting/impl/mina/PacketCodecFactory.java	2008-02-01 15:22:09 UTC (rev 3657)
+++ trunk/src/main/org/jboss/messaging/core/remoting/impl/mina/PacketCodecFactory.java	2008-02-01 15:43:38 UTC (rev 3658)
@@ -197,7 +197,7 @@
       
       addCodecForEmptyPacket(PacketType.MSG_COMMIT, SessionCommitMessage.class);
       
-      addCodecForEmptyPacket(PacketType.MSG_COMMIT, SessionRollbackMessage.class);
+      addCodecForEmptyPacket(PacketType.MSG_ROLLBACK, SessionRollbackMessage.class);
 
       addCodecForEmptyPacket(PacketType.MSG_CLOSE, CloseMessage.class);
       

Modified: trunk/src/main/org/jboss/messaging/core/remoting/wireformat/PacketType.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/remoting/wireformat/PacketType.java	2008-02-01 15:22:09 UTC (rev 3657)
+++ trunk/src/main/org/jboss/messaging/core/remoting/wireformat/PacketType.java	2008-02-01 15:43:38 UTC (rev 3658)
@@ -82,8 +82,8 @@
    RESP_BROWSER_NEXTMESSAGE       ((byte)96),
 
    // Misc
-   MSG_CLOSING                    ((byte)90),  
-   MSG_CLOSE                      ((byte)91);
+   MSG_CLOSING                    ((byte)100),  
+   MSG_CLOSE                      ((byte)101);
    
    private final byte type;
 




More information about the jboss-cvs-commits mailing list