You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by de...@apache.org on 2011/01/28 13:12:53 UTC

svn commit: r1064636 - in /activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp: StompFrame.scala StompProtocolHandler.scala

Author: dejanb
Date: Fri Jan 28 12:12:52 2011
New Revision: 1064636

URL: http://svn.apache.org/viewvc?rev=1064636&view=rev
Log:
stomp heart beat typo

Modified:
    activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompFrame.scala
    activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala

Modified: activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompFrame.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompFrame.scala?rev=1064636&r1=1064635&r2=1064636&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompFrame.scala (original)
+++ activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompFrame.scala Fri Jan 28 12:12:52 2011
@@ -434,7 +434,7 @@ object Stomp {
     
   val V1_0 = ascii("1.0")
   val V1_1 = ascii("1.1")
-  val DEFAULT_HEAT_BEAT = ascii("0,0")
+  val DEFAULT_HEART_BEAT = ascii("0,0")
 
   val SUPPORTED_PROTOCOL_VERSIONS = List(V1_1, V1_0)
 

Modified: activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala?rev=1064636&r1=1064635&r2=1064636&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala (original)
+++ activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocolHandler.scala Fri Jan 28 12:12:52 2011
@@ -531,7 +531,7 @@ class StompProtocolHandler extends Proto
             "Supported protocol versions are %s".format(supported_versions))
     }
 
-    val heart_beat = get(headers, HEART_BEAT).getOrElse(DEFAULT_HEAT_BEAT)
+    val heart_beat = get(headers, HEART_BEAT).getOrElse(DEFAULT_HEART_BEAT)
     heart_beat.split(COMMA).map(_.ascii) match {
       case Array(cx,cy) =>
         try {