summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/messaging
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@931852 13f79535-47bb-0310-9956-ffa450edef68