Author: rajith
Date: Wed Apr 9 13:31:28 2008
New Revision: 646519
URL: http://svn.apache.org/viewvc?rev=646519&view=rev
Log:
This is a fix for QPID-911.
When the message id is set, _hasBeenUpdated will be set to true.
Modified:
incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java
Modified:
incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java?rev=646519&r1=646518&r2=646519&view=diff
==============================================================================
---
incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java
(original)
+++
incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/framing/BasicContentHeaderProperties.java
Wed Apr 9 13:31:28 2008
@@ -108,6 +108,7 @@
_hasBeenUpdated = false;
return result;
}
+
public void updated()
{
_hasBeenUpdated = true;
@@ -683,6 +684,7 @@
public void setMessageId(String messageId)
{
+ _hasBeenUpdated = true;
clearEncodedForm();
_propertyFlags |= MESSAGE_ID_MASK;
_messageId = (messageId == null) ? null : new
AMQShortString(messageId);