summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Minor update to allow store access to the message isPersistent() method. ↵Kim van der Riet2009-09-224-4/+6
| | | | | | This is required for correctly setting the transient flag. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817748 13f79535-47bb-0310-9956-ffa450edef68
* Joint checkin from gsim, kpvdr, cctrieloff. See QPID-2102: Exceeding reject ↵Kim van der Riet2009-09-2219-192/+631
| | | | | | queue policy under a transaction causes broker crash git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817742 13f79535-47bb-0310-9956-ffa450edef68
* Make the AsynchIO API more consistentAndrew Stitcher2009-09-225-10/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817711 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1956Rajith Muditha Attapattu2009-09-221-2/+11
| | | | | | | | Added a check in the getNextBrokerDetails method to return null when the current broker equals the only remaining broker in the list A test case for this will be added once I finalized the test case for the failover exchange method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817487 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2114 Rajith Muditha Attapattu2009-09-222-2/+4
| | | | | | | I have also added a simple check for the default message priority in an existing test in JMSPropertiesTest git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817478 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2113Rajith Muditha Attapattu2009-09-221-0/+36
| | | | | | | | | | | I didn't meddle with the existing log4j.properties file present in the common module as it maybe used in the broker. However a cursory glance at the etc directory revealed that the the broker too has a log4j.xml file. So perhaps the log4j.properties files in the common module is not really needed. (The settings given i the log4j.xml under the client module could be overriden by explicitly specifying a log4.xml file using -Dlog.configuration property) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817457 13f79535-47bb-0310-9956-ffa450edef68
* More namespace cleaningAndrew Stitcher2009-09-211-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817396 13f79535-47bb-0310-9956-ffa450edef68
* Properly report test failures in Ruby testsTed Ross2009-09-211-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817375 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a Ruby convention problem (camel-case vs. underscores)Ted Ross2009-09-212-5/+13
| | | | | | | Added method_missing function for Arguments for direct access to method output args. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817314 13f79535-47bb-0310-9956-ffa450edef68
* Added Ruby test infrastructure and Console tests in RubyTed Ross2009-09-2110-17/+282
| | | | | | | | | | Fixed issues identified by the new tests: - Improper formatting of object-id in get-query - Remote (non-broker-resident) agents not visible to the console - object.update() and object.merge() not implemented git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817312 13f79535-47bb-0310-9956-ffa450edef68
* FailoverBaseCase has not been using the testprofile defined test.port.alt ↵Martin Ritchie2009-09-213-5/+11
| | | | | | for the failover server. As a result the connection has been failing. Updated to use correct system property and added text to both default.testprofile and test-provider.properties to ensure that the changes are made in both locations, Ideally JNDI connection would use the same system property that is used by QTC for starting the broker. However I don't believe that it is currently doing that. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817295 13f79535-47bb-0310-9956-ffa450edef68
* Enabled some tests that were unintentionally disabled.Alan Conway2009-09-181-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816781 13f79535-47bb-0310-9956-ffa450edef68
* Added accessor for returned method argumentsTed Ross2009-09-182-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816776 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the QMF engine to adhere to the following rules regardingTed Ross2009-09-1828-507/+578
| | | | | | | | | | | | | | | | the pimpl (Pointer to Implementation) pattern: 1) Impl classes have constructors matching the public constructors 2) Additional Impl constructors are accessed through a static factory function 3) All linkages to objects are to the public object 4) If a back-link (from Impl to public) is needed, the Impl class must be derived from boost::noncopyable 5) All public classes have non-default copy constructors that make a copy of the Impl class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816770 13f79535-47bb-0310-9956-ffa450edef68
* Rearrange readCredit logic for correctnessAndrew Stitcher2009-09-181-14/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816763 13f79535-47bb-0310-9956-ffa450edef68
* Rolling back my recent change 816715. These script changes don't work with ↵Michael Goulish2009-09-1812-35/+27
| | | | | | the RH "Ptolemy" build system. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816731 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-1812-27/+35
| | | | | | | | | | | | | | | | code that is appropriate for the installed python version, and place the code at any desired location. This is a big improvement in making the builds automatically adapt to different OSs. From src/tests/Makefile.am, I am calling his gadget to create the code, and placing it all in PYTHON_DIR/temp. Then altering the paths in a bunch of test scripts to point to the right places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816715 13f79535-47bb-0310-9956-ffa450edef68
* New suppressions for RHEL4 only, taking care of extensive leaks inMichael Goulish2009-09-181-0/+76
| | | | | | | | | | | dl_open and a couple other libs after a recent upgrade. NOTE -- these should be investigated soon! But we need to get the RHEL4 build functioning again, first. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2111 SelectorTest Unify selector tests into one class. AddAidan Skinner2009-09-182-314/+322
| | | | | | | testRuntimeSelectorError git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816579 13f79535-47bb-0310-9956-ffa450edef68
* Add console control handler to properly shut down broker on ^C et al; fixes ↵Stephen D. Huston2009-09-171-0/+9
| | | | | | QPID-2109 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816348 13f79535-47bb-0310-9956-ffa450edef68
* QMF ConsoleTed Ross2009-09-1716-1442/+1668
| | | | | | | | | - Added implementation for method invocation - Added metaprogramming hooks in Ruby for attribute and method access - Refactored file structure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816345 13f79535-47bb-0310-9956-ffa450edef68
* changed dispatch to throw an attribute error if there is no handlerRafael H. Schloming2009-09-171-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816222 13f79535-47bb-0310-9956-ffa450edef68
* added some empty, min, and max to RangedSetRafael H. Schloming2009-09-172-0/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816221 13f79535-47bb-0310-9956-ffa450edef68
* Update to QpidTestCase to only check for broker.stopped lines until we have ↵Martin Ritchie2009-09-173-3/+5
| | | | | | found the ready line. Added broker.stopped line to cpp.testprofile 'Exception constructed' this identifies port conflict issues. Local testing has shown that this works as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816150 13f79535-47bb-0310-9956-ffa450edef68
* backing out change r815804 -- didn't test with clustering turned on.Michael Goulish2009-09-1612-26/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815923 13f79535-47bb-0310-9956-ffa450edef68
* Path fix for recent checkin of Python changes.Michael Goulish2009-09-161-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815912 13f79535-47bb-0310-9956-ffa450edef68
* Pass 0 ppid property if os.getppid() not supported; fixes QPID-1676Stephen D. Huston2009-09-161-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815884 13f79535-47bb-0310-9956-ffa450edef68
* Use qpid::sys::sleep() instead of naked sleep(); fixes build error on WindowsStephen D. Huston2009-09-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815876 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-1612-13/+20
| | | | | | | | | | | | | | | code that is appropriate for the installed python version, and place the code at any desired location. This is a big improvement in making the builds automatically adapt to different OSs. From src/tests/Makefile.am, I am calling his gadget to create the code, and placing it all in PYTHON_DIR/temp. Then altering the paths in a bunch of test scripts to point to the right places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815804 13f79535-47bb-0310-9956-ffa450edef68
* Fix line endingsAidan Skinner2009-09-161-35/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815771 13f79535-47bb-0310-9956-ffa450edef68
* add missing 'references' attrib to altExchangeNuno Santos2009-09-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815449 13f79535-47bb-0310-9956-ffa450edef68
* QMF Console updated to the point where query (get_object) is supported.Ted Ross2009-09-1522-323/+1004
| | | | | | | The Ruby binding continues to track the c++ engine progress. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815416 13f79535-47bb-0310-9956-ffa450edef68
* Reveted changes to QPID-2099, QPID-2100. The value of PNAME must not be changed.Martin Ritchie2009-09-153-15/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815206 13f79535-47bb-0310-9956-ffa450edef68
* Reversed checkin of r.813825 until its problems can be resolvedKim van der Riet2009-09-1423-526/+411
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2099 : Updated QTC now that QPID_PNAME will wrap its value QTC doesn't ↵Martin Ritchie2009-09-141-1/+1
| | | | | | need to do it aswell. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814670 13f79535-47bb-0310-9956-ffa450edef68
* Added available and pendingAck properties to Receiver; added capacity and ↵Gordon Sim2009-09-1425-149/+569
| | | | | | pending properties to Sender. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2100 : Updated qpid.stop to use QPID_PNAME variable as the search. This ↵Martin Ritchie2009-09-141-4/+12
| | | | | | | | | | brings it in line with qpid-run. If QPID_PNAME is not set then it will fall back to QPID_STOP_SERVER so as to main backward compatibility. If neither are set then it will only use -DPNAME=" as the search. Thus allowing the value to have been changed and this script still to detect QPID processes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814545 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2099 : Updated qpid-run to use QPID_PNAME as the value for the system ↵Martin Ritchie2009-09-141-2/+2
| | | | | | | | property -DPNAME="". Ensured value is quoted to allow spaces in QPID_PNAME. i.e QPID_PNAME="Production Broker" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814544 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect file nameGordon Sim2009-09-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814539 13f79535-47bb-0310-9956-ffa450edef68
* Organized the tests to cover both allow and deny mode for particular caseRajith Muditha Attapattu2009-09-111-33/+259
| | | | | | | | Added more tests cases to exchange , particularly to cover QPID-2098 Fixed errors in test cases for queue acl git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814077 13f79535-47bb-0310-9956-ffa450edef68
* Minor fix from r.814021Kim van der Riet2009-09-111-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814043 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect test for quorum status.Alan Conway2009-09-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814021 13f79535-47bb-0310-9956-ffa450edef68
* Fix for signed-unsigned mismatch in testKim van der Riet2009-09-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Update ManagementLoggingTest to cope with relative paths.Martin Ritchie2009-09-111-1/+1
| | | | | | Just check for the file name rather than the path. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813856 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains the followingRajith Muditha Attapattu2009-09-116-164/+327
| | | | | | | | | | 1. Applying patches from Tim Platten attched to QPID-2062 and QPID-2063 2. Fixed QPID-2098 3. Added test cases for QPID-2062 and QPID-2063 4. Added more user friendly logging for ACL rule processing and lookup methods. In debug mode the logging should now provide more visibility into how rules are evaluated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813850 13f79535-47bb-0310-9956-ffa450edef68
* Joint checkin with cctrieloff. Refactor of exchange routing so that ↵Kim van der Riet2009-09-1123-412/+537
| | | | | | multi-queue policy differences may be resolved and allow for correct multi-queue flow-to-disk behavior. Different queues may have differing policies and persistence properties - these were previously being neglected. New c++ test added. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2093: Updated AMQBRokerManagerMBean to check if the queue is durable ↵Martin Ritchie2009-09-116-348/+701
| | | | | | | | | | | before performing store.deleteQueue(). Created ModelTest to validate the change, (testDeletionDurableViaJMX). To facility the testing, extracted JMX Operations from ManagementActorLoggingTest to a new JMXTestUtils and updated both ModelTest and MALT to use this interface. Updated 010(cpp) and 08(Java-InVM) excludes as the CPP does not have JMX and the InVM JMX is unreliable (see QPID-2097) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813801 13f79535-47bb-0310-9956-ffa450edef68
* Add test customisation configuration to derby and acl configsMartin Ritchie2009-09-112-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2094 : Check if _output is null, if so write test configuration to ↵Martin Ritchie2009-09-111-1/+2
| | | | | | java.io.tmpdir. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813798 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2095 : Update QTC to set the management.jmxport configuration property ↵Martin Ritchie2009-09-111-0/+2
| | | | | | on InVM test cases git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813797 13f79535-47bb-0310-9956-ffa450edef68