summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-09-21 08:04:52 +0000
committerGordon Sim <gsim@apache.org>2010-09-21 08:04:52 +0000
commit364c4ee7e0ae1cf1fd34ad24fba7817889b9d4c0 (patch)
tree44282827ff857c456f5c56f440e35ce3a521272c
parentd9dd3f022e7479224f730f07ba4c1ba3041d06dc (diff)
downloadqpid-python-364c4ee7e0ae1cf1fd34ad24fba7817889b9d4c0.tar.gz
QPID-2860: Have exchange declared as correct type if auto-created
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@999264 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/examples/messaging/hello_xml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/examples/messaging/hello_xml.cpp b/qpid/cpp/examples/messaging/hello_xml.cpp
index 99b4144b17..ae72faaa47 100644
--- a/qpid/cpp/examples/messaging/hello_xml.cpp
+++ b/qpid/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