diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/qpid/replication/ReplicationExchange.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/src/qpid/replication/ReplicationExchange.cpp b/cpp/src/qpid/replication/ReplicationExchange.cpp index 29cdf21bc6..053a317743 100644 --- a/cpp/src/qpid/replication/ReplicationExchange.cpp +++ b/cpp/src/qpid/replication/ReplicationExchange.cpp @@ -36,11 +36,13 @@ using namespace qpid::replication::constants; const std::string SEQUENCE_VALUE("qpid.replication-event.sequence"); ReplicationExchange::ReplicationExchange(const std::string& name, bool durable, - const FieldTable& args, + const FieldTable& _args, QueueRegistry& qr, Manageable* parent) - : Exchange(name, durable, args, parent), queues(qr), sequence(args.getAsInt64(SEQUENCE_VALUE)), init(false) - {} + : Exchange(name, durable, _args, parent), queues(qr), sequence(args.getAsInt64(SEQUENCE_VALUE)), init(false) +{ + args.setInt64(SEQUENCE_VALUE, sequence); +} std::string ReplicationExchange::getType() const { return typeName; } |