summaryrefslogtreecommitdiff
path: root/cpp/examples
Commit message (Collapse)AuthorAgeFilesLines
* QPID-664: added param to control synchronous send and acknowledgeGordon Sim2010-04-063-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931170 13f79535-47bb-0310-9956-ffa450edef68
* Merged the changes from the qmf-devel0.7a branch back to the trunk.Ted Ross2010-03-312-1/+22
| | | | | | | | | | | | | | | | | This is a checkpoint along the QMFv2 development path. This update introduces portions of QMFv2 into the code: - The C++ agent (qpid/agent) uses QMFv2 for data and method transfer o The APIs no longer use qpid::framing::* o Consequently, boost is no longer referenced from the API headers. o Agents and Objects are now referenced by strings, not numbers. o Schema transfer still uses the QMFv1 format. - The broker-resident agent can use QMFv1 or QMFv2 based on the command line options. It defaults to QMFv1 for compatibility. - The pure-python QMF console (qmf.console) can concurrently interact with both QMFv1 and QMFv2 agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929716 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: made changes suggested by Alan Conway, also moved 0-10 map/list ↵Gordon Sim2010-03-3110-23/+21
| | | | | | codecs to common lib git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929606 13f79535-47bb-0310-9956-ffa450edef68
* Rename Duration::INFINITE to Duration::FOREVER; resolves QPID-2475.Stephen D. Huston2010-03-301-1/+1
| | | | | | Added missing QPID_CLIENT_EXTERN where needed in Duration class to build on Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929240 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: renamed headers as properties (to match python); added priorityGordon Sim2010-03-292-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2406: a more explicit solution for durations in the messaging apiGordon Sim2010-03-291-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: move Variant and Uuid from messaging to types namespaceGordon Sim2010-03-296-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928814 13f79535-47bb-0310-9956-ffa450edef68
* Add missing BOOST_ALL_DYN_LINK macro settings; merged in from ↵Stephen D. Huston2010-03-241-4/+4
| | | | | | 0.6-release-windows-installer branch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927219 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Updates to address options to stay in-line with python client ↵Gordon Sim2010-03-241-6/+4
| | | | | | changes in r926604 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927144 13f79535-47bb-0310-9956-ffa450edef68
* Add messaging drain and spout examples.Stephen D. Huston2010-03-221-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926326 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Prevent dangling pointers when receiver/sender handles stay in ↵Gordon Sim2010-03-1910-12/+20
| | | | | | scope after connection/session handles goes out of scope. This change require connections to be closed explicitly to avoid leaking memory. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@925332 13f79535-47bb-0310-9956-ffa450edef68
* C++ automake build picks up version number from qpid/QPID_VERSION.txt.Alan Conway2010-03-171-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924359 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2441: patch from Jan Sarenik that prevents verification failures when ↵Gordon Sim2010-03-103-5/+6
| | | | | | running the examples if locale is not as expected git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@921319 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2402 & QPID-2406: Documented the units for the ttl property of Message. ↵Gordon Sim2010-03-031-6/+2
| | | | | | Eliminated use of qpid::sys::Duration from API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918575 13f79535-47bb-0310-9956-ffa450edef68
* 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