summaryrefslogtreecommitdiff
path: root/cpp/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Added hello_xml.cpp example.Jonathan Robie2010-05-052-1/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941482 13f79535-47bb-0310-9956-ffa450edef68
* Allow empty subject for direct- and xml- exchangesGordon Sim2010-05-051-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941306 13f79535-47bb-0310-9956-ffa450edef68
* Some cleanup on examples:Gordon Sim2010-05-0515-2026/+424
| | | | | | | | | | | * removed obsolete examples (queue-/topic-sender/receiver) * removed the need to include headers with boost dependencies * moved the argument handling in darin and spout closer to that of python (and update docs to reflect that) * changed to ship a manually constructed makefile for messaging examples (generated one doesn't work and maintaining that seems like more work with little benefit) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941250 13f79535-47bb-0310-9956-ffa450edef68
* Changed address string to current format.Jonathan Robie2010-04-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938143 13f79535-47bb-0310-9956-ffa450edef68
* Strip out the Unicode BOM markAndrew Stitcher2010-04-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936962 13f79535-47bb-0310-9956-ffa450edef68
* Fixed license text in c++ Visual Studio examples solutions files.Andrew Stitcher2010-04-212-124/+23
| | | | | | | - Ensured there were no blank lines so as not to confuse vcbuild Removed x64 builds as currently we only support win32 builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936339 13f79535-47bb-0310-9956-ffa450edef68
* Applied Gordon's patch - much simpler now.Jonathan Robie2010-04-151-37/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934624 13f79535-47bb-0310-9956-ffa450edef68
* Remove reference to non-existent file.Gordon Sim2010-04-151-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934605 13f79535-47bb-0310-9956-ffa450edef68
* Naming change: variable queueName is now called address.Jonathan Robie2010-04-151-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934581 13f79535-47bb-0310-9956-ffa450edef68
* Added hello_world.cpp example for tutorial.Jonathan Robie2010-04-152-1/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934573 13f79535-47bb-0310-9956-ffa450edef68
* Removed drain and spout projects from examples as they need boostAndrew Stitcher2010-04-151-16/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934274 13f79535-47bb-0310-9956-ffa450edef68
* Install new old-examples visual studio solution fileAndrew Stitcher2010-04-151-0/+1
| | | | | | | | Install perftest & latencytest programs Amend windows sdk zip builder script to strip out examples not buildable with new messaging API Build debug build before release build so that it's the release executables that are in the install area git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934261 13f79535-47bb-0310-9956-ffa450edef68
* Split example Visual Studio projects into old API and new API solutionsAndrew Stitcher2010-04-142-202/+245
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934208 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2506: enable map and list method arguments.Kenneth Anthony Giusti2010-04-142-6/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934117 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed connect() back to open(),removed detach(),defined new ↵Gordon Sim2010-04-0910-10/+10
| | | | | | exception hierarchy, added ability to re-use reconnect/replay logic for resource-limit-exceeded errors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932451 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed open() to connect(), moved url parameter to constructor, ↵Gordon Sim2010-04-0810-20/+20
| | | | | | added detach() and isConnected() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931852 13f79535-47bb-0310-9956-ffa450edef68
* 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