diff options
author | Gordon Sim <gsim@apache.org> | 2010-09-21 08:04:52 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2010-09-21 08:04:52 +0000 |
commit | 5b50ec2c2e6a75ffb6bb0a1c34a4ff6168330d82 (patch) | |
tree | 1d4eae44dee98f5918a521c86f0d74eb01140a52 /cpp/examples/messaging | |
parent | c506179c97f708c119242fcc0db3904203b5e55c (diff) | |
download | qpid-python-5b50ec2c2e6a75ffb6bb0a1c34a4ff6168330d82.tar.gz |
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
Diffstat (limited to 'cpp/examples/messaging')
-rw-r--r-- | cpp/examples/messaging/hello_xml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |