activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1357919 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/StompWireFormat.java
Date Thu, 05 Jul 2012 21:07:07 GMT
Author: tabish
Date: Thu Jul  5 21:07:06 2012
New Revision: 1357919

URL: http://svn.apache.org/viewvc?rev=1357919&view=rev
Log:
fix for: https://issues.apache.org/jira/browse/AMQ-3913

Stop trimming STOMP header keys to align with the spc. 

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/StompWireFormat.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/StompWireFormat.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/StompWireFormat.java?rev=1357919&r1=1357918&r2=1357919&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/StompWireFormat.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/StompWireFormat.java
Thu Jul  5 21:07:06 2012
@@ -206,7 +206,7 @@ public class StompWireFormat implements 
                     }
 
                     ByteSequence nameSeq = stream.toByteSequence();
-                    String name = new String(nameSeq.getData(), nameSeq.getOffset(), nameSeq.getLength(),
"UTF-8").trim();
+                    String name = new String(nameSeq.getData(), nameSeq.getOffset(), nameSeq.getLength(),
"UTF-8");
                     String value = decodeHeader(headerLine);
                     headers.put(name, value);
                 } catch (Exception e) {



Mime
View raw message