summaryrefslogtreecommitdiff
path: root/cpp/examples/messaging
Commit message (Collapse)AuthorAgeFilesLines
* Update from trunk r1375509 through r1450773asyncstoreKim van der Riet2013-02-285-39/+89
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1451244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3451: make count=0 the default for consistency with python equivalentGordon Sim2011-08-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1161152 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3268: correct connection option syntax in usage statementGordon Sim2011-05-202-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1125295 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: only two args usedGordon Sim2011-02-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1074644 13f79535-47bb-0310-9956-ffa450edef68
* Changed the name of the declared exchange from 'xml' to 'xml-exchange'.Jonathan Robie2010-11-191-3/+3
| | | | | | | Avoids an error that occurs if the broker also has a queue named 'xml'. Which happens fairly easily if you're testing XML messaging ... git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036933 13f79535-47bb-0310-9956-ffa450edef68
* Add missing hello_world and hello_xml examples. Resolves QPID-2919.Stephen D. Huston2010-10-291-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028752 13f79535-47bb-0310-9956-ffa450edef68
* Added some missing licenses; added FedOps.h to distribution listGordon Sim2010-10-273-0/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027879 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2865 Cpp messaging examples compile problems for x64.Charles E. Rolke2010-10-116-12/+12
| | | | | | This fix adds a unique identifier to each x64 target's IntermediateDirectory. Consequently, each project's BuildLog file goes into a separate directory and the compiles are cleaner. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021367 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2860: Have exchange declared as correct type if auto-createdGordon Sim2010-09-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999264 13f79535-47bb-0310-9956-ffa450edef68
* Adds a parameter to several examples to allow connection options to be ↵Jonathan Robie2010-09-146-10/+19
| | | | | | specified. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@997099 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2827 - QPID Cpp WinSDK does not contain 64-bit librariesTed Ross2010-08-311-1/+1
| | | | | | | Patch from Chuck Rolke fixed a typo git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@991285 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2827 - QPID Cpp WinSDK does not contain 64-bit librariesTed Ross2010-08-306-1/+1085
| | | | | | | | | | | | | | Patch from Chuck Rolke * Adds the x64 platform to the cpp\example solution and six example projects. * Adds the x64 platform to the qpid messaging .NET binding dlls and examples. * Adds QPID_BUILD_ROOT environment variable to .NET binding projects for locating C++ libraries and headers, and for storing generated output. This is required to compensate for the varying location of cmake-generated directories. For a given build QPID_BUILD_ROOT must be set to the directory in which cmake was run. * Reorganize the bld-winsdk.ps1 script to build x86 (Win32) and x64 platforms. * Update Readme-winsdk.txt content. Also switch this file to DOS line endings to improve its usability on a Windows system. * Add a shadow solution file and shadow project files for the C# examples. The new build process copies the development example source tree to get the example sources organized into a hierarchy and then overlays the copied tree with the shadow .sln and .csproj files. Users then build the examples directly using the customized solution. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@990917 13f79535-47bb-0310-9956-ffa450edef68
* Make the count check a bit clearer and remove extraneous blank lines at end ↵Stephen D. Huston2010-08-201-3/+1
| | | | | | of file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987504 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error on windowsGordon Sim2010-08-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987391 13f79535-47bb-0310-9956-ffa450edef68
* 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
* 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
* 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-046-1108/+141
| | | | | | | | | | | | * 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-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
* 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
* 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
* 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
* 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
* 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
* 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
* Add BOOST_ALL_DYN_LINK to projects' Visual Studio C++ preprocessor settings; ↵Stephen D. Huston2010-02-0910-41/+41
| | | | | | 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-053-130/+59
| | | | 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