summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/messaging
Commit message (Collapse)AuthorAgeFilesLines
* QPID-7207: remove cpp and python subdirs from svn trunk, they have migrated ↵Robert Gemmell2016-07-0521-4405/+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-161-1/+1
| | | | | | | - 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
* 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
* 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-4640: QPID-3633: Remove autotools build from qpid C++ source treeAndrew Stitcher2013-07-251-75/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507112 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-061-4/+5
| | | | | | 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-291-4/+4
| | | | 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
* 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
* 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
* NO-JIRA: only two args usedGordon Sim2011-02-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@957513 13f79535-47bb-0310-9956-ffa450edef68