summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples
Commit message (Collapse)AuthorAgeFilesLines
* QPID-7207: remove cpp and python subdirs from svn trunk, they have migrated ↵Robert Gemmell2016-07-0525-4904/+0
| | | | | | to their own git repositories git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1751566 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7148: Update CMake files to use better more modern style and featuresAndrew Stitcher2016-03-163-100/+96
| | | | | | | - This is already the way we do this stuff in Qpid Proton - Upgrade minimum version of CMake to 2.8.7 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735324 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove trailing whitespaceGordon Sim2016-01-121-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1724189 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: initialise 'print' option to falseGordon Sim2016-01-121-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1724188 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: update hello world example to use recommended api for content ↵Gordon Sim2015-07-281-2/+5
| | | | | | manipulation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1693139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6308: Preserve request string encoding in response string.Charles E. Rolke2015-01-141-3/+17
| | | | | | | | Non-string requests are echoed as utf8 strings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1651773 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6301: [C++ Messaging] Client example acks responsesCharles E. Rolke2015-01-081-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1650359 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6280: C++ Messaging example server resource leakCharles E. Rolke2014-12-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1646849 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6273: ensure requests and responses are sent as textual strings rather ↵Gordon Sim2014-12-172-9/+10
| | | | | | than binary data git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1646259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6140: [C++ Messaging] hello_world does not define Messaging i/f completelyCharles E. Rolke2014-10-102-4/+4
| | | | | | | | | Add qpidtypes to hello_world and hello_xml example link library list so that users can execute any Messaging function straight away. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1630945 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6026: add server_reconnect example to WinSDK cmake solution generatorCharles E. Rolke2014-08-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5807: Remove boost::program_options as a header file dependency of ↵Andrew Stitcher2014-06-111-5/+0
| | | | | | | | | qpid/Options.h - The intent here is to remove the necessity for things using qpid::Options to need to link boost::program_options directly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602021 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Rename Message_ostream.h/.cpp to Message_io.h/.cpp.Alan Conway2013-12-202-2/+2
| | | | | | Allow for addition of istream operator in future. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552780 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5431: Qpid c++ client hangs / crashes during reception failover in HA ↵Alan Conway2013-12-201-2/+3
| | | | | | | | | | | | | | | environment (mutual recursion) Bug in AMQP 1.0 retry code caused an infinite recursion when failing over. The recursion was in messaging::amqp::ConnectionContext, where the following recursive cycle could occur: check()->autoconnect()->tryConnect(Url)->tryConnect(Address)->wait()->check()->... Re-organized the code to avoid the recursion, specifically avoid calling check() in tryConnect(Address). A disconnect detected in tryConnect results in continuing the retry rather than calling autoconnect again. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552698 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added ostream operator for qpid::Messaging::MessageAlan Conway2013-12-202-12/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552476 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: Roll back change to CMakeLists.txt in which a test example was ↵Kim van der Riet2013-12-171-4/+0
| | | | | | added which is not part of the build. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551560 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5425: TPL fails with JERR_JNLF_FILEOFFSOVFLKim van der Riet2013-12-161-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551361 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add missing apache copyright licence text.Alan Conway2013-12-161-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551304 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5244: remove stale QMFv1 agent exampleKenneth Anthony Giusti2013-10-216-818/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1534133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5196: Messaging example hello_world core dumps when given a bad ↵Charles E. Rolke2013-09-301-5/+4
| | | | | | | | | | connection option Move connection constructor into try-catch block git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1527802 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5133: Add option to the spout examples to enable durable messagesDarryl L. Pierce2013-09-111-1/+10
| | | | | | | | Each of the examples (C++, Ruby, Perl, Python) now have a command line option to set the durable flag on messages sent. This allows for experimenting with message persistence. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1522042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4932: expose reconnect&replay logicCharles E. Rolke2013-09-091-0/+442
| | | | | | | | QPID-5120: install on windows installs checked-in solution/project files Check in a VS2008 project file that satisfies cmake QPID install. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1520947 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4932: expose reconnect&replay logic for application to control itselfGordon Sim2013-09-062-0/+99
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1520673 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5111: Make library dependencies clearer in build systemAndrew Stitcher2013-09-031-1/+1
| | | | | | | - Use -as-needed to link libraries to avoid unnecessary libraries - Tidyup mess with nss and qpid-proton libraries git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5040: fix for string and symbol types on AmqpValue section (also clear ↵Gordon Sim2013-08-301-2/+6
| | | | | | message on fetch()) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1518955 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5090: Infer text/plain as content type over 0-10 for utf8 contentGordon Sim2013-08-231-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1516917 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5040: support for sending and receiving messages with AmqpValue sectionsGordon Sim2013-08-134-15/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4940: Remove qmf1 console codeAndrew Stitcher2013-07-2612-2392/+1
| | | | | | QPID-4941: Remove qmf1 console examples git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4941: Remove long deprecated example code for old qpid::client APIAndrew Stitcher2013-07-2655-9032/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507463 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4640: QPID-3633: Remove autotools build from qpid C++ source treeAndrew Stitcher2013-07-2513-660/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507112 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: ensure interface is specified for verification of old examples ↵Gordon Sim2013-07-181-1/+1
| | | | | | (there is another script!) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504524 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: ensure interface is specified for verification of old examplesGordon Sim2013-07-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4721: .NET Binding WinSdk does not build hello_world and hello_xmlCharles E. Rolke2013-04-051-0/+2
| | | | | | Add the files to the CMakeLists.txt file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1465113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4586: fixes for dynamic sources/targets and on demand creation of nodesGordon Sim2013-03-231-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1460198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4552: Messaging examples now build.Darryl L. Pierce2013-01-301-0/+45
| | | | | | | | The commit for QPID-4372 moved the messaging examples to CMake but then stopped building the binaries themselves. This patch restores the building of the examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1440423 13f79535-47bb-0310-9956-ffa450edef68
* JIRA-4372: Added a CMakeLists.txt file for messaging examples.Darryl L. Pierce2013-01-184-72/+75
| | | | | | | | In the messaging/dist_extra directory is a CMakeLists.txt file that will be shipped under both the autotool and cmake builds with the messaging examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1435129 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3723: further refinement to the change to link against the .la files, ↵Gordon Sim2012-12-069-21/+23
| | | | | | rather than use the unqualified lib names git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3723: Applied patch from Fraser Adams for explicit linkingGordon Sim2012-11-299-26/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4442: make spout example send properties as utf8 stringsGordon Sim2012-11-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1411154 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Reverted inadvertent change to example from previous commitGordon Sim2012-11-141-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409163 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fail on invalid PLAIN requestGordon Sim2012-11-141-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409161 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@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@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@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@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@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@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@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@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@1087341 13f79535-47bb-0310-9956-ffa450edef68