Skip to content
Permalink
Browse files
  • Loading branch information
Timothy A. Bish committed Aug 26, 2010
1 parent 2e651af commit 588f5ae0c1d12e158bc25831557cec79f0dac97a
Showing 1 changed file with 4 additions and 0 deletions.
@@ -217,6 +217,10 @@ protected virtual Command ReadMessage(StompFrame frame)
// sent with response required set to true
frame.RemoveProperty("receipt");

// Clear any attached content length headers as they aren't needed anymore and can
// clutter the Message Properties.
frame.RemoveProperty("content-length");

message.Type = frame.RemoveProperty("type");
message.Destination = StompHelper.ToDestination(frame.RemoveProperty("destination"));
message.ReplyTo = StompHelper.ToDestination(frame.RemoveProperty("reply-to"));

0 comments on commit 588f5ae

Please sign in to comment.