activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1094495 - /activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/ws/StompSocket.java
Date Mon, 18 Apr 2011 11:26:49 GMT
Author: dejanb
Date: Mon Apr 18 11:26:49 2011
New Revision: 1094495

URL: http://svn.apache.org/viewvc?rev=1094495&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3284 - web sockets and truncated body

Modified:
    activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/ws/StompSocket.java

Modified: activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/ws/StompSocket.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/ws/StompSocket.java?rev=1094495&r1=1094494&r2=1094495&view=diff
==============================================================================
--- activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/ws/StompSocket.java
(original)
+++ activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/ws/StompSocket.java
Mon Apr 18 11:26:49 2011
@@ -89,6 +89,6 @@ class StompSocket extends TransportSuppo
     }
 
     public void sendToStomp(StompFrame command) throws IOException {
-        outbound.sendMessage(WebSocket.SENTINEL_FRAME, command.toString());
+        outbound.sendMessage(WebSocket.SENTINEL_FRAME, command.format());
     }
 }



Mime
View raw message