summaryrefslogtreecommitdiff
path: root/cpp/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-1034 by Senaka FernandoCarl C. Trieloff2008-05-161-0/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656924 13f79535-47bb-0310-9956-ffa450edef68
* - Enable python tets and examples in make rpmbuild.Alan Conway2008-05-151-4/+2
| | | | | | | - Remove hard-coded amqp.xml paths from python examples. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656853 13f79535-47bb-0310-9956-ffa450edef68
* Fix example check in rpmbuild.Alan Conway2008-05-142-8/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656427 13f79535-47bb-0310-9956-ffa450edef68
* Exclude XML example if XML not enabled.Alan Conway2008-05-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656373 13f79535-47bb-0310-9956-ffa450edef68
* Exclude XML example checks if XML support is not available.Alan Conway2008-05-142-18/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656326 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo in examples.Alan Conway2008-05-131-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655965 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1044: Part of patch from Jonathan Robie + changes to verify scripts to ↵Gordon Sim2008-05-129-86/+90
| | | | | | keep automated testing working. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655568 13f79535-47bb-0310-9956-ffa450edef68
* From https://issues.apache.org/jira/browse/QPID-879 contributed by Jonathan ↵Alan Conway2008-05-066-4/+314
| | | | | | | | | Robie. XML exchange allowing messages to be routed base on XQuery expressions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653854 13f79535-47bb-0310-9956-ffa450edef68
* Turn auth back on by default for c++ broker (only if SASL libs are available)Gordon Sim2008-05-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652591 13f79535-47bb-0310-9956-ffa450edef68
* QPID-966: applied patch from rajith; altered to use uuid as session name; ↵Gordon Sim2008-05-0110-13/+13
| | | | | | | | | | updated verify scripts for automated testing; re-enabled automated testing in c++ build git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652469 13f79535-47bb-0310-9956-ffa450edef68
* QPID-971 - Senaka Fernando, I also edited the README in a few places.Carl C. Trieloff2008-04-282-0/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652041 13f79535-47bb-0310-9956-ffa450edef68
* Fix building examples when using a VPATH buildAndrew Stitcher2008-04-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651474 13f79535-47bb-0310-9956-ffa450edef68
* QPID-920: converted c++ client to use final 0-10 protocolGordon Sim2008-04-205-11/+13
| | | | | | | | | | * connection handler converted to using invoker & proxy and updated to final method defs * SessionCore & ExecutionHandler replace by SessionImpl * simplified handling of completion & results, removed handling of responses git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649915 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile errors/warnings with gcc 4.3Alan Conway2008-03-251-2/+5
| | | | | | | | | | | | | - added missing #includes that were implicitly included via old headers. - add namespace-qualifiers to fix "changes meaning of name" warnings. - ./qpid/ptr_map.h:51: fixed "qualified return value" warning. - use const char* for "conversion from string constant to ‘char*’" warnings Applied patch from https://issues.apache.org/jira/browse/QPID-869 remove depenency on boost/date_time, causes warnings with gcc 4.3. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@640806 13f79535-47bb-0310-9956-ffa450edef68
* Fix verify script problemAlan Conway2008-02-213-15/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629796 13f79535-47bb-0310-9956-ffa450edef68
* Update examples with ASYNC mode to newSessionAlan Conway2008-02-209-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629510 13f79535-47bb-0310-9956-ffa450edef68
* Fixed race condition in the examples: when a listener program printsAlan Conway2008-02-182-36/+43
| | | | | | | | | | | | | its "ready" message, the commands it has sent to the broker may not yet be complete. This results in sporadic lost messages if the producer is started immediately (e.g. by a script.) - Added Session::sync(), wait till all commands to date have completed. - Call sync() before printing "ready" in listener example programs - Removed sleep from verify script git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@628875 13f79535-47bb-0310-9956-ffa450edef68
* Fix problem with verify script in ../../bin.Alan Conway2008-02-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@628846 13f79535-47bb-0310-9956-ffa450edef68
* Added sleep to verify script to avoid startup races.Alan Conway2008-02-181-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@628827 13f79535-47bb-0310-9956-ffa450edef68
* Updated c++ and python fanout examples and verify scripts.Alan Conway2008-02-1510-109/+106
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@628169 13f79535-47bb-0310-9956-ffa450edef68
* Fix verify error in Makefile.amAlan Conway2008-02-122-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627141 13f79535-47bb-0310-9956-ffa450edef68
* Create a tar file of verify scripts suitable for untarring into and ↵Alan Conway2008-02-123-88/+12
| | | | | | installed examples directory. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627128 13f79535-47bb-0310-9956-ffa450edef68
* cpp/examples/direct, fanout: Converted listener.cpp to SubscriptionManager.Alan Conway2008-02-0828-214/+265
| | | | | | | | | All python/cpp combos run as part of cpp/examples make check. Fixed problems with verify scripts and VPATH builds. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@620014 13f79535-47bb-0310-9956-ffa450edef68
* Added verify scripts to run mixed python/cpp examples.Alan Conway2008-02-0816-15/+214
| | | | | | bin/verify_all runs all examples. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619941 13f79535-47bb-0310-9956-ffa450edef68
* Refactored verify scripts, added verify for python Examples.Alan Conway2008-02-086-93/+31
| | | | | | | | | | | | | | To verify an example: <qpid-trunk>/bin/verify <example-dir> See comments in bin/verify for more details. Changes: - Each example dir has its own verify script and verify.in. - Added sys.stdout.flush() to som python examples so verify can tell when they're ready. - Made python examples svn:executable. - C++ examples/Makefile.am runs python examples git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619903 13f79535-47bb-0310-9956-ffa450edef68
* Disable QPID_DATA_DIR for verify tests.Alan Conway2008-02-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619611 13f79535-47bb-0310-9956-ffa450edef68
* Fix error in script - not passing $ARGS to background processes.Alan Conway2008-01-241-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@614880 13f79535-47bb-0310-9956-ffa450edef68
* verify: kill any stray child processes on exit.Alan Conway2008-01-231-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@614648 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug in verify - was not properly killing ./server process inAlan Conway2008-01-235-51/+45
| | | | | | | request-response example. Streamlined example scripts a little. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@614646 13f79535-47bb-0310-9956-ffa450edef68
* examples/Makefile.am:Alan Conway2008-01-233-2/+8
| | | | | | | | | | | | | | - verify.tar target, tars up verify script for easy transport to installation. examples/examples/pub-sub/verify.in: fixed typeo. examples/verify: don't kill the pub-sub listener, it should exit gracefully. src/qpid/client/Dispatcher.cpp src/qpid/client/SubscriptionManager.cpp - Fix uninitialized autoStop member variable. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@614587 13f79535-47bb-0310-9956-ffa450edef68
* Take space out the queue name as it currently upsets the java client when ↵Gordon Sim2008-01-232-7/+7
| | | | | | used in the reply-to field. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@614569 13f79535-47bb-0310-9956-ffa450edef68
* Add optional host, port arguments to all example clients.Alan Conway2008-01-1814-45/+59
| | | | | | | | | | Verify can start private broker & pass host/port to examples, by default it still uses local host/standard port. Added host:port to Socket error messages. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@613018 13f79535-47bb-0310-9956-ffa450edef68
* Use amq.direct in reply to (as queue is bound to that exchange anyway)Gordon Sim2008-01-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@612810 13f79535-47bb-0310-9956-ffa450edef68
* examples/Makefile.am: Fixed build failures.Alan Conway2007-12-145-429/+13
| | | | | | | | | | | Removed unused files: examples/examples/direct/direct_persistent_config_queues.cpp examples/examples/direct/direct_persistent_publisher.cpp examples/examples/direct/direct_publisher.cpp examples/examples/fanout/fanout_publisher.cpp git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@604291 13f79535-47bb-0310-9956-ffa450edef68
* verify: starts its own broker when run in build.Alan Conway2007-12-144-180/+12
| | | | | | | Makefile.am: fixed verify issues. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@604249 13f79535-47bb-0310-9956-ffa450edef68
* From: Jonathan Robie <jrobie@redhat.com>Alan Conway2007-12-1415-62/+448
| | | | | | | | | - Updated examples and verify script. From me: Integration of verify in make check. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@604235 13f79535-47bb-0310-9956-ffa450edef68
* examples/verify: Modified so it can be run in a checkout or in an installation.Alan Conway2007-12-131-5/+6
| | | | | | | | checkout: cd cpp/examples/examples; ../verify installed: cd <installed>/examples; <checkout>/cpp/examples/verify git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@604031 13f79535-47bb-0310-9956-ffa450edef68
* Make sure abs_srcdir is defined (for older automake versions)Alan Conway2007-12-101-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@602984 13f79535-47bb-0310-9956-ffa450edef68
* src/tests/Makefile.am: Add BrokerFixture.h to sourc listsAlan Conway2007-12-071-1/+1
| | | | | | | examples/Makefile.am: Fix typo. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@602239 13f79535-47bb-0310-9956-ffa450edef68
* examples/verifyAlan Conway2007-12-077-50/+208
| | | | | | | | | | | | | - run installed examples and verify their output. examples/examples/*/verify.in - expected output of example, may be filtered/sorted for some examples. examples/Makefile.am - add verify to installcheck target. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@602140 13f79535-47bb-0310-9956-ffa450edef68
* Remove reference to deleted fileGordon Sim2007-12-061-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@601723 13f79535-47bb-0310-9956-ffa450edef68
* Fixed minor problems with example Makefiles.Alan Conway2007-12-055-120/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@601538 13f79535-47bb-0310-9956-ffa450edef68
* Removed deleted programGordon Sim2007-12-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@601468 13f79535-47bb-0310-9956-ffa450edef68
* Removed line for deleted file.Gordon Sim2007-12-051-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@601407 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary file.Gordon Sim2007-12-052-131/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@601392 13f79535-47bb-0310-9956-ffa450edef68
* examples/Makefile.am:Alan Conway2007-12-041-8/+6
| | | | | | | | | | - installcheck target builds installed examples. - Automatically run by rpmbuild and distcheck targets. rubygen/generate: fixed packaging error in rubygen.mk src/Makefile.am: fixed packaging error. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@601125 13f79535-47bb-0310-9956-ffa450edef68
* Package examples in rpm %doc directory.Alan Conway2007-11-0921-92/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593638 13f79535-47bb-0310-9956-ffa450edef68
* Functions for scripts that verify examples.Alan Conway2007-11-091-0/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593531 13f79535-47bb-0310-9956-ffa450edef68
* Makefile to build/distribute examples.Alan Conway2007-11-091-9/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593415 13f79535-47bb-0310-9956-ffa450edef68
* QPID-676: Jonathan Robie's C++ examples.Alan Conway2007-11-0919-110/+1618
| | | | | | | | | | | | | | | Made the following alterations for recent C++ API changes: - use arg:: namespace for Session keyword arguments. - removed trailing _ on session method names. cpp/examples/Makefile.am calls make in each example directory with flags to build examples from headers/libraries SVN checkout. Examples themselves have a plain Makefile (not automake) which will work as is if qpid is installed in standard places. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593402 13f79535-47bb-0310-9956-ffa450edef68