summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/messaging/drain.cpp
Commit message (Collapse)AuthorAgeFilesLines
* QPID-7207: remove cpp and python subdirs from svn trunk, they have migrated ↵Robert Gemmell2016-07-051-112/+0
| | | | | | to their own git repositories git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1751566 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Rename Message_ostream.h/.cpp to Message_io.h/.cpp.Alan Conway2013-12-201-1/+1
| | | | | | 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-201-11/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1552476 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-5040: support for sending and receiving messages with AmqpValue sectionsGordon Sim2013-08-131-6/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513536 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-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@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@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
* 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@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@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@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@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@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@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@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@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@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@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@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@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@882118 13f79535-47bb-0310-9956-ffa450edef68