summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/replication/ReplicationExchange.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2009-03-10 22:48:51 +0000
committerGordon Sim <gsim@apache.org>2009-03-10 22:48:51 +0000
commitb9a77d5a5d482a7a9828f64c4d06def816997f16 (patch)
tree00e38af08e6031e713e372e2e885e253106b9c5b /cpp/src/qpid/replication/ReplicationExchange.cpp
parent2d9d07806037ce5e91dd0bad53fdfbe25ca5f8b1 (diff)
downloadqpid-python-b9a77d5a5d482a7a9828f64c4d06def816997f16.tar.gz
QPID-1724: Allow replication events to be shared across multiple federations bridges.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/replication/ReplicationExchange.cpp')
-rw-r--r--cpp/src/qpid/replication/ReplicationExchange.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/replication/ReplicationExchange.cpp b/cpp/src/qpid/replication/ReplicationExchange.cpp
index 88c94ad7ba..29cdf21bc6 100644
--- a/cpp/src/qpid/replication/ReplicationExchange.cpp
+++ b/cpp/src/qpid/replication/ReplicationExchange.cpp
@@ -102,6 +102,7 @@ void ReplicationExchange::handleDequeueEvent(const FieldTable* args)
bool ReplicationExchange::isDuplicate(const FieldTable* args)
{
+ if (!args->get(REPLICATION_EVENT_SEQNO)) return false;
SequenceNumber seqno(args->getAsInt(REPLICATION_EVENT_SEQNO));
if (!init) {
init = true;