summaryrefslogtreecommitdiff
path: root/qpid/cpp
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2920: Rebased on trunk, fix up minor conflicts.qpid-2920-1Alan Conway2011-09-064-12/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165889 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: Clean up of debugging messages, install test exes.Alan Conway2011-09-0612-47/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165888 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: Initial stab at time-based queue sharing.Alan Conway2011-09-0611-118/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165887 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: Broken checkpoint: passing dequeue mutex test with issuesAlan Conway2011-09-0630-136/+999
| | | | | | | | | | | | - handler/context/replica convention (see overview.h doc notes) - rename BrokerHandler to BrokerContext - notify Cluster (BrokerContext) on queue stopped or empty (need empty?) - Implementing Stoppable & stoppable scopes in Queue.cpp - Move queue ownership logic from dequeue to acquire Releasing on message count will not work, switch to timer based release. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165886 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: pass configuration changes to handlers.Alan Conway2011-09-062-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: add conveniece function to multicast AMQBodys directly.Alan Conway2011-09-062-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165883 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: Remove const from some broker::Cluster functions to allow cluster ↵Alan Conway2011-09-066-39/+40
| | | | | | to work. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: Allow stopping consumers on queues.Alan Conway2011-09-064-11/+166
| | | | | | Stop consumers from dispatching and wait for already dispatching consumers to exit. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165881 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: Sleep on cpg flow control to avoid thrashing.Alan Conway2011-09-061-0/+1
| | | | | | | Added a 1ms sleep when CPG is flow controlled. Huge thruput improvement for qpid-cluster-benchmarks multi-host case. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165880 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: Improvements to qpid-cpp-benchmark.Alan Conway2011-09-061-19/+27
| | | | | | | - fixed error message. - add necessary waiting to deal with async wiring in the new cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165879 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix ambiguous option to qpid-cluster-benchmark.Alan Conway2011-09-061-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: minor improvements to qpid-cpp-benchmarkAlan Conway2011-09-061-9/+20
| | | | | | Re-arranged queue creation/deletion to avoid wiring races. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165877 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: Fix cluster.mk for changes merged from trunk.Alan Conway2011-09-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165876 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: Cluster batch multicaster.Alan Conway2011-09-0610-14/+243
| | | | | | | Send multiple multicast events in a single call to CPG using iovec. Encoding in the sending thread using reference counted buffers. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165875 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: First cut experimental prototype for new cluster.Alan Conway2011-09-0640-87/+2199
| | | | | | | | | | Experimental code to investigate & measure performance of new cluster design ideas. Experimental classes are in src/qpid/cluster/exp. New broker::Cluster interface provides call points for cluster. Similar to store but has more operations, may be merged at a future point. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2920-1@1165874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3360 - Ruby implementation of Qpid example applicationsTed Ross2011-09-064-0/+179
| | | | | | | Applied partial patch from Darryl Pierce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1165794 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Additional doxygen comments for exceptionsGordon Sim2011-09-053-14/+140
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1165391 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix minor FIXME in brokertest.pyAlan Conway2011-09-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1164249 13f79535-47bb-0310-9956-ffa450edef68
* Bug 727182, QPID-3384 - Support DTX transactions - test for set-dtx-timeoutAlan Conway2011-09-011-5/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1164247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: DTX transactions - additional transaction tests.Alan Conway2011-09-011-18/+30
| | | | | | - Update suspended & ended transactions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1164246 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Suppress logging of clock events in cluster code.Alan Conway2011-08-314-20/+34
| | | | | | | Clock events are much too frequent to log, doing so makes trace logging useless for clustered brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163766 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 VS2010 supportCharles E. Rolke2011-08-311-2/+66
| | | | | | Add a dialog to select version of Visual Studio as cmake generator. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163754 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patch from Anthony Foglia - Handle amqp/list and amqp/map content ↵Gordon Sim2011-08-311-4/+21
| | | | | | (0013) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163537 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patch from Anthony Foglia - Add connection property to Session ↵Gordon Sim2011-08-311-0/+3
| | | | | | object (0012) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patch from Anthony Foglia - Convert UUIDs to python equivalents ↵Gordon Sim2011-08-311-0/+56
| | | | | | (0011) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163534 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patch from Anthony Foglia - Add session property to senders and ↵Gordon Sim2011-08-311-0/+6
| | | | | | receivers (0010) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163529 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patch from Anthony Foglia - Wrap more exceptions (0009)Gordon Sim2011-08-311-1/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163526 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: DTX transactions - replicate suspended transactions.Alan Conway2011-08-309-59/+126
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163347 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Complete reversion of Msg.h from r1162273 and r1163275Charles E. Rolke2011-08-301-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163290 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Revert change to Msg.h introduced in r1162273Alan Conway2011-08-304-59/+25
| | | | | | | The change did not compile on windows due to EXTERN declaration issues. Changes has been backed out as it is not critical and can be addressed elsewhere. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3457: qpid::Msg::str() method not exportedAlan Conway2011-08-262-3/+3
| | | | | | | Previous fix was incomplete. The class Msg is used by Variant.cpp in the types library. Moved the Msg class from common to types library. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162273 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: A hot-standby design for a new cluster implementation.Alan Conway2011-08-261-0/+239
| | | | | | | | See qpid/cpp/design_docs/hot-standby-design.txt This is in competition with the previous active-active cluster design in qpid/cpp/design_docs/new-cluster-design.txt git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162272 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3457: qpid::Msg::str() method not exportedAlan Conway2011-08-262-2/+2
| | | | | | | - Added the QPID_COMMON_EXTERN declaration to Msg.h - Removed a spurious #include "Msg.h" from qpid/types/Variant.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162233 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3354: Modernize install instructions for the new home of libuuidJustin Ross2011-08-261-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162219 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: Fix cmake build (added missing file to list)Gordon Sim2011-08-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162104 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: Fix compilation errors for boost 1.39 and gcc 4.4.4Gordon Sim2011-08-262-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162092 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3455: Don't treat unspecified frame size as implying the minimum value. ↵Gordon Sim2011-08-262-1/+2
| | | | | | Prevent infinite loop when unable to decode frame in SASL security layer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162060 13f79535-47bb-0310-9956-ffa450edef68
* Don't try setsockopt IPV6_V6ONLY when setting up new socket. Doesn't work on ↵Stephen D. Huston2011-08-251-5/+0
| | | | | | XP. Addresses note I left in QPID-3406. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161783 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: Enable DTX transactions in a cluster.Alan Conway2011-08-2530-284/+699
| | | | | | | | - Replicate DTX state to new members joining. - Use cluster timer for DTX timeouts. - Incidental: quote nulls in qpid::Msg messages (XIDs often have null characters) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161742 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-3445: Added some extra checks to decode logic; consolidated exception ↵Gordon Sim2011-08-243-2/+15
| | | | | | handling for message decode. Patch from Paul Colby. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161119 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3447: Fix windows build broken by previous commit (r1160458) due to ↵Gordon Sim2011-08-231-1/+1
| | | | | | lack of exported method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160612 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3363, QPID-3443: Corrected exception used for 'default access' rule ↵Gordon Sim2011-08-231-2/+5
| | | | | | violations to match that specified for 'exchange-name-required' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160607 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3447: Creating invalid federation link causes file descriptor leakAndrew Stitcher2011-08-221-0/+7
| | | | | | | - Previously we weren't correctly handling synchronous errors when we attempted to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160458 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3033: Segmentation fault while processing session.attachAlan Conway2011-08-182-11/+9
| | | | | | | | | | | | | | | The initial fix for this bug was incomplete. The original bug was triggered by a faulty client sending session.attach before connection.open. The special case is when the session.attach is on channel 0. This commit fixes the broker for all cases where a faulty client sends frames before completly opening the connection. Older versions of the Java client are known to send this faulty sequence sporadically, see https://issues.apache.org/jira/browse/QPID-3042. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159329 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix test failure if PORT is already set in the environment.Alan Conway2011-08-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159324 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@1159293 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: eliminate SocketProxy from tests.Alan Conway2011-08-189-253/+28
| | | | | | | | | Was causing problems with changes to introduce IPv6. In most cases this was being used unnecessarilly due to cut-and-paste of tests. In the 2 cases it was useful, replaced by simply shutting down the broker to simulate network failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159268 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Tidy up the Socket/SocketAddress code:Andrew Stitcher2011-08-175-91/+114
| | | | | | | | - Move (almost) all knowledge of difference in address types to SocketAddress - Make the Windows and Posix sockets code more similar with the aim of eliminating differences in the future git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1158934 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Clean up some text and formatting in .NET binding.Charles E. Rolke2011-08-1710-85/+85
| | | | | | | | | 1. Delete Microsoft name in some projects. 2. Get rid of ascii codes >= 0x80. The copyright symbol is the main culprit. 3. Change 2010 to 2011. 4. Minor tab and trailing whitespace removal. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1158873 13f79535-47bb-0310-9956-ffa450edef68