From 0b4bb5acdba9afef93a99864b39e1de438b5dc42 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Fri, 12 Feb 2010 21:23:27 +0000 Subject: Changes needed for QPID-2029 (Clustering and Management don't work well together) This update changes the indexing of object IDs in the broker-resident management agent from being based on the QMFv1 format (numeric) to the QMFv2 format (string name). This removes the need for numeric objectIds to be synchronized across a set of clustered brokers. Also included in this patch is a fix to a bug in binding creation. Previously, when a binding was created that already existed, the management object for the proposed binding (duplicate of the existing one) was created then destroyed. This is inefficient and causes problems when the name-based indexes collide. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909610 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/xml/XmlExchange.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/xml') diff --git a/cpp/src/qpid/xml/XmlExchange.h b/cpp/src/qpid/xml/XmlExchange.h index 802afddeab..4394ede5e7 100644 --- a/cpp/src/qpid/xml/XmlExchange.h +++ b/cpp/src/qpid/xml/XmlExchange.h @@ -53,7 +53,7 @@ class XmlExchange : public virtual Exchange { const ::qpid::framing::FieldTable& _arguments, Query query): Binding(key, queue, parent, _arguments), xquery(query), - parse_message_content(true) {} + parse_message_content(true) { startManagement(); } }; -- cgit v1.2.1