summaryrefslogtreecommitdiff
path: root/cpp/examples/messaging/drain.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1125295 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
* Some cleanup on examples:Gordon Sim2010-05-051-41/+21
| | | | | | | | | | | * 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
* QPID-664: changed connect() back to open(),removed detach(),defined new ↵Gordon Sim2010-04-091-1/+1
| | | | | | 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-081-2/+2
| | | | | | added detach() and isConnected() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931852 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: made changes suggested by Alan Conway, also moved 0-10 map/list ↵Gordon Sim2010-03-311-3/+4
| | | | | | 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-291-1/+1
| | | | 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-291-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928814 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Prevent dangling pointers when receiver/sender handles stay in ↵Gordon Sim2010-03-191-1/+2
| | | | | | 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
* QPID-664: change format of connection options string to match address ↵Gordon Sim2010-01-281-1/+4
| | | | | | 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-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903599 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Add spout & drain examples as per python clientGordon Sim2009-11-191-0/+125
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882118 13f79535-47bb-0310-9956-ffa450edef68