Stop trimming STOMP header keys to align with the spc. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357919 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2012-07-05 21:07:06 +00:00
parent b4f21b64d4
commit 9601f6742e
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ public class StompWireFormat implements WireFormat {
}
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) {