summaryrefslogtreecommitdiff
path: root/cpp/examples
Commit message (Collapse)AuthorAgeFilesLines
* Added -c count parameter - exits after reading c messages.Jonathan Robie2010-08-191-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987304 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2764 - WinSdk cpp examples do not compileTed Ross2010-07-306-12/+12
| | | | | | | Patch from Chuck Rolke git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980933 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect exe nameGordon Sim2010-07-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@965449 13f79535-47bb-0310-9956-ffa450edef68
* Make address used for map sender/receiver configurable; make default create ↵Gordon Sim2010-07-192-2/+4
| | | | | | the queue automatically. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@965424 13f79535-47bb-0310-9956-ffa450edef68
* Remove deleted files from Makefile.am, part of removing the old python examples.Alan Conway2010-07-134-16/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963887 13f79535-47bb-0310-9956-ffa450edef68
* removed old python examplesRafael H. Schloming2010-07-1318-292/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963786 13f79535-47bb-0310-9956-ffa450edef68
* Ensure spout example waits for all messages to be sent before detaching sessionGordon Sim2010-06-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957513 13f79535-47bb-0310-9956-ffa450edef68
* Fixed scripts that referred to README instead of README.txt.Jonathan Robie2010-06-231-1/+1
| | | | | | | Changes to web site template and content. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957222 13f79535-47bb-0310-9956-ffa450edef68
* Changed README to README.txt throughout the project for consistency. Removed ↵Jonathan Robie2010-06-231-0/+0
| | | | | | gentools/README.txt, which described Velocity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957201 13f79535-47bb-0310-9956-ffa450edef68
* Nix a compile warning on Windows about converting int to bool.Stephen D. Huston2010-06-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955208 13f79535-47bb-0310-9956-ffa450edef68
* Windows SDK work:Andrew Stitcher2010-06-048-1142/+151
| | | | | | | | | | | | * Added message_drain & message_spout programs back into the SDK examples * Modified messaging example project files to use qpidmessaging library (instead of old qpidclient lib) * Removed all x64 configurations from the example messaging projects as we don't include the x64 libs in the SDK * Put import libs in lib directory to separate them from dlls * Removed use of BOOST_ROOT env var from example projects as no boost headers are needed by the SDK git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951572 13f79535-47bb-0310-9956-ffa450edef68
* Remove dependency on qpid::sys::AbsTime (which uses boost on Windows)Andrew Stitcher2010-06-031-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951150 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2644 - Console examples sometimes fail due to not waiting for the ↵Ted Ross2010-06-032-0/+2
| | | | | | | | | | broker connection to complete Moved 'Broker::waitForStable' from private to public, used this function in the examples to hold off until the broker is fully connected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: separate out the messaging API into its own libraryGordon Sim2010-05-143-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944357 13f79535-47bb-0310-9956-ffa450edef68
* Changed floating point from "price" to "percent" - better use of floating point.Jonathan Robie2010-05-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941499 13f79535-47bb-0310-9956-ffa450edef68
* 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