mirror of https://github.com/apache/activemq.git
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:
parent
b4f21b64d4
commit
9601f6742e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue