diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2008-04-09 20:31:28 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2008-04-09 20:31:28 +0000 |
commit | 0e16f6997fe87a5241d0cbbd6ad6b0df1bfffc8f (patch) | |
tree | 2b9c442cb8094d1255b64fdea24028d7228462fe | |
parent | 6cf06312f5f9d686a0af76f7c1c08732a7ae27cb (diff) | |
download | qpid-python-0e16f6997fe87a5241d0cbbd6ad6b0df1bfffc8f.tar.gz |
This is a fix for QPID-911.
When the message id is set, _hasBeenUpdated will be set to true.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646519 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java b/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java index 99b9f9e180..47b5c02beb 100644 --- a/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java +++ b/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java @@ -108,6 +108,7 @@ public class BasicContentHeaderProperties implements CommonContentHeaderProperti _hasBeenUpdated = false; return result; } + public void updated() { _hasBeenUpdated = true; @@ -683,6 +684,7 @@ public class BasicContentHeaderProperties implements CommonContentHeaderProperti public void setMessageId(String messageId) { + _hasBeenUpdated = true; clearEncodedForm(); _propertyFlags |= MESSAGE_ID_MASK; _messageId = (messageId == null) ? null : new AMQShortString(messageId); |