summaryrefslogtreecommitdiff
path: root/qpid/java/common
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2008-04-09 20:31:28 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2008-04-09 20:31:28 +0000
commit3b8a50cf443a5e20f1c151e3d6709cf3a86d13db (patch)
tree06b10767f49fb98182d073f63b8cbe0ac9544aa7 /qpid/java/common
parentc2d21d3903178152a0873d6f274968c2f91c8ea6 (diff)
downloadqpid-python-3b8a50cf443a5e20f1c151e3d6709cf3a86d13db.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@646519 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common')
-rw-r--r--qpid/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java b/qpid/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java
index 99b9f9e180..47b5c02beb 100644
--- a/qpid/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java
+++ b/qpid/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);