summaryrefslogtreecommitdiff
path: root/cpp/examples
Commit message (Collapse)AuthorAgeFilesLines
* I have added the license header to the files included in this commit.Rajith Muditha Attapattu2010-02-121-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909641 13f79535-47bb-0310-9956-ffa450edef68
* Add BOOST_ALL_DYN_LINK to projects' Visual Studio C++ preprocessor settings; ↵Stephen D. Huston2010-02-0928-112/+112
| | | | | | resolves QPID-2398. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@908127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: change format of connection options string to match address ↵Gordon Sim2010-01-2810-12/+24
| | | | | | options; make open() a non-static method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: change cancel() to close() for consistencyGordon Sim2010-01-274-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903599 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2323: add a Uuid type and allow it as the value of a Variant.Gordon Sim2010-01-152-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added some of the missing standard message headers. Added two new ↵Gordon Sim2010-01-121-0/+2
| | | | | | test utilities for sending and receiving with the new API (both still works in progress). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898296 13f79535-47bb-0310-9956-ffa450edef68
* Add vcproj files for messaging/drain and messaging/spout; resolves QPID-2299Stephen D. Huston2010-01-054-181/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896242 13f79535-47bb-0310-9956-ffa450edef68
* Remove old vcproj files not in use any longer; resolves QPID-2301Stephen D. Huston2010-01-051-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896238 13f79535-47bb-0310-9956-ffa450edef68
* The spout/drain examples have qpid::Options usage which inlines the ↵Stephen D. Huston2009-12-152-9/+5
| | | | | | boost::program_options usage. This requires linking boost_program_options in the examples, not via qpidcommon. Adjust the Windows options to handle this. Resolves QPID-2212. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890888 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2212: revert previous attempt at fix; disable on windows onlyGordon Sim2009-12-151-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890683 13f79535-47bb-0310-9956-ffa450edef68
* Don't explicitly name Boost libs in Windows link; fixes QPID-2271Stephen D. Huston2009-12-141-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890473 13f79535-47bb-0310-9956-ffa450edef68
* Corrected setting of auto-delete in client-server example; configured server ↵Gordon Sim2009-12-142-2/+2
| | | | | | address to create queue if needed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890239 13f79535-47bb-0310-9956-ffa450edef68
* Clean up test environment variables, prepare for running more tests in cmake.Alan Conway2009-11-301-1/+2
| | | | | | | | | - consolidate test env vars in test_env.sh, also useful from command line. - generate test_env.sh with autoconf/cmake to cover library location differences. - Remove explicit mention of .libs, use $QPID_MODULE_DIR to load modules. - Fix run_test to run valgrind under cmake git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885557 13f79535-47bb-0310-9956-ffa450edef68
* Simplified the normalize function (as suggested by aconway) to be compatible ↵Ted Ross2009-11-301-12/+5
| | | | | | with older shells. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885443 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2219 - Example tests hang when run in a vpath buildTed Ross2009-11-253-9/+30
| | | | | | | Verify scripts updated to operate in vpath builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884231 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added readme with some context and description of using the drain ↵Gordon Sim2009-11-231-0/+146
| | | | | | & spout examples to explore uses of the address syntax - (a work in progress!). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@883433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2212: disable spout/drain under cmake until windows build issues are ↵Gordon Sim2009-11-201-2/+4
| | | | | | resolved git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882627 13f79535-47bb-0310-9956-ffa450edef68
* Change spout option name to match equivalent python exampleGordon Sim2009-11-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882500 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2212: Attempt to fix windows build of drain/spout examples by linking ↵Gordon Sim2009-11-201-2/+2
| | | | | | in boost program options git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882447 13f79535-47bb-0310-9956-ffa450edef68
* Removed the Visual Studio solution/project files, as these are now generated ↵Stephen D. Huston2009-11-2010-2/+11
| | | | | | by CMake. Added CMakeLists.txt files to Makefile.am, and all other needed support files so that the 'make dist' supplies all needed items for building a release kit on Windows. Fixes QPID-2134 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882373 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Add spout & drain examples as per python clientGordon Sim2009-11-194-1/+325
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882118 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Fix client example to include new delimiter in addressGordon Sim2009-11-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880820 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Introduce ';' as delimiter bewteen name (and optionally subject) ↵Gordon Sim2009-11-161-1/+1
| | | | | | and the options map in address syntax. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880819 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'next_receiver_changes' into trunkGordon Sim2009-11-164-170/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880718 13f79535-47bb-0310-9956-ffa450edef68
* Fix verify to run c++ and mixed c++/python examples.Alan Conway2009-11-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835894 13f79535-47bb-0310-9956-ffa450edef68
* Correct the changed vcproj files in the Makefile.am files; added the ↵Stephen D. Huston2009-11-134-8/+20
| | | | | | EXTRA_DIST for messaging/Makefile.am. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835679 13f79535-47bb-0310-9956-ffa450edef68
* Add new vcproj files for the messaging examples; these go in the Windows ↵Stephen D. Huston2009-11-1310-0/+4110
| | | | | | installer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835653 13f79535-47bb-0310-9956-ffa450edef68
* Move the kit-building settings out of CMakeLists.txt to a new file, ↵Stephen D. Huston2009-11-1326-274/+808
| | | | | | BuildInstallSettings.cmake. Changed the examples's vcproj files to refer to the installed header/lib locations instead of in the source tree locations; also adjusted the names to match directories and look sensible in the solution list. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835652 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2179 - example qmf-agent occasionally crashes on shutdownTed Ross2009-11-121-3/+7
| | | | | | | Committed patch from Ken Giusti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835392 13f79535-47bb-0310-9956-ffa450edef68
* Added support for address parsing, create/assert/delete policiesGordon Sim2009-11-113-19/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834869 13f79535-47bb-0310-9956-ffa450edef68
* define content- and view- classes separately from message classGordon Sim2009-10-029-33/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821000 13f79535-47bb-0310-9956-ffa450edef68
* Updated library dependenciesTed Ross2009-09-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820472 13f79535-47bb-0310-9956-ffa450edef68
* Hide internal message ID behind APIGordon Sim2009-08-261-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@808121 13f79535-47bb-0310-9956-ffa450edef68
* Fixed minor issues from r807731 to build correctly on Fedora 10 (x86_64).Ted Ross2009-08-252-658/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807779 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Initial checkin of high level messaging api for c++Gordon Sim2009-08-2515-1/+1457
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807731 13f79535-47bb-0310-9956-ffa450edef68
* Updated the include path to use the new cpp/includes directory.Ted Ross2009-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800487 13f79535-47bb-0310-9956-ffa450edef68
* Separate generated public header files from non-public headers, generated ↵Alan Conway2009-07-272-2/+3
| | | | | | | | | | | | | | | | | | | | code re-organization. The gen/ directory has been removed, code is now generated into: $(builddir)/src - all .cpp files and non-public .h files. $(builddir)/include - all public .h files. The gen/ directory was originally intended to separate generated code from hand-written code. However both automake and cmake allow you to direct all build output, including generated code, into a separate build directory. In fact both recommend you build this way. Keeping the gen/ directory meant there would have been a total of 8 places to look for header files, all the combinations of builddir/srcdir, src/include and gen/no-gen. This was a mess, 4 is bad enough. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798291 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'move_public_h_to_include' into trunkAlan Conway2009-07-152-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@794325 13f79535-47bb-0310-9956-ffa450edef68
* Fix make build to generate code into the build treeAndrew Stitcher2009-07-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790465 13f79535-47bb-0310-9956-ffa450edef68
* Fix cmake build for recent gnu ld which needs all libs used by prog andAndrew Stitcher2009-07-021-2/+6
| | | | | | | dependencies linked into prog, also fix for older versions of cmake with more limited boost support. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790464 13f79535-47bb-0310-9956-ffa450edef68
* Minor cleanup of the new management-failover example.Ted Ross2009-06-161-6/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785339 13f79535-47bb-0310-9956-ffa450edef68
* Added a new qmf-console example program.Ted Ross2009-06-162-1/+175
| | | | | | | | | | This new program illustrates how individual nodes of a broker cluster may be monitored. It connects to all nodes, tracks their connectivity, and queries only one of the connected nodes. This mechanism is used in lieu of cluster-failover which is not appropriate for broker management. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1786 - Committed qmf patches from Bryan KearneyTed Ross2009-06-111-1/+1
| | | | | | | | Additionally updated existing qmf and Qman to be compatible. The magic number for qmf messages has been incremented. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783818 13f79535-47bb-0310-9956-ffa450edef68
* Added a signal handler to cleanly shut down on SIGINT.Ted Ross2009-06-091-42/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782981 13f79535-47bb-0310-9956-ffa450edef68
* Bugfixes in the c++ console API:Ted Ross2009-06-081-13/+17
| | | | | | | | | | | - Connection threads now shut down cleanly - get-query timeouts now work properly - waitForStable now only waits for connected brokers The ping example was improved. It now more cleanly handles connection loss/reconnect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782766 13f79535-47bb-0310-9956-ffa450edef68
* pingJonathan Robie2009-06-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780713 13f79535-47bb-0310-9956-ffa450edef68
* Test for repository replicationJonathan Robie2009-06-011-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780658 13f79535-47bb-0310-9956-ffa450edef68
* Update makefile to reflect renamed READMEGordon Sim2009-06-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780596 13f79535-47bb-0310-9956-ffa450edef68
* Add a suffix so Windows can associate it with a reader programStephen D. Huston2009-05-291-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780088 13f79535-47bb-0310-9956-ffa450edef68
* Grammar/clarificatione edits; change line endings to DOS so Windows users ↵Stephen D. Huston2009-05-291-146/+165
| | | | | | can read them more easily git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780087 13f79535-47bb-0310-9956-ffa450edef68