summaryrefslogtreecommitdiff
path: root/cpp/examples
Commit message (Collapse)AuthorAgeFilesLines
* Update from trunk r1375509 through r1450773asyncstoreKim van der Riet2013-02-2814-61/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1451244 13f79535-47bb-0310-9956-ffa450edef68
* Don't install C++ examples we don't want users basing their learning on any ↵Stephen D. Huston2011-12-092-5/+10
| | | | | | longer. Fixes QPID-3673. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1212672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 Visual Studio 2010Charles E. Rolke2011-12-021-19/+19
| | | | | | | | | | In the SDK build script remove VS2008 projects and replace them with a CMakeLists.txt that can generate example projects and solutions on demand for any version of Visual Studio. Tidy up the actual CMake script. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1209774 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 Visual Studio 2010Charles E. Rolke2011-12-011-54/+31
| | | | | | | | | | | | | Try to dodge several issues that appear on 64-bit hosts with both VS2008 and VS2010 installed at the same time. The new bld-winsdk.ps1 script requires a user to call an environment setup script before it is run. This lets the script simply refer to 'devenv' and get the right thing. Note that the script invocation args and the version of boost must match the version of the kit being built. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1209240 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 Visual Studio 2010Charles E. Rolke2011-11-231-0/+115
| | | | | | | | | | Add a standalone cmakelists.txt file to be used for building a WinSDK. Currently the cpp/examples area has hard-coded sln and vcproj files which don't work under VS2010. This new cmakelists.txt is used to generate a proper sln/vcproj or sln/vcxproj for each example in the SDK. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1205667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3573: handle case where /home/gordon does not existGordon Sim2011-11-022-4/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1196597 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
* JIRA 3337Michael Goulish2011-07-062-6/+2
| | | | | | | | | | | no more defaulting to guest/guest username/password qpidd.sasldb is no longer created -- users who want usernames and passwords in there must create it. but a local qpidd.sasldb is (before this change) being created for 'make check' testing. The etc/sasl2/qpidd.conf file now has an explicit mech list -- so we will no longer default to the system-list. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143536 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
* Add missing CMakeLists.txt to files to distribute. Fixes QPID-3176.Stephen D. Huston2011-03-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1087341 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3137: ensure old api examples are installed into correct locationGordon Sim2011-03-118-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1080679 13f79535-47bb-0310-9956-ffa450edef68
* Remove moved file refs, related to QPID-3067.Stephen D. Huston2011-03-041-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1078099 13f79535-47bb-0310-9956-ffa450edef68
* Realign Visual Studio projects to match new examples locations; related to ↵Stephen D. Huston2011-03-022-24/+24
| | | | | | QPID-3067. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076215 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3067: adding new file missing from last commitGordon Sim2011-03-011-0/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3067: moved old examples to old_api directoryGordon Sim2011-03-0162-23/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075883 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
* Added instructions for Messaging API examples.Jonathan Robie2010-11-191-0/+72
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036931 13f79535-47bb-0310-9956-ffa450edef68
* Update readme: remove qmf-agent, add qmf-console descriptionKenneth Anthony Giusti2010-11-181-13/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036512 13f79535-47bb-0310-9956-ffa450edef68
* Add README.txt to distribution.Kenneth Anthony Giusti2010-11-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036158 13f79535-47bb-0310-9956-ffa450edef68
* Add README.txt for qmf-console examplesKenneth Anthony Giusti2010-11-171-0/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036157 13f79535-47bb-0310-9956-ffa450edef68
* Fix double spacing introduced by previous commit.Alan Conway2010-11-151-155/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035451 13f79535-47bb-0310-9956-ffa450edef68
* Fix inconsistent line terminators.Alan Conway2010-11-151-154/+308
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035444 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2934 Feature to pass the authenticated userId to QMF agent method ↵Ted Ross2010-11-092-1/+14
| | | | | | handlers for authorization git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033232 13f79535-47bb-0310-9956-ffa450edef68
* add ASF licence to various files in the cpp treeRobert Gemmell2010-10-311-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029521 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
* QPID-2916: throw an exception when a data value cannot be encoded correctly ↵Kenneth Anthony Giusti2010-10-281-4/+4
| | | | | | as its type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028501 13f79535-47bb-0310-9956-ffa450edef68
* Added some missing licenses; added FedOps.h to distribution listGordon Sim2010-10-274-0/+78
| | | | 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-307-1/+1111
| | | | | | | | | | | | | | 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
* 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