summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated doxygen comments in qpid/client/*.hAlan Conway2008-06-096-136/+77
| | | | | | | Changed request-response example to use SubscriptionManager like the others. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@665891 13f79535-47bb-0310-9956-ffa450edef68
* disable use of module-dir when running examplesGordon Sim2008-06-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@662390 13f79535-47bb-0310-9956-ffa450edef68
* Add short sleep before killing python server to ensure it has had a chance ↵Gordon Sim2008-05-301-0/+1
| | | | | | to send the message acknowledgement. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@661698 13f79535-47bb-0310-9956-ffa450edef68
* Use symbolic constants for message flow values.Alan Conway2008-05-272-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@660625 13f79535-47bb-0310-9956-ffa450edef68
* Corrected examples for new session API.Alan Conway2008-05-266-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@660265 13f79535-47bb-0310-9956-ffa450edef68
* Changes to Session API:Alan Conway2008-05-2612-25/+32
| | | | | | | | | | | - Session is synchronous, no futures. - AsyncSession is async, returns futures. - Conversion functions sync(s) async(s) return a sync/async view of session s. - Connection::newSession - takes name, no timeout - SessionBase::getId - returns SessionId not UUID. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@660258 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error in examples.Alan Conway2008-05-262-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@660173 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1034 by Senaka FernandoCarl C. Trieloff2008-05-161-0/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@601468 13f79535-47bb-0310-9956-ffa450edef68