Author: parsonsd
Date: Tue Aug 11 10:16:10 2009
New Revision: 803054
URL: http://svn.apache.org/viewvc?rev=803054&view=rev
Log:
The matching of the primitive type reallocated field happened whether or not
the field had been set in the matcher RMSBean. I've changed it so that it only
matches upon request i.e. the field is set in the matcher bean.
Modified:
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/storage/beans/RMSBean.java
Modified:
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/storage/beans/RMSBean.java
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/storage/beans/RMSBean.java?rev=803054&r1=803053&r2=803054&view=diff
==============================================================================
---
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/storage/beans/RMSBean.java
(original)
+++
webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/storage/beans/RMSBean.java
Tue Aug 11 10:16:10 2009
@@ -182,6 +182,7 @@
public static final int TERM_PAUSER_FOR_CS = 0x00000002;
public static final int EXPECTED_REPLIES = 0x00000020;
public static final int SOAP_VERSION_FLAG = 0x00000200;
+ public static final int REALLOCATED = 0x00002000;
public RMSBean() {
}
@@ -512,7 +513,7 @@
else if((bean.getInternalSeqIDOfSeqUsedForReallocation() !=
null &&
!bean.getInternalSeqIDOfSeqUsedForReallocation().equals(this.getInternalSeqIDOfSeqUsedForReallocation())))
match = false;
- else if(bean.isReallocated() != this.isReallocated())
+ else if((bean.rmsFlags & REALLOCATED) != 0 &&
bean.isReallocated() != this.isReallocated())
match = false;
// Avoid matching on the error information
@@ -560,6 +561,7 @@
public void setReallocated(int reallocated) {
this.reallocated = reallocated;
+ this.rmsFlags |= REALLOCATED;
}
public String getInternalSeqIDOfSeqUsedForReallocation() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]