summaryrefslogtreecommitdiff
path: root/cpp/examples
Commit message (Collapse)AuthorAgeFilesLines
* synchronized with trunk except for ruby dirRafael H. Schloming2009-12-2699-231/+16267
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid.rnr@893970 13f79535-47bb-0310-9956-ffa450edef68
* Added some extra info to example doc for xml exchange.Gordon Sim2008-08-111-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@684785 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1174 - Management updates for remote agentsTed Ross2008-07-312-18/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@681362 13f79535-47bb-0310-9956-ffa450edef68
* Exclude core verify script from verifications run when python examples ↵Gordon Sim2008-07-251-1/+1
| | | | | | cannot be found. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@679756 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1170 - Removed spurious include from exampleTed Ross2008-07-161-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@677412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1170 - Provide a better factory for creation and deletion of the ↵Ted Ross2008-07-161-1/+2
| | | | | | management agent git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@677408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1174 Remote Management Agent for management of external componentsTed Ross2008-07-113-0/+239
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@676067 13f79535-47bb-0310-9956-ffa450edef68
* * remove generated Makefile from svnGordon Sim2008-06-252-551/+3
| | | | | | | | * add back check for exclsuions where xml exchange support is not available git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671491 13f79535-47bb-0310-9956-ffa450edef68
* Fix path problems in examples make checkAlan Conway2008-06-233-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@670571 13f79535-47bb-0310-9956-ffa450edef68
* Fix build problems in examples on older automakesAlan Conway2008-06-233-9/+551
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@670568 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Manuel Teira: ↵Alan Conway2008-06-2054-246/+217
| | | | | | | | | | | | | | https://issues.apache.org/jira/secure/CommentAssignIssue!default.jspa?action=5&id=12398038 - Use standard automake makefiles to build cpp/examples. - Rationalize examples directory structure. Additions to patch: - Fix for VPATH builds. - Fix make distcheck (finally!) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@670066 13f79535-47bb-0310-9956-ffa450edef68
* Improvements to comment clarity.Alan Conway2008-06-123-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667176 13f79535-47bb-0310-9956-ffa450edef68
* 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/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