summaryrefslogtreecommitdiff
path: root/qpid
Commit message (Collapse)AuthorAgeFilesLines
* Don't delete derby.log. Use virtualhost-systests.xml for testing purpouses. ↵Aidan Skinner2009-05-265-7/+134
| | | | | | Minor code cleanup in AlertingTest. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@778723 13f79535-47bb-0310-9956-ffa450edef68
* Turn on immediate flush on the console appender.Aidan Skinner2009-05-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@778707 13f79535-47bb-0310-9956-ffa450edef68
* PollableQueue optimization - replace deque with vector.Alan Conway2009-05-259-36/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@778464 13f79535-47bb-0310-9956-ffa450edef68
* ConsumerImpl optimization - use atomic value for queueHasMessages.Alan Conway2009-05-252-19/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@778452 13f79535-47bb-0310-9956-ffa450edef68
* ConsumerImpl optimization - only dispatch on queue if we were notified of ↵Alan Conway2009-05-252-2/+21
| | | | | | messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@778443 13f79535-47bb-0310-9956-ffa450edef68
* Nuke derby.log and derbyDB in broker cleanup. Also, why does Derby not honor ↵Aidan Skinner2009-05-252-2/+2
| | | | | | QPID_HOME? Lame. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@778415 13f79535-47bb-0310-9956-ffa450edef68
* Added a message to indicate the producer and consumer have completed the test.Rajith Muditha Attapattu2009-05-251-0/+2
| | | | | | | This can be then greped by any automated to test script to identify the end of a test run. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@778265 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a minor bug in pre-creating the payload array used in random msg size ↵Rajith Muditha Attapattu2009-05-241-1/+5
| | | | | | | | | test. It now creates an array of payloads starting from zero bytes (empty payload) to msg_size-1 bytes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@778150 13f79535-47bb-0310-9956-ffa450edef68
* Marked all queues as auto-delete to allow clean up after a test exitsRajith Muditha Attapattu2009-05-231-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777927 13f79535-47bb-0310-9956-ffa450edef68
* The default value for message cache is set to false.Rajith Muditha Attapattu2009-05-232-6/+52
| | | | | | | | | Added the functionality to support variable message sizes using -Drandom_msg_size=true. This will create an array of payloads from 1 byte to x bytes where x is configured by -Dmsg_size=x (default is 1024). The Random number generator works of the same seed so different test runs can be compared properly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777922 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1874 - First drop of the second-generation QMF libraries.Ted Ross2009-05-2227-4/+4778
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777720 13f79535-47bb-0310-9956-ffa450edef68
* Fix to cmake build to account for some ssl include changesAndrew Stitcher2009-05-221-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777695 13f79535-47bb-0310-9956-ffa450edef68
* Use alert level in the config file, don't try to set one (since that won't ↵Aidan Skinner2009-05-221-4/+6
| | | | | | always work. *sigh*). Need a test-config really. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777601 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1870, QPID-1871 : Don't disable tests that are known to fail as we ↵Martin Ritchie2009-05-221-5/+0
| | | | | | loose visibility of them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777465 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1871 : Disable RollbackOrderTest until we address message rejectionMartin Ritchie2009-05-221-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777456 13f79535-47bb-0310-9956-ffa450edef68
* Optimized TopicExchange matching.Alan Conway2009-05-223-252/+209
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777347 13f79535-47bb-0310-9956-ffa450edef68
* Fix managementgen so to avoid trying to move files cross fsAndrew Stitcher2009-05-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777146 13f79535-47bb-0310-9956-ffa450edef68
* Added optimization for management updates sent from the broker.Ted Ross2009-05-212-48/+79
| | | | | | | The agent now puts many management updates into a single AMQP message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777133 13f79535-47bb-0310-9956-ffa450edef68
* Handle case where recovered exchange is of unrecognised type.Gordon Sim2009-05-212-4/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777096 13f79535-47bb-0310-9956-ffa450edef68
* * adjust replication exchange in line with change to registration function ↵Gordon Sim2009-05-213-11/+13
| | | | | | | | | signature * make exchange type plugins register themselves on earlyInitialise; otherwise recovery of durable exchange occurs before plugins are initialised git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777073 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1870 : Disable AlertingTest until it can be fixed.Martin Ritchie2009-05-211-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777018 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1869: Set closed flag to false only after poller and aio are initialised.Gordon Sim2009-05-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@777006 13f79535-47bb-0310-9956-ffa450edef68
* Numerous fixes in the qmf console for RubyTed Ross2009-05-207-30/+88
| | | | | | | | Added proper connection close if the SASL security context expires. Added :timeout and :async features to qmf console. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@776856 13f79535-47bb-0310-9956-ffa450edef68
* Add missing null body check in ErrorCheckAlan Conway2009-05-204-11/+23
| | | | | | | | Make error checking optional. This is temporary until all issues with it are worked out. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@776799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1865 - Block the deletion of default exchanges.Ted Ross2009-05-201-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@776734 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a regression affecting plugin-exchanges.Ted Ross2009-05-205-11/+14
| | | | | | | | Plugin exchanges (i.e. the XML exchange) do not get the broker pointer and therefore can not register themselves with the management agent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@776729 13f79535-47bb-0310-9956-ffa450edef68
* Instrumentation for measuring latencies.Alan Conway2009-05-195-59/+132
| | | | | | | Compiled out of normal builds, enable with -DQPID_LATENCY_TRACKER. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@776463 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1864: sync the dispatch queue to make sure there are no messages in it ↵Rafael H. Schloming2009-05-193-4/+116
| | | | | | before we rollback, and fix the ordering so that messages are released in queue order git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@776378 13f79535-47bb-0310-9956-ffa450edef68
* Add --quit, --check, --pid-dir options to allow shutting down a broker from ↵Stephen D. Huston2009-05-181-2/+84
| | | | | | command line. Needed to run test suite. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@776116 13f79535-47bb-0310-9956-ffa450edef68
* Correct listed broker files; correct qmfgen command switches to specify ↵Stephen D. Huston2009-05-182-2/+36
| | | | | | namespaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@776115 13f79535-47bb-0310-9956-ffa450edef68
* Block unsafe management methods only if clustering is enabledTed Ross2009-05-181-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@776057 13f79535-47bb-0310-9956-ffa450edef68
* Fix includes to allow for alternative packaging for nspr/nss.Gordon Sim2009-05-185-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@775985 13f79535-47bb-0310-9956-ffa450edef68
* from (aconway)... added facility to disable management methods.Ted Ross2009-05-153-0/+39
| | | | | | | Use this facility to disable several methods that are unsafe for clusters when running in a cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@775302 13f79535-47bb-0310-9956-ffa450edef68
* Undo change from r774809.Alan Conway2009-05-159-152/+19
| | | | | | | | | | This fix is incorrect. The timer will go off in each member, and each one will send a response message which is replicated, resulting in a response from each member being enqueued rather than a single response. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@775182 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1859Rajith Muditha Attapattu2009-05-143-44/+19
| | | | | | | | | For FailoverSingleServer the default for retries is set to 0 and the current_retries start from 0 instead of -1. For FailoverRoundRobinServers the current_broker_index now starts from 0 instead of -1. The AMQConnection now uses the getCurrentBrokerDetails() instead of the getNextBrokerDetails() to get the initial broker to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774899 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1854Rajith Muditha Attapattu2009-05-141-1/+8
| | | | | | | | | The sender.close is now surrounded with a try catch to handle the exception thrown by the IoSender.close(). The ideal situation would have been to pass false to the IoSender.close(boolean reportException) method which will then not throw the exception up the stack. But that method is not exposed in the Sender interface. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774817 13f79535-47bb-0310-9956-ffa450edef68
* More work on cmake:Andrew Stitcher2009-05-143-12/+27
| | | | | | | | | Make tests build on Linux Fix XML tests to run Fix cmake installed locations for modules/config files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774814 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1853. Since the socket is being closed inside the ↵Rajith Muditha Attapattu2009-05-141-1/+0
| | | | | | finnaly block we can remove the socket.close after the while loop inside the run method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774812 13f79535-47bb-0310-9956-ffa450edef68
* Fix for unpredictable enqueues by timer-triggered management code in a cluster.Alan Conway2009-05-149-19/+220
| | | | | | | | | ManagementAgent uses Broker::getClusterMessageHandler() (if non-0) to enqueue timer-triggered messages. Cluster provides handler that enqueues via cluster multicast. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774809 13f79535-47bb-0310-9956-ffa450edef68
* Added an exclude list for ssl.Rajith Muditha Attapattu2009-05-132-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774465 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1857Rajith Muditha Attapattu2009-05-131-0/+2
| | | | | | | We now create a new session id, instead of reusing the same when it tries to attach the session after failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774452 13f79535-47bb-0310-9956-ffa450edef68
* Suppress the return of deleted objects for synchronous management get ↵Ted Ross2009-05-131-12/+16
| | | | | | requests to the broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774438 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1854Rajith Muditha Attapattu2009-05-131-0/+1
| | | | | | | | I have added a sender.close() inside the closed() method in the Connection.java This ensures the sender is closed and the IoSender thread is shutdown gracefully. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774305 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1853. We now close the socket in the finnally block.Rajith Muditha Attapattu2009-05-131-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774297 13f79535-47bb-0310-9956-ffa450edef68
* updated imports to work on python 2.6Rafael H. Schloming2009-05-123-7/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774100 13f79535-47bb-0310-9956-ffa450edef68
* Fix typoAndrew Stitcher2009-05-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774069 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1852 Removed thread unsafe code in LoggerAndrew Stitcher2009-05-128-38/+44
| | | | | | | Fixed some potentially iffy code in Connector.h if a derived Connector doesn't have activateSecurityLayer() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774051 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1848 : fixed startup script on unix platformAndrea Gazzarini2009-05-121-20/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@773795 13f79535-47bb-0310-9956-ffa450edef68
* Windows adjustments to run testsStephen D. Huston2009-05-111-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@773716 13f79535-47bb-0310-9956-ffa450edef68
* Patch small probs building tests, examples on WindowsStephen D. Huston2009-05-114-22/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@773714 13f79535-47bb-0310-9956-ffa450edef68