diff options
Diffstat (limited to 'cpp/examples/messaging/hello_xml.cpp')
-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 |