summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* qpidd prints message to stderr if logging configuration is invalid.Alan Conway2009-10-021-15/+19
| | | | | | It used to exit silently. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821070 13f79535-47bb-0310-9956-ffa450edef68
* Applied patches to resolve QPID-2076Stephen D. Huston2009-10-026-12/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821066 13f79535-47bb-0310-9956-ffa450edef68
* Deprecated enableQueueEvents() in the doxygen comments. Use setInt() instead.Jonathan Robie2009-10-021-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821003 13f79535-47bb-0310-9956-ffa450edef68
* define content- and view- classes separately from message classGordon Sim2009-10-0227-428/+734
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-942: fix test exclusionRobert Gemmell2009-10-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820932 13f79535-47bb-0310-9956-ffa450edef68
* Removed LatencyTracker from cluster.Alan Conway2009-10-017-201/+6
| | | | | | | Turned out not to be very useful. Better to use profiling tools like systemtap. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820796 13f79535-47bb-0310-9956-ffa450edef68
* Set cluster version number from SVN revision.Alan Conway2009-10-011-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820788 13f79535-47bb-0310-9956-ffa450edef68
* Fix broker race where broker closes connection before sending close-ok.Alan Conway2009-10-012-8/+15
| | | | | | | | This was showing up in python/cluster interactions but it looks like the race could also occur on a stand-alone broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820783 13f79535-47bb-0310-9956-ffa450edef68
* QPID-942 : Add Simplistic Producer Flow Control to the java Broker / java ↵Robert Godfrey2009-10-0116-29/+695
| | | | | | 0-8/0-9 client git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820739 13f79535-47bb-0310-9956-ffa450edef68
* Fix QPID-2086 - problem with read-credit.Alan Conway2009-10-019-74/+70
| | | | | | | Also cleaned up the cluster test scripts. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820717 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2125: Make FailoverBaseCase set the second brokers QPID_WORK as a ↵Robert Gemmell2009-10-012-5/+2
| | | | | | subdirectory of the first instead of /tmp, allowing common cleanBroker() execution via QpidTestCase. Update QueueBrowserAutoAckTest to use the getTestQueueName() helper method instead of creating its own time-based queue names git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820685 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2121 : Noticed that the logging level for the test VM was being set ↵Martin Ritchie2009-10-012-7/+46
| | | | | | directly. This will result in all subsequent tests having WARN logging. Added new setLoggerLevel method to QTC to allow the setting of a Log4j logger level for a given test run. Reverting the changes when the test is complete git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820606 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2121 : Correctly set the broker properties for the test, rather than ↵Martin Ritchie2009-10-011-1/+1
| | | | | | using the currently defined System value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820573 13f79535-47bb-0310-9956-ffa450edef68
* Updated library dependenciesTed Ross2009-09-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820472 13f79535-47bb-0310-9956-ffa450edef68
* reenabled spec file cachingRafael H. Schloming2009-09-301-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2121 : Update to QTC to allow the setting of System Properties for just ↵Martin Ritchie2009-09-303-15/+84
| | | | | | | | | | the Test run or the External Broker or both. renamed _setProperties as it was confusing. Now two maps are used _propertiesSetForTestOnly and _propertiesSetForBroker calls to setSystemProperty puts the value in to both maps so test VM and the external VM will have a system property defined to have that value. If a test is configured to run against an external broker then two new methods help control how each vm is setup. setTestClientSystemProperty is used to set a value in the TestVM that is not copied to any external VM. setBrokerOnlySystemProperty can now be used to set a System property value in the external broker VM only. As before all values are reverted at the end of the test run. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820323 13f79535-47bb-0310-9956-ffa450edef68
* Correct order of log4j entries so our parser doesn't print an errorMartin Ritchie2009-09-303-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2118 : Corrected 010Exclude for runtime selector exception. Tidied up ↵Martin Ritchie2009-09-303-100/+33
| | | | | | SelectorTest so that it uses more of QTC functionality and stops creating random queue names. The init() methods could be totally removed with a bit more work. Updated test() to be testOnMessage() to better identify what test was supposed to be using onMessage() previously they all were! JMSMessageID test should now pass again on CPP profile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820321 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2120 : Updated SimpleAMQQueue to ensure that the sub.isSuspended() ↵Martin Ritchie2009-09-304-72/+118
| | | | | | | | check is done before any attempt to retrieve the getLastSeenNode(). This and the commits for QPID-1871,QPID-2116 are tested by RollbackOrderTest that now can be enabled for the Java profile. Additional changes were done to SAMQQ to improve readability and add some debug loggging. Performance testing should be done to identify any penality for this additional logging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820320 13f79535-47bb-0310-9956-ffa450edef68
* Add debug logging to see what the next message the Subscription is going to ↵Martin Ritchie2009-09-301-1/+9
| | | | | | look at. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820319 13f79535-47bb-0310-9956-ffa450edef68
* Prevent NPE in QueueEntryImpl.debugIdentityMartin Ritchie2009-09-301-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820318 13f79535-47bb-0310-9956-ffa450edef68
* Add toString to AbstractActor to allow actors to be used in debug log messagesMartin Ritchie2009-09-301-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820317 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2116 : Ensure that AMQChannel correctly notifies all running ↵Martin Ritchie2009-09-301-4/+51
| | | | | | Subscription deliveries that the Channel has been suspended. This is down by taking out the subcription sendLock on each subscription on this Channel. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820316 13f79535-47bb-0310-9956-ffa450edef68
* Update QTC to allow the setting of debug logging for the external broker ↵Martin Ritchie2009-09-302-0/+28
| | | | | | process. Update BrokerStartupTest to ensure that these values are set to the default info as the test looks for the existence of DEBUG messages as a sign of failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820315 13f79535-47bb-0310-9956-ffa450edef68
* Add logging of QPID_OPTS to startup in qpid-runMartin Ritchie2009-09-301-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820314 13f79535-47bb-0310-9956-ffa450edef68
* Add definition of int64_t (required by gcc 4.4.1)Gordon Sim2009-09-301-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820252 13f79535-47bb-0310-9956-ffa450edef68
* For Windows, add 'd' postfix to library file namesStephen D. Huston2009-09-301-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820138 13f79535-47bb-0310-9956-ffa450edef68
* Revised set of source files and library names for QMF; matches earlier ↵Stephen D. Huston2009-09-291-42/+45
| | | | | | changes to qmf.mk. Fixes QPID-2119 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820131 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2108Rajith Muditha Attapattu2009-09-292-10/+10
| | | | | | | | | I was initially setting the qpid.max_count and qpid.max_size as strings instead of ints as expected by the API. I also incorrectly fetched them as strings on the broker side. This commit fixes acl.py test script to use int values for the above properties and then fetches them appropriately from the broker side. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820082 13f79535-47bb-0310-9956-ffa450edef68
* Fix dependencies so python client used by tests is built before tests.Alan Conway2009-09-291-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819994 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2118: exclude SelectorTest#testRuntimeSelectorError until it fails in ↵Robert Gemmell2009-09-291-0/+1
| | | | | | the same way git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819975 13f79535-47bb-0310-9956-ffa450edef68
* I have applied the patch attached to QPID-2108 from Tim Platten with a few ↵Rajith Muditha Attapattu2009-09-294-49/+214
| | | | | | | | | | | modifications. (Please refer to the JIRA for a description of these modifications) I also fixed the formatting and added more debug loggging for the publish acl lookup method in AclData.cpp I also added test cases to cover QPID-2108 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819948 13f79535-47bb-0310-9956-ffa450edef68
* QMF Engine updates:Ted Ross2009-09-2917-62/+259
| | | | | | | | | - Connected console handler callbacks - Added string representations for a number of object classes - Added a feature that completes query requests sent to disconnected agents git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819819 13f79535-47bb-0310-9956-ffa450edef68
* Fix python tests to work in VPATH builds and for make distcheck.Alan Conway2009-09-2815-101/+135
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2028 : Augment BrokerActor to allow the setting of the broker name. ↵Martin Ritchie2009-09-287-12/+21
| | | | | | Updated ApplicationRegistries to pass the instanceID to the BrokerActor in an attempt to better identify what brokers are shutting down during our test runs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819605 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2118, exclude SelectorTest#testSelectorWithJMSMessageID until it fails ↵Martin Ritchie2009-09-281-0/+3
| | | | | | in the same way as 0-8/9 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819604 13f79535-47bb-0310-9956-ffa450edef68
* Transient flow-to-disk messages switched to store from BDB. Only ↵Kim van der Riet2009-09-283-4/+8
| | | | | | single-queue transient messages are handled at this point, multi-queue bindings are blocked under all circumstances to prevent routing order dependencies from making the outcome inconsistent. BZ525813 - "Move Flow to disk from BDB to journal" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819600 13f79535-47bb-0310-9956-ffa450edef68
* Set apache.commons logging to warn to reduce the amount of commons debug ↵Martin Ritchie2009-09-281-0/+4
| | | | | | that appears during Java broker test runs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819594 13f79535-47bb-0310-9956-ffa450edef68
* Add INDEX property to created messagesMartin Ritchie2009-09-281-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819593 13f79535-47bb-0310-9956-ffa450edef68
* Improve error reporting when commit failedMartin Ritchie2009-09-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1871 : Updated RollbackOrderTest to include an onMessage test. Fixed ↵Martin Ritchie2009-09-284-50/+191
| | | | | | | | deadlock issue with 0-10 rollback method and onMessage usage. Moved 0-10 rollback strategy to the abstract AMQSession and updated 0-8 to use that approach. 0-8 Still excluded from test runs as the race condition is not that the dispatcher would hold a message and reject after the TxRollback. The problem is the Java Broker sends a message out after the FlowOk message so the Dispatcher then sits on it, see QPID-2116. This exact problem was hidden due to the way the Dispatcher is stopped. This problem has not been addressed. The request to stop the dispatcher can only actually stop the dispatcher whilst it is in the middle of processing a message. The stop needs to interrupt the _queue.take() and hold the dispatcher AFTER the processing of any message that it needs to do: see QPID-2117. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819590 13f79535-47bb-0310-9956-ffa450edef68
* r817742 (the fix for QPID-2102), introduced a deadlock and a race condition ↵Gordon Sim2009-09-282-26/+30
| | | | | | | | | into flow-to-disk behaviour, fixed by this checkin. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819524 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2102: Changed QueuePolicy to rely on external locking and require ↵Gordon Sim2009-09-285-37/+22
| | | | | | | | | | dequeues to be handled by policy user rather. (r817742 introduced a deadlock in ring queue policy which this checkin fixes) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819505 13f79535-47bb-0310-9956-ffa450edef68
* Adding missing fileTed Ross2009-09-271-0/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819381 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up issues with distribution.Ted Ross2009-09-271-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819370 13f79535-47bb-0310-9956-ffa450edef68
* Backed out a broker change that was unintentionally carried along in another ↵Ted Ross2009-09-251-1/+1
| | | | | | commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@818996 13f79535-47bb-0310-9956-ffa450edef68
* QMF updates:Ted Ross2009-09-2547-408/+651
| | | | | | | | | | | | - Refactored into two namespaces: 1) 'qmf' for the public QMF api (c++) 2) 'qmf::engine' for the public engine API (used for language bindings) - Added object and first_object calls to Console (in Ruby) - Made objects call compatible with the kwarg arguments used in the older API - Added to_s functions to classes that needed them git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@818994 13f79535-47bb-0310-9956-ffa450edef68
* Exchange route() refactorization that eliminates common code in each of the ↵Kim van der Riet2009-09-257-142/+67
| | | | | | Exchange subclass route() methods. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@818935 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2115: add 'broker.clean.between.tests' to toggle whether QTC should ↵Robert Gemmell2009-09-252-0/+16
| | | | | | execute the 'broker.clean' command after every test method is run git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@818840 13f79535-47bb-0310-9956-ffa450edef68
* produce .pyo's as well as .pyc's on installRafael H. Schloming2009-09-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@818583 13f79535-47bb-0310-9956-ffa450edef68