summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/MessagingSessionTests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4265: fix broken windows buildGordon Sim2013-10-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535389 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4265: test closing of receiver with concurrent fetchGordon Sim2013-10-241-2/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535355 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5227: QPID-5230: added tests for redelivered flag on browse and releaseGordon Sim2013-10-151-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532310 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5086: send completions when restarting after stop, in order to move ↵Gordon Sim2013-08-201-0/+26
| | | | | | window forward git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1515901 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5085: ensure messages released 'behind' a cursor on a priority queue ↵Gordon Sim2013-08-201-0/+20
| | | | | | don't get missed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1515793 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4993: reroute dropped messages in ring queue if alternate exchange is ↵Gordon Sim2013-07-171-1/+18
| | | | | | specified git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3247: add policy for self-struct subscription queueGordon Sim2013-07-131-0/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1502766 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4953: recognise temp queue shorthand in 0-10 codepathGordon Sim2013-06-261-1/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496985 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4820: fix incorrect AMQP 0-10 typecodesGordon Sim2013-05-081-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4786: Only have one thread processing session queue at a timeGordon Sim2013-05-011-0/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477975 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4481: HA replication of propagated bindings can lead to incorrect ↵Alan Conway2012-12-111-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration When using dynamic federation between two independent HA broker clusters, it is possible under certain failover scenarios for the propagated bindings on the source broker to become out-of-sync with the true state of bindings on the destination broker. How reproducible: Often -- race condition between re-establishment of federated link and the deletion of a binding on the destination broker Steps to Reproduce: 1. Start a stand-alone broker (route destination) and an HA broker (route source w/ primary and backup) 2. Configure a dynamic federated route between a destination broker and a source broker. The dynamic federation needs to utilize an existing, non-auto-delete queue on the source broker. 3. Subscribe to an auto-delete queue on the destination broker and bind the auto-delete queue to the exchange configured for the dynamic federation 4. Kill the primary source broker 5. Kill the subscription to the auto-delete queue on the destination broker 6. Promote the backup source broker to primary Actual results: With the loss of the client subscription to the auto-delete queue, the binding will be removed. If the binding is removed prior to the re-establishment of the federated link to the source broker, the unbind command will not propagate. Since the backup source broker had previously replicated the propagated binding, the binding will incorrectly remain on the source broker. Expected results: Propagated bindings should not be replicated from the primary to backups since they are transient and will be recreated when the route is re-established.))) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420438 13f79535-47bb-0310-9956-ffa450edef68
* qpid-4317 make browse-only x-arg string similar to othersMichael Goulish2012-09-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1387135 13f79535-47bb-0310-9956-ffa450edef68
* Jira QPID-4142Michael Goulish2012-09-141-0/+32
| | | | | | | auto test for browse-only queues - using messaging interface git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384851 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4117: honour alternate-exchange option specified within x-declare for a ↵Gordon Sim2012-07-061-0/+18
| | | | | | link git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358321 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3947: Bounds checking for str8/str16 on creating AMQP 0-10 structsGordon Sim2012-04-131-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326014 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3492: Fix quoted values as well as unquoted values; added a test caseGordon Sim2012-01-031-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1226931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3508: Ensure subscription queue is deleted on closing receiver (unless ↵Gordon Sim2011-09-271-0/+18
| | | | | | it has explicitly been configured non-exclusive) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1176363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3425: Special handling of reserved exchange names in auto-createGordon Sim2011-08-161-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1158370 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3372: fixed comparison of desired and actual properties for exchangesGordon Sim2011-07-261-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1151154 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3200: Add new method to session for cumulative acknowledgement upto ↵Gordon Sim2011-06-151-0/+40
| | | | | | (and including) a specified message git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1136003 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3225: Allow exclusivity (for subscription queue and subscription ↵Gordon Sim2011-06-131-0/+32
| | | | | | itself) to be controlled through address properties. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1135165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3222: Prevent ttl overflow; also adds equality operators for ↵Gordon Sim2011-04-261-0/+14
| | | | | | qpid::messaging::Duration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1096751 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3051: Ensure credit window is moved correctly even if it contains ↵Gordon Sim2011-02-211-0/+41
| | | | | | rejected messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1073085 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3015: Added create and delete methods to management schema for brokerGordon Sim2011-02-181-0/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1072179 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3040: The C++ messaging client library now releases pending messages ↵Jonathan Robie2011-02-091-11/+40
| | | | | | | | when a Receiver is closed. This only releases messages in the client's cache that have not been read. It does not release messages that have been read by the client application, but not acknowledged. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1069030 13f79535-47bb-0310-9956-ffa450edef68
* Reverts r1068042.Jonathan Robie2011-02-081-47/+11
| | | | | | We will fix this bug in the C++ client messaging library rather than the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1068417 13f79535-47bb-0310-9956-ffa450edef68
* Ensures that messages acquired, but not acked, are released before a queue ↵Jonathan Robie2011-02-071-11/+47
| | | | | | | | | | | is deleted. Otherwise, these messages are not routed to an alternate exchange, and the queue is not actually deleted. Resolves QPID-3040 / Red Hat BZ 674678. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1068042 13f79535-47bb-0310-9956-ffa450edef68
* Allows browsing of exclusive queues held by another session. Jonathan Robie2010-10-041-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1004357 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2807: Allow per message acknowledgementGordon Sim2010-08-201-0/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@987459 13f79535-47bb-0310-9956-ffa450edef68
* Made the new C++ API more friendly for swig-wrapping.Ted Ross2010-07-281-0/+2
| | | | | | | | | | - Added Message::setProperty() as an alternative to using getProperties() to obtain a writable reference to a Variant::Map. - Added unit testing for this new method. - Added #ifndef SWIG conditions around the declarations of non-member operator<< methods. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@980147 13f79535-47bb-0310-9956-ffa450edef68
* Fix unreferenced local variable warningStephen D. Huston2010-07-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@964624 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2734: Tighter control over sasl related test; now passes when ↵Gordon Sim2010-07-151-1/+6
| | | | | | cyrus-sasl not in use. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@964571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Translate exceptions to correct type when occuring on creating new ↵Gordon Sim2010-07-011-0/+8
| | | | | | session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@959721 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: expose authenticated username for connectionGordon Sim2010-06-301-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@959461 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: corrected option name for setting subscribe options on a queueGordon Sim2010-06-301-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@959451 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2698: recognise special property names for amqp 0-10 specific message- ↵Gordon Sim2010-06-251-0/+45
| | | | | | and delivery- properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@958044 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Correct the name of the subject string used for incoming messages.Gordon Sim2010-06-101-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@953321 13f79535-47bb-0310-9956-ffa450edef68
* Move helper classes/functions from MessagingSessionTests.cpp to ↵Alan Conway2010-05-141-170/+1
| | | | | | MessagingFixture.h for sharing with other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944260 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed option verifier to use constants rather than duplicating ↵Gordon Sim2010-04-121-0/+7
| | | | | | string literals; added a test to make sure all valid options are allowed and illegal ones are not git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed pending to unsettled; added available to sender; minor ↵Gordon Sim2010-04-091-9/+9
| | | | | | update to address doc git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed connect() back to open(),removed detach(),defined new ↵Gordon Sim2010-04-091-7/+7
| | | | | | 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: added method to release messagesGordon Sim2010-04-061-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: added param to control synchronous send and acknowledgeGordon Sim2010-04-061-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: made changes suggested by Alan Conway, also moved 0-10 map/list ↵Gordon Sim2010-03-311-36/+34
| | | | | | codecs to common lib git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929606 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: renamed headers as properties (to match python); added priorityGordon Sim2010-03-291-2/+2
| | | | 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-18/+18
| | | | 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: Updates to address options to stay in-line with python client ↵Gordon Sim2010-03-241-9/+9
| | | | | | changes in r926604 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@927144 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2452: Fixed control over the encoding used when sending a string valued ↵Gordon Sim2010-03-181-0/+10
| | | | | | variant. The user is currently responsible for correctly setting any encoding (e.g. utf8). If none is specified it will be transfered as an amqp0-10 vbin. Fixed bug preventing correct assignment of encoding in variants. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@924939 13f79535-47bb-0310-9956-ffa450edef68