From 5b50ec2c2e6a75ffb6bb0a1c34a4ff6168330d82 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 21 Sep 2010 08:04:52 +0000 Subject: QPID-2860: Have exchange declared as correct type if auto-created git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999264 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/examples/messaging/hello_xml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/examples/messaging') diff --git a/cpp/examples/messaging/hello_xml.cpp b/cpp/examples/messaging/hello_xml.cpp index 99b4144b17..ae72faaa47 100644 --- a/cpp/examples/messaging/hello_xml.cpp +++ b/cpp/examples/messaging/hello_xml.cpp @@ -26,7 +26,7 @@ int main(int argc, char** argv) { address << "xml; {" " create: always, " // This line and the next are not in docs - " node: { type: topic }, " // Added so it works "out of the box" + " node: { type: topic, x-declare: { type: xml } }, " // Added so it works "out of the box" " link: { " " x-bindings: [{ exchange: xml, key: weather, arguments: { xquery:\"" << query -- cgit v1.2.1