summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix version infoAlan Conway2010-06-187-30/+11
| | | | | | | | - no version info for modules - no $(PLUGINLDFLAGS) on libqmfconsole, typo in previous merge. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@956001 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2677: send agent locate req after binding to agent.ind.dataKenneth Anthony Giusti2010-06-171-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955762 13f79535-47bb-0310-9956-ffa450edef68
* Refer to FailoverUpdatesImpl as the struct it is, not a class. Removes ↵Stephen D. Huston2010-06-171-1/+1
| | | | | | compile warning on Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955750 13f79535-47bb-0310-9956-ffa450edef68
* Consistent comparison of unsigned values; clarify usage as well as removing ↵Stephen D. Huston2010-06-171-1/+2
| | | | | | potential bad compare. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955749 13f79535-47bb-0310-9956-ffa450edef68
* Change warning C4996 from level 1 to level 4. This is the "warning C4996: ↵Stephen D. Huston2010-06-172-1/+9
| | | | | | 'std::equal': Function call with parameters that may be unsafe" warning. The "safe" replacements are only available on Windows, so can't be portably used. If the conditions are violated run-time errors are thrown, so these aren't totally ignored. Changing them to level 4 makes it possible for someone to easily find them all in a build if desired. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955742 13f79535-47bb-0310-9956-ffa450edef68
* Fixed numbering for sections - now includes chapter.Jonathan Robie2010-06-171-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2663: rate limit heartbeat processing, set minimum heartbeat intervalKenneth Anthony Giusti2010-06-171-60/+85
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955676 13f79535-47bb-0310-9956-ffa450edef68
* Allow libraries to be independently versioned in the autotools build.Alan Conway2010-06-179-41/+52
| | | | | | | | Each library libfoo or plugin foo has a variable FOO_VERSION_INFO with a value passed as -version-info to libtool. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2665: Remove BROKER from object types for pluginsRobert Gemmell2010-06-174-16/+1
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2654: Add Actor logging to the ACL pluginRobert Gemmell2010-06-1710-15/+275
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2662: Use actual SocketAddress instead of the String representationRobert Gemmell2010-06-1713-85/+68
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955617 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2673: dont hold a disposition change listener for messages when ↵Robert Gemmell2010-06-172-3/+10
| | | | | | accept-mode=NONE and acquire-mode=PRE_ACQUIRED (ie NO_ACK mode) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955557 13f79535-47bb-0310-9956-ffa450edef68
* reset reconnect delay after successful connectRafael H. Schloming2010-06-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955462 13f79535-47bb-0310-9956-ffa450edef68
* don't always set the sync bit on sendRafael H. Schloming2010-06-162-8/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955414 13f79535-47bb-0310-9956-ffa450edef68
* Bug 603835 - cluster_tests.test_management failing.Alan Conway2010-06-166-37/+53
| | | | | | | | | | | Clean up connections causing extra connection objects in the mangement agent map. - update connection was not being closed. - connections belonging to members that left the cluster were not fully cleaned up Also fixed test errors making failover_soak fail sporadically. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955370 13f79535-47bb-0310-9956-ffa450edef68
* Added Chuck Rolke's C++ .NET material from ↵Jonathan Robie2010-06-161-9/+109
| | | | | | https://issues.apache.org/jira/browse/QPID-2671. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955346 13f79535-47bb-0310-9956-ffa450edef68
* remove assertion for condition that is in fact valid (the callback could ↵Gordon Sim2010-06-161-2/+0
| | | | | | have been processed on the back of an event concurrently returned with the interrupt request) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955339 13f79535-47bb-0310-9956-ffa450edef68
* performance tweaks for receive: added configurable threshold for issuing ↵Rafael H. Schloming2010-06-162-5/+21
| | | | | | credit; don't disable byte credit more than necessary; avoided n-squared loop for generating acks git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955296 13f79535-47bb-0310-9956-ffa450edef68
* Nix a compile warning on Windows about converting int to bool.Stephen D. Huston2010-06-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955208 13f79535-47bb-0310-9956-ffa450edef68
* ~Jonathan Robie2010-06-155-287/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955009 13f79535-47bb-0310-9956-ffa450edef68
* Removing files that end with ~Jonathan Robie2010-06-154-439/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955008 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck RolkeTed Ross2010-06-1536-92/+1879
| | | | | | More API cleanup and new examples (to match the examples for other languages) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954983 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2670: copy-on-write when tagging message for loop detectionGordon Sim2010-06-156-4/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954933 13f79535-47bb-0310-9956-ffa450edef68
* fix for python 2.3Rafael H. Schloming2010-06-151-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954901 13f79535-47bb-0310-9956-ffa450edef68
* This change is a partial fix for the problem of long cluster failovers. ↵Michael Goulish2010-06-151-1/+3
| | | | | | | | | | | This change addresses part of that problem: long newbie-broker catchup times. At this time, it looks as though there are two distinct mechanisms causing these long catchup times. They roughly divide into a population of times less than 20 seconds, and a population of much longer times (up to hundreds of seconds). This fix addresses only the shorter times. In a test of 25 failovers before and after the change, it reduced those times by an average of nearly 50%. A T-test on the times indicates that the likelihood of the observed change happening randomly is less than 2%. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954895 13f79535-47bb-0310-9956-ffa450edef68
* added back values method for backwards compatibilityRafael H. Schloming2010-06-151-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954787 13f79535-47bb-0310-9956-ffa450edef68
* Added "Book" templates for creating separate books with subsets of the ↵Jonathan Robie2010-06-144-0/+267
| | | | | | material from the Wiki. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954631 13f79535-47bb-0310-9956-ffa450edef68
* Added qpid-cpp-benchmark to EXTRA_DIST.Alan Conway2010-06-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954613 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2667 - Documentation update from Chuck RolkeTed Ross2010-06-141-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954603 13f79535-47bb-0310-9956-ffa450edef68
* Update for changes to names of qpid-send and qpid-receive.Alan Conway2010-06-141-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954558 13f79535-47bb-0310-9956-ffa450edef68
* Allow entry into notifyPendingWrite() if already stopped as it is too hardAndrew Stitcher2010-06-141-2/+2
| | | | | | | to eliminate a race that can cause this, and it is essentially harmless if ignored git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954499 13f79535-47bb-0310-9956-ffa450edef68
* Move QueuePair member in Rdma::AsynchIO to ensure that it get destroyed beforeAndrew Stitcher2010-06-142-4/+6
| | | | | | | the buffers it uses, so that there is no hardware activity using them after they are deleted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954498 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that we can't shutdown in the middle of writing a bufferAndrew Stitcher2010-06-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954497 13f79535-47bb-0310-9956-ffa450edef68
* Combine Rdma::Buffer and ibv_sge needed to send itAndrew Stitcher2010-06-147-63/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954496 13f79535-47bb-0310-9956-ffa450edef68
* Try to avoid getting into a state where we can't send credit because weAndrew Stitcher2010-06-141-1/+10
| | | | | | | sent the very last buffer without any credit. So in theory when we do have credit to send we should have a buffer and xmit credit to do it with. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954495 13f79535-47bb-0310-9956-ffa450edef68
* Added asserts to ensure that we catch it if xmitCredit isn't saneAndrew Stitcher2010-06-141-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954494 13f79535-47bb-0310-9956-ffa450edef68
* Allow stopping even if we've got outstanding write buffers.Andrew Stitcher2010-06-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954493 13f79535-47bb-0310-9956-ffa450edef68
* In Rdma::AsynchIO::stop():Andrew Stitcher2010-06-142-6/+19
| | | | | | | | | | | | - make sure we stop the underlying handle immediately whether or not we do the stopped callback now or have to defer it. In qpid::client::RdmaConnector: - make sure that the shutdown handler is called under all circumstances. - make sure that the destructor doesn't delete the aio if it is already deleted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954492 13f79535-47bb-0310-9956-ffa450edef68
* Only set the draining flag when we delay calling the drained callback.Andrew Stitcher2010-06-141-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954491 13f79535-47bb-0310-9956-ffa450edef68
* Trivial code simplificationAndrew Stitcher2010-06-141-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954490 13f79535-47bb-0310-9956-ffa450edef68
* Removed unnecessary parameter from Rdma::AsynchIO::dataEvent()Andrew Stitcher2010-06-142-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954489 13f79535-47bb-0310-9956-ffa450edef68
* Rename tests qpid_* to qpid-* for consistency.Alan Conway2010-06-148-47/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954471 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2652 : Update client build.xml to use local property for genration, ↵Martin Ritchie2010-06-141-6/+5
| | | | | | this will prevent the framing being rebuilt on every ant run. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954438 13f79535-47bb-0310-9956-ffa450edef68
* Update SAMQQT to use an initialised Direct exchange rather than make its own.Martin Ritchie2010-06-141-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954434 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2638 : Add initial support for Topics section in configuration file.Martin Ritchie2010-06-1421-98/+335
| | | | | | | | | Added getQueueConfiguration(AMQQueue) which will return a new configuration for the given queue reflecting its binding status. This will allow the queue to be reconfigured during the binding process. Full Docs on this approach to appear on wiki. AMQQueue.configure and getConfiguration() have been updated to use ConfigurationPlugin rather than QueueConfiguration, The queue may be configured by a TopicConfiguration now. Update SlowConsumerTest to be GlobalQueuesTest and add a GlobalTopicsTest to match, where the config is added to the queues or topics section respectively git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2625 : Moved Logging generation to moudule.xml to allow plugins to ↵Martin Ritchie2010-06-1445-586/+2854
| | | | | | | | | | | | | | | | | | utilise the same functionality. To enable generation for your plugin just add : <target name="precompile" depends="gen_logging"/> to your build.xml Logging is now defined in a X_logmessage.properties file. Where X is used to make the XMessages.java class. Also updated all existing usages to remove the 3 digit prefix that wasn't adding any info. Updated ConfigStore and Transaction Log to use named properties rather than numeric values. If we are going to continue with <3 alpha>-<4 numeric> ids for messages then we'll need to have some registry to prevent clases. Perhaps it is simpler to relax this and require a plugin creator to provide a unique identifier for their messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954432 13f79535-47bb-0310-9956-ffa450edef68
* Update LogMessage Generation to be based on a the existance of a ↵Martin Ritchie2010-06-147-94/+104
| | | | | | _logmessages.property file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954431 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug in which QMF error return codes were being sent back as 7 - ↵Ted Ross2010-06-111-20/+12
| | | | | | Exception. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@953885 13f79535-47bb-0310-9956-ffa450edef68
* Fix ordering problem with of dependencies of make check.Alan Conway2010-06-111-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@953839 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2663: scale and performance optimizations.Kenneth Anthony Giusti2010-06-111-119/+233
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@953703 13f79535-47bb-0310-9956-ffa450edef68