summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3004: Keep the code compatible with clang C++ compiler (and probably ↵Andrew Stitcher2012-05-221-4/+4
| | | | | | | | | | | gcc 4.7 too) Fix up intrusive_ptr_add_ref(RefCounted*)/intrusive_ptr_release(RefCounted*) so they are now found by argument dependent lookup. Trivial: Added missing newline at end of file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1341608 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-162-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1339403 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3510 - Created a separate option in CommonOptions for the client ↵Ted Ross2012-04-233-9/+9
| | | | | | configuration file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1329236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3510 - Allow client configuration-file to be overridden via QPID_CONFIG ↵Ted Ross2012-04-203-4/+10
| | | | | | env variable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1328494 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: C++ header files need tidyupAndrew Stitcher2012-03-282-3/+8
| | | | | | | | | | Tidied up header use of FieldValue.h - Removed all unnecessary includes of FieldValue.h from other header files especially Array.h. (This avoids the world recompiling when working on FieldValue!) - Corrected up header guards in Array.h git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1306595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3883: Using application headers in messages causes a very large slowdownAndrew Stitcher2012-03-051-1/+1
| | | | | | | Don't return copy of header return const reference - avoid unnecessary copying git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1297292 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3832: Fix linking on windowsGordon Sim2012-02-291-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1295216 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3832: Restore transport option for connection (as default for urls that ↵Gordon Sim2012-02-292-2/+2
| | | | | | don't specify one explicitly) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1295172 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix error on windows "An operation was attempted on something that ↵Alan Conway2012-02-221-3/+5
| | | | | | is not a socket." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1292587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Merge new HA foundations.Alan Conway2012-02-175-46/+64
| | | | | | | Merged from qpid-3603-7. This is basic support for the new HA approach. For information & limitations see qpid/cpp/design_docs/new-ha-design.txt. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3839: Allow browsers to accept messagesGordon Sim2012-02-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244002 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3630: remove additional code in client.Ken Giusti2012-01-132-91/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1231222 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3652: Fix cluster authentication.Alan Conway2011-12-061-6/+2
| | | | | | | | | | | | | | | | | | | Only allow brokers that authenticate as the cluster-username to join a cluster. New broker first connects to a cluster broker authenticates as the cluster-username and sends its CPG member ID to the qpid.cluster-credentials exchange. The cluster broker that subsequently acts as updater verifies that the credentials are valid before connecting to give the update. NOTE 1: If you are using an ACL, the cluster-username must be allowed to publish to the qpid.cluster-credentials exchange. E.g. in your ACL file: acl allow foo@QPID publish exchange name=qpid.cluster-credentials NOTE 2: This changes the cluster initialization protocol, you will need to restart the cluster with all new version brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1210989 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: Small mods to certain log trace and debug messages to improve log ↵Kim van der Riet2011-10-313-9/+9
| | | | | | message consistency git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1195433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3563: Protect from concurrent access to accept tracker stateGordon Sim2011-10-311-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1195385 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3417: C++ broker - support adding arrival timestamp to received messages.Ken Giusti2011-10-121-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3522: Distinguish between null and empty string for sasl responseGordon Sim2011-10-122-8/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182212 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3508: Ensure subscription queue is deleted on closing receiver (unless ↵Gordon Sim2011-09-271-1/+1
| | | | | | it has explicitly been configured non-exclusive) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1176363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3435: Revised strategy for closing senders/receivers to prevent ↵Gordon Sim2011-08-181-17/+21
| | | | | | possible infinite loop git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3425: Special handling of reserved exchange names in auto-createGordon Sim2011-08-161-8/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1158370 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3412: Do not prefix the subscription queue name with the exchange name ↵Gordon Sim2011-08-111-1/+1
| | | | | | for explicitly named links git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3411: Restore x-reconnect-on-limit-exceeded optionGordon Sim2011-08-101-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156327 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove redundant code (qpid::Url now does everything required)Gordon Sim2011-08-103-130/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156262 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3382: Corrected some exception types for connect errorsGordon Sim2011-08-014-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1152853 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3372: fixed comparison of desired and actual properties for exchangesGordon Sim2011-07-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1151154 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3355: Declare the wait while waiting for completion. Patch from Jason ↵Gordon Sim2011-07-131-0/+1
| | | | | | Dillaman. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3355: Ensure session is not deleted out from under a sync() callGordon Sim2011-07-131-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145935 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3329: Configure C++ client connections to replace url-addresses rather ↵Alan Conway2011-06-302-1/+5
| | | | | | than merging new addresses with old git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141493 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3321: revised fix to avoid excessive flushingGordon Sim2011-06-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1139382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3321: flush occasionally to keep the list of pending accepts from ↵Gordon Sim2011-06-242-2/+15
| | | | | | growing too large git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1139334 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3129: cluster_tests.LongTests.test_failover hangs.Alan Conway2011-06-151-14/+13
| | | | | | | | Fixed a bug in ConnectionImpl: at each failover udpate the client was appending rather than merging the new broker addresses so failover took longer & longer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3200: Add new method to session for cumulative acknowledgement upto ↵Gordon Sim2011-06-156-22/+34
| | | | | | (and including) a specified message git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136003 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3225: Allow exclusivity (for subscription queue and subscription ↵Gordon Sim2011-06-131-5/+16
| | | | | | itself) to be controlled through address properties. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1135165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3292: Don't try to reconnect at all if reconnect option is falseGordon Sim2011-06-093-2/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1133822 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Corrected location of some tracingAndrew Stitcher2011-05-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128070 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove a lot of redundant stuff from the Socket codeAndrew Stitcher2011-05-261-1/+1
| | | | | | - Removal of unused code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128065 13f79535-47bb-0310-9956-ffa450edef68
* Refactor socket connect calls to take a string portAndrew Stitcher2011-05-267-13/+15
| | | | | | This is used used to implement unix domain sockets - QPID-3281 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 - Misc. code cleanup to allow compilation on a wider set of compilers.Ted Ross2011-05-171-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1104560 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3115: Recognise sasl_mechanisms (plural) and support a space separate ↵Gordon Sim2011-03-072-17/+35
| | | | | | list as does the python client (continue to recognise sasl-mechanism as well for backword compatibility) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1078733 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3115: Recognise '_' as alternative to '-'. Throw Exception for ↵Gordon Sim2011-03-041-70/+54
| | | | | | unrecognised options. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1078075 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3102: Only send ttl if non-zeroGordon Sim2011-03-021-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076276 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3100: reduce number of initial buffers created per connectionGordon Sim2011-03-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076205 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2999: set redelivered on replayGordon Sim2011-02-251-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1074611 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3040: Prevent race between receipt and release of messages causing ↵Gordon Sim2011-02-141-1/+1
| | | | | | intermittent test failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1070481 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3040: The C++ messaging client library now releases pending messages ↵Jonathan Robie2011-02-093-35/+44
| | | | | | | | 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/qpid@1069030 13f79535-47bb-0310-9956-ffa450edef68
* Resolves QPID-3031. Allows client connection options to specify an SSL ↵Jonathan Robie2011-02-024-22/+28
| | | | | | cert-name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066508 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3001: Add const version of Connection::isOpen()Gordon Sim2011-01-172-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1059846 13f79535-47bb-0310-9956-ffa450edef68
* Rename Rdma send buffer operations.Andrew Stitcher2010-12-231-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1052331 13f79535-47bb-0310-9956-ffa450edef68
* Changes due to review comments from Doug Ledford:Andrew Stitcher2010-12-231-6/+8
| | | | | | | | - Removed lock unsafe operation Rdma::QueuePair::bufferAvailable() and replaced the unavailable case with failing getBuffer(). - Improved asserts in the Rdma::QueuePair::getBuffer() code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1052330 13f79535-47bb-0310-9956-ffa450edef68
* Plumb rdma protocol version into Rdma::AsynchIOAndrew Stitcher2010-12-231-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1052323 13f79535-47bb-0310-9956-ffa450edef68