summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2011-12-16 12:52:08 +0000
committerKeith Wall <kwall@apache.org>2011-12-16 12:52:08 +0000
commit2f56ee691a7a824d641820005f0cc7e99ec96d8f (patch)
tree10de5c9e49d6491d04dbcac12889d6cca81cf827
parent0701049e4b2f306caf7575b86a37b3b0cc245f2a (diff)
downloadqpid-python-2f56ee691a7a824d641820005f0cc7e99ec96d8f.tar.gz
QPID-3691: failover should sync once before reporting failover success
Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1215113 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java b/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
index 705e53d138..756b5cacb0 100644
--- a/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
+++ b/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
@@ -1369,5 +1369,6 @@ public class AMQSession_0_10 extends AMQSession<BasicMessageConsumer_0_10, Basic
_unacknowledgedMessageTags.clear();
_prefetchedMessageTags.clear();
super.resubscribe();
+ getQpidSession().sync();
}
}