summaryrefslogtreecommitdiff
path: root/cpp/examples
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2011-03-01 16:23:56 +0000
committerGordon Sim <gsim@apache.org>2011-03-01 16:23:56 +0000
commit1fd3aca509a1eb3273fe154e69d51eee784f8544 (patch)
tree9d7540308f01f05315bd1201817953032b8c8d66 /cpp/examples
parent9f5a99e4bc4725d9b5cb194db3e264e608258d6f (diff)
downloadqpid-python-1fd3aca509a1eb3273fe154e69d51eee784f8544.tar.gz
QPID-3067: moved old examples to old_api directory
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075883 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples')
-rw-r--r--cpp/examples/CMakeLists.txt9
-rw-r--r--cpp/examples/Makefile.am16
-rw-r--r--cpp/examples/old_api/Makefile.am46
-rw-r--r--cpp/examples/old_api/README.verify (renamed from cpp/examples/README.verify)0
-rw-r--r--cpp/examples/old_api/direct/CMakeLists.txt (renamed from cpp/examples/direct/CMakeLists.txt)0
-rw-r--r--cpp/examples/old_api/direct/Makefile.am (renamed from cpp/examples/direct/Makefile.am)0
-rw-r--r--cpp/examples/old_api/direct/declare_queues.cpp (renamed from cpp/examples/direct/declare_queues.cpp)0
-rw-r--r--cpp/examples/old_api/direct/direct_declare_queues.vcproj (renamed from cpp/examples/direct/direct_declare_queues.vcproj)0
-rw-r--r--cpp/examples/old_api/direct/direct_direct_producer.vcproj (renamed from cpp/examples/direct/direct_direct_producer.vcproj)0
-rw-r--r--cpp/examples/old_api/direct/direct_listener.vcproj (renamed from cpp/examples/direct/direct_listener.vcproj)0
-rw-r--r--cpp/examples/old_api/direct/direct_producer.cpp (renamed from cpp/examples/direct/direct_producer.cpp)0
-rw-r--r--cpp/examples/old_api/direct/listener.cpp (renamed from cpp/examples/direct/listener.cpp)0
-rw-r--r--cpp/examples/old_api/direct/verify (renamed from cpp/examples/direct/verify)0
-rw-r--r--cpp/examples/old_api/direct/verify.in (renamed from cpp/examples/direct/verify.in)0
-rw-r--r--cpp/examples/old_api/failover/CMakeLists.txt (renamed from cpp/examples/failover/CMakeLists.txt)0
-rw-r--r--cpp/examples/old_api/failover/Makefile.am (renamed from cpp/examples/failover/Makefile.am)0
-rw-r--r--cpp/examples/old_api/failover/declare_queues.cpp (renamed from cpp/examples/failover/declare_queues.cpp)0
-rw-r--r--cpp/examples/old_api/failover/failover_declare_queues.vcproj (renamed from cpp/examples/failover/failover_declare_queues.vcproj)0
-rw-r--r--cpp/examples/old_api/failover/failover_replaying_sender.vcproj (renamed from cpp/examples/failover/failover_replaying_sender.vcproj)0
-rw-r--r--cpp/examples/old_api/failover/failover_resuming_receiver.vcproj (renamed from cpp/examples/failover/failover_resuming_receiver.vcproj)0
-rw-r--r--cpp/examples/old_api/failover/replaying_sender.cpp (renamed from cpp/examples/failover/replaying_sender.cpp)0
-rw-r--r--cpp/examples/old_api/failover/resuming_receiver.cpp (renamed from cpp/examples/failover/resuming_receiver.cpp)0
-rw-r--r--cpp/examples/old_api/fanout/CMakeLists.txt (renamed from cpp/examples/fanout/CMakeLists.txt)0
-rw-r--r--cpp/examples/old_api/fanout/Makefile.am (renamed from cpp/examples/fanout/Makefile.am)0
-rw-r--r--cpp/examples/old_api/fanout/fanout_fanout_producer.vcproj (renamed from cpp/examples/fanout/fanout_fanout_producer.vcproj)0
-rw-r--r--cpp/examples/old_api/fanout/fanout_listener.vcproj (renamed from cpp/examples/fanout/fanout_listener.vcproj)0
-rw-r--r--cpp/examples/old_api/fanout/fanout_producer.cpp (renamed from cpp/examples/fanout/fanout_producer.cpp)0
-rw-r--r--cpp/examples/old_api/fanout/listener.cpp (renamed from cpp/examples/fanout/listener.cpp)0
-rw-r--r--cpp/examples/old_api/fanout/verify (renamed from cpp/examples/fanout/verify)0
-rw-r--r--cpp/examples/old_api/fanout/verify.in (renamed from cpp/examples/fanout/verify.in)0
-rw-r--r--cpp/examples/old_api/pub-sub/CMakeLists.txt (renamed from cpp/examples/pub-sub/CMakeLists.txt)0
-rw-r--r--cpp/examples/old_api/pub-sub/Makefile.am (renamed from cpp/examples/pub-sub/Makefile.am)0
-rw-r--r--cpp/examples/old_api/pub-sub/pub-sub_topic_listener.vcproj (renamed from cpp/examples/pub-sub/pub-sub_topic_listener.vcproj)0
-rw-r--r--cpp/examples/old_api/pub-sub/pub-sub_topic_publisher.vcproj (renamed from cpp/examples/pub-sub/pub-sub_topic_publisher.vcproj)0
-rw-r--r--cpp/examples/old_api/pub-sub/topic_listener.cpp (renamed from cpp/examples/pub-sub/topic_listener.cpp)0
-rw-r--r--cpp/examples/old_api/pub-sub/topic_publisher.cpp (renamed from cpp/examples/pub-sub/topic_publisher.cpp)0
-rw-r--r--cpp/examples/old_api/pub-sub/verify (renamed from cpp/examples/pub-sub/verify)0
-rw-r--r--cpp/examples/old_api/pub-sub/verify.in (renamed from cpp/examples/pub-sub/verify.in)0
-rw-r--r--cpp/examples/old_api/request-response/CMakeLists.txt (renamed from cpp/examples/request-response/CMakeLists.txt)0
-rw-r--r--cpp/examples/old_api/request-response/Makefile.am (renamed from cpp/examples/request-response/Makefile.am)0
-rw-r--r--cpp/examples/old_api/request-response/client.cpp (renamed from cpp/examples/request-response/client.cpp)0
-rw-r--r--cpp/examples/old_api/request-response/request-response_client.vcproj (renamed from cpp/examples/request-response/request-response_client.vcproj)0
-rw-r--r--cpp/examples/old_api/request-response/request-response_server.vcproj (renamed from cpp/examples/request-response/request-response_server.vcproj)0
-rw-r--r--cpp/examples/old_api/request-response/server.cpp (renamed from cpp/examples/request-response/server.cpp)0
-rw-r--r--cpp/examples/old_api/request-response/verify (renamed from cpp/examples/request-response/verify)0
-rw-r--r--cpp/examples/old_api/request-response/verify.in (renamed from cpp/examples/request-response/verify.in)0
-rw-r--r--cpp/examples/old_api/tradedemo/CMakeLists.txt (renamed from cpp/examples/tradedemo/CMakeLists.txt)0
-rw-r--r--cpp/examples/old_api/tradedemo/Makefile.am (renamed from cpp/examples/tradedemo/Makefile.am)0
-rw-r--r--cpp/examples/old_api/tradedemo/declare_queues.cpp (renamed from cpp/examples/tradedemo/declare_queues.cpp)0
-rw-r--r--cpp/examples/old_api/tradedemo/topic_listener.cpp (renamed from cpp/examples/tradedemo/topic_listener.cpp)0
-rw-r--r--cpp/examples/old_api/tradedemo/topic_publisher.cpp (renamed from cpp/examples/tradedemo/topic_publisher.cpp)0
-rw-r--r--cpp/examples/old_api/tradedemo/tradedemo_declare_queues.vcproj (renamed from cpp/examples/tradedemo/tradedemo_declare_queues.vcproj)0
-rw-r--r--cpp/examples/old_api/tradedemo/tradedemo_topic_listener.vcproj (renamed from cpp/examples/tradedemo/tradedemo_topic_listener.vcproj)0
-rw-r--r--cpp/examples/old_api/tradedemo/tradedemo_topic_publisher.vcproj (renamed from cpp/examples/tradedemo/tradedemo_topic_publisher.vcproj)0
-rwxr-xr-xcpp/examples/old_api/verify (renamed from cpp/examples/verify)0
-rwxr-xr-xcpp/examples/old_api/verify_all (renamed from cpp/examples/verify_all)2
-rw-r--r--cpp/examples/old_api/xml-exchange/CMakeLists.txt (renamed from cpp/examples/xml-exchange/CMakeLists.txt)0
-rw-r--r--cpp/examples/old_api/xml-exchange/Makefile.am (renamed from cpp/examples/xml-exchange/Makefile.am)0
-rw-r--r--cpp/examples/old_api/xml-exchange/README.txt (renamed from cpp/examples/xml-exchange/README.txt)0
-rw-r--r--cpp/examples/old_api/xml-exchange/declare_queues.cpp (renamed from cpp/examples/xml-exchange/declare_queues.cpp)0
-rw-r--r--cpp/examples/old_api/xml-exchange/listener.cpp (renamed from cpp/examples/xml-exchange/listener.cpp)0
-rw-r--r--cpp/examples/old_api/xml-exchange/xml_producer.cpp (renamed from cpp/examples/xml-exchange/xml_producer.cpp)0
62 files changed, 50 insertions, 23 deletions
diff --git a/cpp/examples/CMakeLists.txt b/cpp/examples/CMakeLists.txt
index da8e39e944..76b89fa677 100644
--- a/cpp/examples/CMakeLists.txt
+++ b/cpp/examples/CMakeLists.txt
@@ -89,13 +89,6 @@ if (MSVC)
COMPONENT ${QPID_COMPONENT_EXAMPLES})
endif (MSVC)
-add_subdirectory(direct)
-add_subdirectory(failover)
-add_subdirectory(fanout)
-add_subdirectory(pub-sub)
-#add_subdirectory(qmf-agent)
add_subdirectory(qmf-console)
-add_subdirectory(request-response)
-add_subdirectory(tradedemo)
-add_subdirectory(xml-exchange)
add_subdirectory(messaging)
+add_subdirectory(old_api)
diff --git a/cpp/examples/Makefile.am b/cpp/examples/Makefile.am
index c6cc308d98..6b2bb73587 100644
--- a/cpp/examples/Makefile.am
+++ b/cpp/examples/Makefile.am
@@ -16,15 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
-SUBDIRS = direct fanout pub-sub request-response failover qmf-console tradedemo messaging
-if HAVE_XML
- SUBDIRS += xml-exchange
- broker_args = "--no-module-dir --data-dir \"\" --auth no --load-module $(top_builddir)/src/.libs/xml.so"
-endif
-if !HAVE_XML
- exclude_examples_regexp="xml" # Exclude XML examples.
- broker_args = "--no-module-dir --data-dir \"\" --auth no"
-endif
+SUBDIRS = qmf-console messaging old_api
MAKEDIST=.libs/Makefile
@@ -37,13 +29,9 @@ $(MAKEDIST): Makefile
examplesdir=$(pkgdatadir)/examples
dist_examples_DATA = README.txt $(MAKEDIST)
-EXTRA_DIST = README.verify verify verify_all examples.sln CMakeLists.txt
+EXTRA_DIST = examples.sln CMakeLists.txt
# For older versions of automake
abs_top_srcdir = @abs_top_srcdir@
abs_top_builddir = @abs_top_builddir@
-# Verify the examples in the buid tree.
-check-local:
- $(srcdir)/verify_all $(abs_top_srcdir)/.. $(abs_top_builddir) $(broker_args) $(exclude_examples_regexp)
-
diff --git a/cpp/examples/old_api/Makefile.am b/cpp/examples/old_api/Makefile.am
new file mode 100644
index 0000000000..75881ea202
--- /dev/null
+++ b/cpp/examples/old_api/Makefile.am
@@ -0,0 +1,46 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+SUBDIRS = direct pub-sub fanout request-response failover tradedemo
+if HAVE_XML
+ SUBDIRS += xml-exchange
+ broker_args = "--no-module-dir --data-dir \"\" --auth no --load-module $(top_builddir)/src/.libs/xml.so"
+endif
+if !HAVE_XML
+ exclude_examples_regexp="xml" # Exclude XML examples.
+ broker_args = "--no-module-dir --data-dir \"\" --auth no"
+endif
+
+MAKEDIST=.libs/Makefile
+
+$(MAKEDIST): Makefile
+ mkdir -p .libs
+ @(echo 'all clean:' ; \
+ echo ' for d in $(SUBDIRS) ; do $$(MAKE) -C $$$$d $$@ ; done' ; \
+ ) > $(MAKEDIST)
+
+EXTRA_DIST = README.verify verify verify_all
+
+# For older versions of automake
+abs_top_srcdir = @abs_top_srcdir@
+abs_top_builddir = @abs_top_builddir@
+
+# Verify the examples in the buid tree.
+check-local:
+ $(srcdir)/verify_all $(abs_top_srcdir)/.. $(abs_top_builddir) $(broker_args) $(exclude_examples_regexp)
+
diff --git a/cpp/examples/README.verify b/cpp/examples/old_api/README.verify
index e1370764c9..e1370764c9 100644
--- a/cpp/examples/README.verify
+++ b/cpp/examples/old_api/README.verify
diff --git a/cpp/examples/direct/CMakeLists.txt b/cpp/examples/old_api/direct/CMakeLists.txt
index 2ec1b2b813..2ec1b2b813 100644
--- a/cpp/examples/direct/CMakeLists.txt
+++ b/cpp/examples/old_api/direct/CMakeLists.txt
diff --git a/cpp/examples/direct/Makefile.am b/cpp/examples/old_api/direct/Makefile.am
index b07db2cfd6..b07db2cfd6 100644
--- a/cpp/examples/direct/Makefile.am
+++ b/cpp/examples/old_api/direct/Makefile.am
diff --git a/cpp/examples/direct/declare_queues.cpp b/cpp/examples/old_api/direct/declare_queues.cpp
index 9a51d1982b..9a51d1982b 100644
--- a/cpp/examples/direct/declare_queues.cpp
+++ b/cpp/examples/old_api/direct/declare_queues.cpp
diff --git a/cpp/examples/direct/direct_declare_queues.vcproj b/cpp/examples/old_api/direct/direct_declare_queues.vcproj
index 083474b9ef..083474b9ef 100644
--- a/cpp/examples/direct/direct_declare_queues.vcproj
+++ b/cpp/examples/old_api/direct/direct_declare_queues.vcproj
diff --git a/cpp/examples/direct/direct_direct_producer.vcproj b/cpp/examples/old_api/direct/direct_direct_producer.vcproj
index f091fbf291..f091fbf291 100644
--- a/cpp/examples/direct/direct_direct_producer.vcproj
+++ b/cpp/examples/old_api/direct/direct_direct_producer.vcproj
diff --git a/cpp/examples/direct/direct_listener.vcproj b/cpp/examples/old_api/direct/direct_listener.vcproj
index dce1d3ec28..dce1d3ec28 100644
--- a/cpp/examples/direct/direct_listener.vcproj
+++ b/cpp/examples/old_api/direct/direct_listener.vcproj
diff --git a/cpp/examples/direct/direct_producer.cpp b/cpp/examples/old_api/direct/direct_producer.cpp
index ecc9675189..ecc9675189 100644
--- a/cpp/examples/direct/direct_producer.cpp
+++ b/cpp/examples/old_api/direct/direct_producer.cpp
diff --git a/cpp/examples/direct/listener.cpp b/cpp/examples/old_api/direct/listener.cpp
index 38bf24ec41..38bf24ec41 100644
--- a/cpp/examples/direct/listener.cpp
+++ b/cpp/examples/old_api/direct/listener.cpp
diff --git a/cpp/examples/direct/verify b/cpp/examples/old_api/direct/verify
index f598bacc1f..f598bacc1f 100644
--- a/cpp/examples/direct/verify
+++ b/cpp/examples/old_api/direct/verify
diff --git a/cpp/examples/direct/verify.in b/cpp/examples/old_api/direct/verify.in
index d1e95f1151..d1e95f1151 100644
--- a/cpp/examples/direct/verify.in
+++ b/cpp/examples/old_api/direct/verify.in
diff --git a/cpp/examples/failover/CMakeLists.txt b/cpp/examples/old_api/failover/CMakeLists.txt
index 05db8fad51..05db8fad51 100644
--- a/cpp/examples/failover/CMakeLists.txt
+++ b/cpp/examples/old_api/failover/CMakeLists.txt
diff --git a/cpp/examples/failover/Makefile.am b/cpp/examples/old_api/failover/Makefile.am
index 48846fdf79..48846fdf79 100644
--- a/cpp/examples/failover/Makefile.am
+++ b/cpp/examples/old_api/failover/Makefile.am
diff --git a/cpp/examples/failover/declare_queues.cpp b/cpp/examples/old_api/failover/declare_queues.cpp
index a677870c53..a677870c53 100644
--- a/cpp/examples/failover/declare_queues.cpp
+++ b/cpp/examples/old_api/failover/declare_queues.cpp
diff --git a/cpp/examples/failover/failover_declare_queues.vcproj b/cpp/examples/old_api/failover/failover_declare_queues.vcproj
index c87c72affd..c87c72affd 100644
--- a/cpp/examples/failover/failover_declare_queues.vcproj
+++ b/cpp/examples/old_api/failover/failover_declare_queues.vcproj
diff --git a/cpp/examples/failover/failover_replaying_sender.vcproj b/cpp/examples/old_api/failover/failover_replaying_sender.vcproj
index 6d22fa6770..6d22fa6770 100644
--- a/cpp/examples/failover/failover_replaying_sender.vcproj
+++ b/cpp/examples/old_api/failover/failover_replaying_sender.vcproj
diff --git a/cpp/examples/failover/failover_resuming_receiver.vcproj b/cpp/examples/old_api/failover/failover_resuming_receiver.vcproj
index ba5061e248..ba5061e248 100644
--- a/cpp/examples/failover/failover_resuming_receiver.vcproj
+++ b/cpp/examples/old_api/failover/failover_resuming_receiver.vcproj
diff --git a/cpp/examples/failover/replaying_sender.cpp b/cpp/examples/old_api/failover/replaying_sender.cpp
index 22a7e1ebd3..22a7e1ebd3 100644
--- a/cpp/examples/failover/replaying_sender.cpp
+++ b/cpp/examples/old_api/failover/replaying_sender.cpp
diff --git a/cpp/examples/failover/resuming_receiver.cpp b/cpp/examples/old_api/failover/resuming_receiver.cpp
index d1886ce861..d1886ce861 100644
--- a/cpp/examples/failover/resuming_receiver.cpp
+++ b/cpp/examples/old_api/failover/resuming_receiver.cpp
diff --git a/cpp/examples/fanout/CMakeLists.txt b/cpp/examples/old_api/fanout/CMakeLists.txt
index 3f89d67650..3f89d67650 100644
--- a/cpp/examples/fanout/CMakeLists.txt
+++ b/cpp/examples/old_api/fanout/CMakeLists.txt
diff --git a/cpp/examples/fanout/Makefile.am b/cpp/examples/old_api/fanout/Makefile.am
index 6e2e821eae..6e2e821eae 100644
--- a/cpp/examples/fanout/Makefile.am
+++ b/cpp/examples/old_api/fanout/Makefile.am
diff --git a/cpp/examples/fanout/fanout_fanout_producer.vcproj b/cpp/examples/old_api/fanout/fanout_fanout_producer.vcproj
index daff5f3cf0..daff5f3cf0 100644
--- a/cpp/examples/fanout/fanout_fanout_producer.vcproj
+++ b/cpp/examples/old_api/fanout/fanout_fanout_producer.vcproj
diff --git a/cpp/examples/fanout/fanout_listener.vcproj b/cpp/examples/old_api/fanout/fanout_listener.vcproj
index f0e91b7dc6..f0e91b7dc6 100644
--- a/cpp/examples/fanout/fanout_listener.vcproj
+++ b/cpp/examples/old_api/fanout/fanout_listener.vcproj
diff --git a/cpp/examples/fanout/fanout_producer.cpp b/cpp/examples/old_api/fanout/fanout_producer.cpp
index decd4d314d..decd4d314d 100644
--- a/cpp/examples/fanout/fanout_producer.cpp
+++ b/cpp/examples/old_api/fanout/fanout_producer.cpp
diff --git a/cpp/examples/fanout/listener.cpp b/cpp/examples/old_api/fanout/listener.cpp
index cd3071c29a..cd3071c29a 100644
--- a/cpp/examples/fanout/listener.cpp
+++ b/cpp/examples/old_api/fanout/listener.cpp
diff --git a/cpp/examples/fanout/verify b/cpp/examples/old_api/fanout/verify
index 2eaadff56b..2eaadff56b 100644
--- a/cpp/examples/fanout/verify
+++ b/cpp/examples/old_api/fanout/verify
diff --git a/cpp/examples/fanout/verify.in b/cpp/examples/old_api/fanout/verify.in
index 8f8612ce67..8f8612ce67 100644
--- a/cpp/examples/fanout/verify.in
+++ b/cpp/examples/old_api/fanout/verify.in
diff --git a/cpp/examples/pub-sub/CMakeLists.txt b/cpp/examples/old_api/pub-sub/CMakeLists.txt
index 961de06d5a..961de06d5a 100644
--- a/cpp/examples/pub-sub/CMakeLists.txt
+++ b/cpp/examples/old_api/pub-sub/CMakeLists.txt
diff --git a/cpp/examples/pub-sub/Makefile.am b/cpp/examples/old_api/pub-sub/Makefile.am
index 62658ebe94..62658ebe94 100644
--- a/cpp/examples/pub-sub/Makefile.am
+++ b/cpp/examples/old_api/pub-sub/Makefile.am
diff --git a/cpp/examples/pub-sub/pub-sub_topic_listener.vcproj b/cpp/examples/old_api/pub-sub/pub-sub_topic_listener.vcproj
index aa0b3bcaa3..aa0b3bcaa3 100644
--- a/cpp/examples/pub-sub/pub-sub_topic_listener.vcproj
+++ b/cpp/examples/old_api/pub-sub/pub-sub_topic_listener.vcproj
diff --git a/cpp/examples/pub-sub/pub-sub_topic_publisher.vcproj b/cpp/examples/old_api/pub-sub/pub-sub_topic_publisher.vcproj
index 76e51df4df..76e51df4df 100644
--- a/cpp/examples/pub-sub/pub-sub_topic_publisher.vcproj
+++ b/cpp/examples/old_api/pub-sub/pub-sub_topic_publisher.vcproj
diff --git a/cpp/examples/pub-sub/topic_listener.cpp b/cpp/examples/old_api/pub-sub/topic_listener.cpp
index d38a806303..d38a806303 100644
--- a/cpp/examples/pub-sub/topic_listener.cpp
+++ b/cpp/examples/old_api/pub-sub/topic_listener.cpp
diff --git a/cpp/examples/pub-sub/topic_publisher.cpp b/cpp/examples/old_api/pub-sub/topic_publisher.cpp
index aed5f8f033..aed5f8f033 100644
--- a/cpp/examples/pub-sub/topic_publisher.cpp
+++ b/cpp/examples/old_api/pub-sub/topic_publisher.cpp
diff --git a/cpp/examples/pub-sub/verify b/cpp/examples/old_api/pub-sub/verify
index 528d2f401e..528d2f401e 100644
--- a/cpp/examples/pub-sub/verify
+++ b/cpp/examples/old_api/pub-sub/verify
diff --git a/cpp/examples/pub-sub/verify.in b/cpp/examples/old_api/pub-sub/verify.in
index 6413c5c788..6413c5c788 100644
--- a/cpp/examples/pub-sub/verify.in
+++ b/cpp/examples/old_api/pub-sub/verify.in
diff --git a/cpp/examples/request-response/CMakeLists.txt b/cpp/examples/old_api/request-response/CMakeLists.txt
index 873a0cfa86..873a0cfa86 100644
--- a/cpp/examples/request-response/CMakeLists.txt
+++ b/cpp/examples/old_api/request-response/CMakeLists.txt
diff --git a/cpp/examples/request-response/Makefile.am b/cpp/examples/old_api/request-response/Makefile.am
index 48b3d989f0..48b3d989f0 100644
--- a/cpp/examples/request-response/Makefile.am
+++ b/cpp/examples/old_api/request-response/Makefile.am
diff --git a/cpp/examples/request-response/client.cpp b/cpp/examples/old_api/request-response/client.cpp
index 679d1c5fc2..679d1c5fc2 100644
--- a/cpp/examples/request-response/client.cpp
+++ b/cpp/examples/old_api/request-response/client.cpp
diff --git a/cpp/examples/request-response/request-response_client.vcproj b/cpp/examples/old_api/request-response/request-response_client.vcproj
index 5f9eadde36..5f9eadde36 100644
--- a/cpp/examples/request-response/request-response_client.vcproj
+++ b/cpp/examples/old_api/request-response/request-response_client.vcproj
diff --git a/cpp/examples/request-response/request-response_server.vcproj b/cpp/examples/old_api/request-response/request-response_server.vcproj
index 54352b9f46..54352b9f46 100644
--- a/cpp/examples/request-response/request-response_server.vcproj
+++ b/cpp/examples/old_api/request-response/request-response_server.vcproj
diff --git a/cpp/examples/request-response/server.cpp b/cpp/examples/old_api/request-response/server.cpp
index 65a4717b35..65a4717b35 100644
--- a/cpp/examples/request-response/server.cpp
+++ b/cpp/examples/old_api/request-response/server.cpp
diff --git a/cpp/examples/request-response/verify b/cpp/examples/old_api/request-response/verify
index dee82413e7..dee82413e7 100644
--- a/cpp/examples/request-response/verify
+++ b/cpp/examples/old_api/request-response/verify
diff --git a/cpp/examples/request-response/verify.in b/cpp/examples/old_api/request-response/verify.in
index 7925dc5671..7925dc5671 100644
--- a/cpp/examples/request-response/verify.in
+++ b/cpp/examples/old_api/request-response/verify.in
diff --git a/cpp/examples/tradedemo/CMakeLists.txt b/cpp/examples/old_api/tradedemo/CMakeLists.txt
index e61fc1467d..e61fc1467d 100644
--- a/cpp/examples/tradedemo/CMakeLists.txt
+++ b/cpp/examples/old_api/tradedemo/CMakeLists.txt
diff --git a/cpp/examples/tradedemo/Makefile.am b/cpp/examples/old_api/tradedemo/Makefile.am
index f4d8686d05..f4d8686d05 100644
--- a/cpp/examples/tradedemo/Makefile.am
+++ b/cpp/examples/old_api/tradedemo/Makefile.am
diff --git a/cpp/examples/tradedemo/declare_queues.cpp b/cpp/examples/old_api/tradedemo/declare_queues.cpp
index b1f2cc3510..b1f2cc3510 100644
--- a/cpp/examples/tradedemo/declare_queues.cpp
+++ b/cpp/examples/old_api/tradedemo/declare_queues.cpp
diff --git a/cpp/examples/tradedemo/topic_listener.cpp b/cpp/examples/old_api/tradedemo/topic_listener.cpp
index c488e7fb69..c488e7fb69 100644
--- a/cpp/examples/tradedemo/topic_listener.cpp
+++ b/cpp/examples/old_api/tradedemo/topic_listener.cpp
diff --git a/cpp/examples/tradedemo/topic_publisher.cpp b/cpp/examples/old_api/tradedemo/topic_publisher.cpp
index e22c185bc7..e22c185bc7 100644
--- a/cpp/examples/tradedemo/topic_publisher.cpp
+++ b/cpp/examples/old_api/tradedemo/topic_publisher.cpp
diff --git a/cpp/examples/tradedemo/tradedemo_declare_queues.vcproj b/cpp/examples/old_api/tradedemo/tradedemo_declare_queues.vcproj
index 34b5cb3b2b..34b5cb3b2b 100644
--- a/cpp/examples/tradedemo/tradedemo_declare_queues.vcproj
+++ b/cpp/examples/old_api/tradedemo/tradedemo_declare_queues.vcproj
diff --git a/cpp/examples/tradedemo/tradedemo_topic_listener.vcproj b/cpp/examples/old_api/tradedemo/tradedemo_topic_listener.vcproj
index 965be2e88b..965be2e88b 100644
--- a/cpp/examples/tradedemo/tradedemo_topic_listener.vcproj
+++ b/cpp/examples/old_api/tradedemo/tradedemo_topic_listener.vcproj
diff --git a/cpp/examples/tradedemo/tradedemo_topic_publisher.vcproj b/cpp/examples/old_api/tradedemo/tradedemo_topic_publisher.vcproj
index 77fd511e15..77fd511e15 100644
--- a/cpp/examples/tradedemo/tradedemo_topic_publisher.vcproj
+++ b/cpp/examples/old_api/tradedemo/tradedemo_topic_publisher.vcproj
diff --git a/cpp/examples/verify b/cpp/examples/old_api/verify
index 9a1ed078d6..9a1ed078d6 100755
--- a/cpp/examples/verify
+++ b/cpp/examples/old_api/verify
diff --git a/cpp/examples/verify_all b/cpp/examples/old_api/verify_all
index cb4c5283fa..fbe51377b6 100755
--- a/cpp/examples/verify_all
+++ b/cpp/examples/old_api/verify_all
@@ -32,7 +32,7 @@ trap "$qpidd -q" exit
QPID_PORT=`$qpidd -dp0 $broker_args` || { echo "Can't run qpidd" ; exit 1; }
export QPID_PORT
-find="find $topsrcdir/cpp/examples"
+find="find $topsrcdir/cpp/examples/old_api"
find="$find -mindepth 2 -name verify"
all_examples=`$find`
diff --git a/cpp/examples/xml-exchange/CMakeLists.txt b/cpp/examples/old_api/xml-exchange/CMakeLists.txt
index 3fea47a208..3fea47a208 100644
--- a/cpp/examples/xml-exchange/CMakeLists.txt
+++ b/cpp/examples/old_api/xml-exchange/CMakeLists.txt
diff --git a/cpp/examples/xml-exchange/Makefile.am b/cpp/examples/old_api/xml-exchange/Makefile.am
index 9001e3fa61..9001e3fa61 100644
--- a/cpp/examples/xml-exchange/Makefile.am
+++ b/cpp/examples/old_api/xml-exchange/Makefile.am
diff --git a/cpp/examples/xml-exchange/README.txt b/cpp/examples/old_api/xml-exchange/README.txt
index 85caebe352..85caebe352 100644
--- a/cpp/examples/xml-exchange/README.txt
+++ b/cpp/examples/old_api/xml-exchange/README.txt
diff --git a/cpp/examples/xml-exchange/declare_queues.cpp b/cpp/examples/old_api/xml-exchange/declare_queues.cpp
index ad08642019..ad08642019 100644
--- a/cpp/examples/xml-exchange/declare_queues.cpp
+++ b/cpp/examples/old_api/xml-exchange/declare_queues.cpp
diff --git a/cpp/examples/xml-exchange/listener.cpp b/cpp/examples/old_api/xml-exchange/listener.cpp
index 11bcb9f669..11bcb9f669 100644
--- a/cpp/examples/xml-exchange/listener.cpp
+++ b/cpp/examples/old_api/xml-exchange/listener.cpp
diff --git a/cpp/examples/xml-exchange/xml_producer.cpp b/cpp/examples/old_api/xml-exchange/xml_producer.cpp
index af1a7e60c7..af1a7e60c7 100644
--- a/cpp/examples/xml-exchange/xml_producer.cpp
+++ b/cpp/examples/old_api/xml-exchange/xml_producer.cpp