summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix compile error in BrokerClusterCalls test, signed/unsigned comparison.Alan Conway2010-10-191-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1024279 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error: outline set/getCluster fucntions on Broker.Alan Conway2010-10-192-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1024275 13f79535-47bb-0310-9956-ffa450edef68
* Introduce broker::Cluster interface.Alan Conway2010-10-1816-53/+1185
| | | | | | | | | See cpp/src/qpid/cluster/new-cluster-design.txt and new-cluster-plan.txt. qpid/cpp/src/tests/BrokerClusterCalls.cpp is a unit test that verifies the broker makes the expected calls on broker::Cluster in various situations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1023966 13f79535-47bb-0310-9956-ffa450edef68
* Code cleanup in broker directory.Alan Conway2010-10-1448-461/+490
| | | | | | | | - Removed un-necessary #includes for broker/Queue.h - Removed "using std::string" in header files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022679 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2906 Qpid WinSDK .NET Binding does not support Release configurationCharles E. Rolke2010-10-142-0/+821
| | | | | | | | | | | | | | | | | | | | This patch adds Release mode build support for the .NET Binding to C++ Messaging. 1. SessionReceiver project was putting its x64 output into the wrong directory and was not picked up by the WinSDK. 2. winsdk_dotnet_examples.sln had the projects in a hierarchy. This spoils the experience for users of VS Express where the solution failed to load. 3. README-winsdk.txt provides an ascii-art picture of the components in the SDK. Also adds a description of how to switch the .NET example projects from debug to release. 4. New files added in cpp/src/windows/winsdk: LICENSE-MSVC is windows-only text to be appended to the root LICENSE file. MS-LICENSE.HTM is the Microsoft Runtime Redistributable license for VS2008 and .NET Framework 3.5. 5. bld-winsdk.ps1: Builds full Debug and Release (RelWithDebInfo) .NET binding DLLs. Augments the licenses in the kit root with information about the Microsoft Redistributable Runtime. Enforces DOS line endings on all the kit root info files. Installs the Debug version of .NET Binding in the /bin directory. Places zipped Debug and Release versions of .NET Binding in the /bin directory that users may select. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022667 13f79535-47bb-0310-9956-ffa450edef68
* Test client to measure cluster lag: greater delays in responses from some ↵Alan Conway2010-10-132-9/+99
| | | | | | | | | brokers. Note yet incorporated into an automated test, but this is a useful stand-alone test client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022279 13f79535-47bb-0310-9956-ffa450edef68
* Add state constraint annotations to Rdma::AsynchIO;Andrew Stitcher2010-10-121-4/+14
| | | | | | | Simplify state machine slightly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021831 13f79535-47bb-0310-9956-ffa450edef68
* Improve the performance of the Rdma::AsynchIO by using a veryAndrew Stitcher2010-10-122-7/+62
| | | | | | | | simple state machine to reduce the context switch for notifyPendingWrite() by allowing it to "hijack" existing concurrent processing on an IO thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021823 13f79535-47bb-0310-9956-ffa450edef68
* Rewrite Rdma::AsynchIO to use deferred code rather than a state machine:Andrew Stitcher2010-10-122-238/+26
| | | | | | | | This eliminates a lot of difficult to understand error prone state machine code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021822 13f79535-47bb-0310-9956-ffa450edef68
* Delay deleting the Rdma::AsynchIO associated with a Connection to just beforeAndrew Stitcher2010-10-121-69/+55
| | | | | | | | | | | | the callback to the ConnectionImpl shutdown function so that we make the possibility of race between a write coming down and deleting it as small as possible. Rearranged scope of polling boolean to indicate that the data channel is connected (or not) and changed name to better describe its function git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021821 13f79535-47bb-0310-9956-ffa450edef68
* Account for seemingly getting reject messages after already getting establishedAndrew Stitcher2010-10-121-1/+7
| | | | | | | event. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021820 13f79535-47bb-0310-9956-ffa450edef68
* Serialise close into the data callbacks:Andrew Stitcher2010-10-123-38/+72
| | | | | | | | | Rejig Rdma::ConnectionManager to have a stop function with a callback and use this to ensure that the Rdma::Connector used by qpid::sys::RdmaConnector is correctly deleted only after it has been actually stopped git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021819 13f79535-47bb-0310-9956-ffa450edef68
* Make sure that Rdma::Listener can generate no more callbacks after it receivesAndrew Stitcher2010-10-121-0/+12
| | | | | | | a disconnected event for a connection id. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021818 13f79535-47bb-0310-9956-ffa450edef68
* If we have already stopped an Rdma connection, but we still get a data eventAndrew Stitcher2010-10-121-0/+3
| | | | | | | ignore it git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021817 13f79535-47bb-0310-9956-ffa450edef68
* Handle Rdma Flush events - instead of reporting to the application justAndrew Stitcher2010-10-121-0/+16
| | | | | | | | return write buffers to the pool and do nothing for recv buffers as the connection must be in an error state now. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021816 13f79535-47bb-0310-9956-ffa450edef68
* Fix Rdma test server so that you can interrupt it again (since makingAndrew Stitcher2010-10-121-3/+9
| | | | | | | Poller run loop impervious to signals) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021815 13f79535-47bb-0310-9956-ffa450edef68
* Catch uncaught exceptions thrown by DispatchHandle callbacks instead of lettingAndrew Stitcher2010-10-121-0/+7
| | | | | | | then destroy the Poller thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021814 13f79535-47bb-0310-9956-ffa450edef68
* Converted four files from DOS format to Unix format to match all of the otherTed Ross2010-10-114-1335/+1335
| | | | | | | | | files in their respective directories. This is a non-substantive change, only end-of-line formatting was modified. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021423 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2863 Propagate WinSDK Build Version numbers to the Messaging .NET BindingCharles E. Rolke2010-10-111-1/+10
| | | | | | | | | | Rooted at qpid/, this patch propagates the Windows version numbers to the .NET Binding DLLs. The changes can be summarized: 1. The files that hold the version numbers are renamed to templates and are edited to hold the version number CMake variable names. 2. CMake calls configure_file twice to put the version numbers into the generated files. 3. The projects that use these files are steered to use the generated source. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021361 13f79535-47bb-0310-9956-ffa450edef68
* Registers the amq.failover exchange in the management exchange.Jonathan Robie2010-10-085-14/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005908 13f79535-47bb-0310-9956-ffa450edef68
* Fix session-shutdown-after-failure so it does not cause a segfault.Ted Ross2010-10-071-2/+2
| | | | | | | | Fixed the method-call wrapper for Python in the qpid messaging wrapper to properly handle and translate C++ exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005654 13f79535-47bb-0310-9956-ffa450edef68
* Add explicit node-type declaration for receivers.Ted Ross2010-10-071-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005643 13f79535-47bb-0310-9956-ffa450edef68
* Update new cluster design: no longer planning to use MessageStore interface.Alan Conway2010-10-071-36/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005472 13f79535-47bb-0310-9956-ffa450edef68
* Cluster benchmark test script. Improvements to qpid-cpp-bencmhark.Alan Conway2010-10-043-14/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1004420 13f79535-47bb-0310-9956-ffa450edef68
* Allows browsing of exclusive queues held by another session. Jonathan Robie2010-10-042-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1004357 13f79535-47bb-0310-9956-ffa450edef68
* Fixes two bugs for ring queue policies that involve size. Jonathan Robie2010-10-013-22/+125
| | | | | | | | | | | | - When messages vary in size, now correctly displaces enough smaller messages to make room for the new message. - When a message is larger than maximum queue size, now correctly rejects the message. Resolves JIRA QPID-2338 (https://issues.apache.org/jira/browse/QPID-2338). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003531 13f79535-47bb-0310-9956-ffa450edef68
* Improvements to output & message distribution for qpid-cpp-benchmark.Alan Conway2010-09-304-6/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003231 13f79535-47bb-0310-9956-ffa450edef68
* Add missing files to EXTRA_DIST.Alan Conway2010-09-301-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003230 13f79535-47bb-0310-9956-ffa450edef68
* qpid-test-cluster: script to start a multi-host test cluster.Alan Conway2010-09-303-1/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003229 13f79535-47bb-0310-9956-ffa450edef68
* Extending qpid-cpp-benchmark for cluster testingAlan Conway2010-09-302-42/+74
| | | | | | | | - multiple --broker args have senders/receivers connect to different cluster nodes. - multiple --client-host args start clients on different hosts via ssh. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003228 13f79535-47bb-0310-9956-ffa450edef68
* Add missing cluster test scripts to EXTRA_DIST.Alan Conway2010-09-301-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003226 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2888: qmf v2 agent will republish all data on broker reconnect.Kenneth Anthony Giusti2010-09-302-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003052 13f79535-47bb-0310-9956-ffa450edef68
* new-cluster-design.txt: added note on async replication.Alan Conway2010-09-281-6/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002171 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that a rejected message is also dequeued.Jonathan Robie2010-09-281-0/+2
| | | | | | | Without this fix, rejected messages were dropped, but not dequeued. This meant that durable messages would 're-appear' after a restart. This also meant that the queue message count was incorrect if messages had been rejected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002147 13f79535-47bb-0310-9956-ffa450edef68
* Scripts using rsync and ssh to assist cluster testing:Alan Conway2010-09-275-0/+188
| | | | | | | | | | - run a command on all hosts in a cluster. - copy files to all hosts in a cluster. - "make install" locally and copy install tree to cluster. - copy source tree to cluster and "make install" on each host. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001888 13f79535-47bb-0310-9956-ffa450edef68
* Added install_env.sh to set environment variables to use an install prefix.Alan Conway2010-09-273-7/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001887 13f79535-47bb-0310-9956-ffa450edef68
* Update new-cluster-design.txt, clarifications & notes.Alan Conway2010-09-241-13/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001052 13f79535-47bb-0310-9956-ffa450edef68
* Update new-cluster-design.txt: improvements to new members joining cluster.Alan Conway2010-09-241-3/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001022 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2885: clean up memory leaks on C++ qmf console shutdown.Kenneth Anthony Giusti2010-09-242-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1000907 13f79535-47bb-0310-9956-ffa450edef68
* Design note on proposed new cluster design.Alan Conway2010-09-221-0/+277
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1000234 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2880: allow boolean values in method call map/list arguments.Kenneth Anthony Giusti2010-09-221-2/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999919 13f79535-47bb-0310-9956-ffa450edef68
* Added type casts to literal numbers in cpp/src/tests/Qmf2.cpp.Ted Ross2010-09-221-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999897 13f79535-47bb-0310-9956-ffa450edef68
* QMFv2 Additions:Ted Ross2010-09-2122-278/+1693
| | | | | | | | | | | | - QMFv2 schema encoding completed - Schema queries handled by the agent and initiated by the console by user request - Full query support with predicates evaluated on the agent (regex not yet implemented) - Agent filtering in the console - Agent aging in the console - Unit tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999662 13f79535-47bb-0310-9956-ffa450edef68
* Renamed the MessageStore interface truncateInit parameter to a more generic ↵Kim van der Riet2010-09-211-7/+9
| | | | | | name. Changed the language of the description to match. This is a tidy-up only, there should be no code implications. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999473 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2875: wait for federation configuration to settle before testing route ↵Kenneth Anthony Giusti2010-09-211-21/+78
| | | | | | propagation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999433 13f79535-47bb-0310-9956-ffa450edef68
* Adding cast to list and map size comparisons to avoid signed/unsigned ↵Jonathan Robie2010-09-161-2/+2
| | | | | | | | | comparison: BOOST_CHECK_EQUAL(list.size(), (size_t) 0); git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@997846 13f79535-47bb-0310-9956-ffa450edef68
* Fixes parsing problem with empty lists ('[]') in addresses, which previously ↵Jonathan Robie2010-09-163-2/+26
| | | | | | raised an exception and leaked the memory associated with the AddressImpl. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@997771 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2859: Save the agent's name to the configuration file.Kenneth Anthony Giusti2010-09-152-20/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@997453 13f79535-47bb-0310-9956-ffa450edef68
* Removed spurious commentTed Ross2010-09-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@997370 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a thread safety issue in which the managementObjects map was used in ↵Ted Ross2010-09-142-55/+66
| | | | | | | | | | | an unsafe way (i.e. without the lock held). Replaced a raw pointer with a boost::shared_ptr to protect objects during method calls. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@997089 13f79535-47bb-0310-9956-ffa450edef68