summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1818 : Exclude NoLocalAfterRecoveryTest as 0-10 client code path does ↵Martin Ritchie2009-04-161-0/+2
| | | | | | not restore a transacted session after failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1813 : Add missing DerbyDB library dependency.Martin Ritchie2009-04-161-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765628 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1813/QPID-1817 : Removed the new properties from the test-provider as ↵Martin Ritchie2009-04-165-33/+76
| | | | | | this will affect all tests. The NoLocalAfterRecoveryTest now updates a ConnectionURL based on the JNDI data and uses that to start a connection. NLART also provides a default location for the derbyDB store as the DMS class does not correctly attempt to put the store in QPID_WORK. This will be re-addressed when ServerConfiguration is again available from a VHC object. ConnectionTest was updated to remove the literal values for the BrokerDetail options. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765608 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1817 : Update QTC to provide the configuration file to an external brokerMartin Ritchie2009-04-163-23/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765605 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1813 : Provide test that uses the DerbyMessageStore to check NoLocal ↵Martin Ritchie2009-04-164-4/+230
| | | | | | functionality after a broker restart. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765604 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1817 : Update to QpidTestCase to use setUp to start the broker this ↵Martin Ritchie2009-04-168-46/+202
| | | | | | | | allows tests to update the _configFile that is being used before the broker is started. By default the etc/config-systests.xml is used. This differs from the stock config.xml only in that it disables the Managment JMX interface by default. If a test requires this functionality it can provided an edited configuration. An example of how that might be done can be seen in SyncWaitDelayTest and will additionally be provided for QPID-1813. A couple of tests were modified to remove their setUp/tearDown where the code did no additional work. This made the tests cleaner. Additionally FrameworkBaseCase never actually called super.setUp() so that was fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1813 : Check the value of _sessionIdentifier and return null if it is ↵Martin Ritchie2009-04-162-7/+25
| | | | | | null rather than an NPE. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1815 : Ensure Derby store looks up existing queues/exchanges in the ↵Martin Ritchie2009-04-161-5/+17
| | | | | | virtualhost on recovery git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1814 : Don't always attempt to create the default exchanges in the ↵Martin Ritchie2009-04-161-0/+9
| | | | | | persistent store as they are always created first. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1814 : Relax Derby so that it does not error if you create an existing ↵Martin Ritchie2009-04-161-27/+50
| | | | | | Exchange or Queue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765593 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1812: Fix firewall rule parsing, add test for this.Aidan Skinner2009-04-152-4/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765250 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1810 : Added perftest processing scriptsMartin Ritchie2009-04-152-0/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765134 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1809 : When a DisconnectedException is recieved check the StateManager ↵Martin Ritchie2009-04-151-0/+11
| | | | | | to see if there is a cause of the disconnection that we can throw instead to give more meaning. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765132 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1807 : Add 0.5-fix broker and update SlowMessageStore to use ↵Martin Ritchie2009-04-14369-66/+60356
| | | | | | MessageStores rather than TransactionLogs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764850 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1807 : Remove old broker and FlowToDisk related testsMartin Ritchie2009-04-14395-64908/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1779 : Update to ensure CACFTest reports failures correctly and ↵Martin Ritchie2009-04-143-12/+53
| | | | | | resolved the issue that it was not showing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764790 13f79535-47bb-0310-9956-ffa450edef68
* Updated performance scripts to run even if previous test failed.Martin Ritchie2009-04-112-6/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764152 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1204 : Augmented test to cope with case were Session was closed before ↵Martin Ritchie2009-04-111-2/+10
| | | | | | we could extract the AuthenticationException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1779 : Fixed the close problem so that we only send Consumer/Session ↵Martin Ritchie2009-04-112-3/+10
| | | | | | closes when we have a connnection available to send the frame. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764140 13f79535-47bb-0310-9956-ffa450edef68
* Added comments to help understand the testMartin Ritchie2009-04-111-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1800: only create the new empty arraylist after checking for a previous ↵Robert Gemmell2009-04-101-2/+5
| | | | | | enqueue list, as it often wont be required git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1806 : Got the classname wrong in in the exclude fileMartin Ritchie2009-04-102-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764112 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1793 : Update AMQChannel to remember any AMQException that occurs ↵Martin Ritchie2009-04-101-9/+28
| | | | | | during requeue and then throws that after it has attempted to requeue all the messsagse from the unackedMap. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764111 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1779 : Application of patches attached to JIRA. Should address ↵Martin Ritchie2009-04-107-12/+158
| | | | | | | | connection close issues experienced on 0-8/9 branch Excluded test from TCP runs as it is hardwired to InVM. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764109 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1800: remove unecessary addAll() command, as the list is about to be ↵Robert Gemmell2009-04-101-1/+1
| | | | | | cloned we can simply use the original list git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1806 : Ensure Flow to disk location is deleted when the queue is closedMartin Ritchie2009-04-105-2/+92
| | | | | | Note: As our queues do not stop processing on the close() call it is possible that the backing store may not beable to be deleted. In this case all that will occur is that it will log the failure to disk so an operations team can manually clean it up. When we improve the Queueing model for AMQP 1-0 we can address this behaviour. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1805 : Updated BackingStore to error if we cannot create the backing ↵Martin Ritchie2009-04-102-3/+174
| | | | | | store. Also updated so that we store the queues evenly over 256 bins, thus giving us the ability to have around 8.1 million actives queues. The Hash function was borrowed from Apache Harmony. Added manual testing to ensure we are not limited by Linux's max file/dir per Inode of 31998. Made the test manual as creating 32000 queues does take a little while. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1633 : Ensured that FlowToDisk configuration defaults to 100Meg and is ↵Martin Ritchie2009-04-102-3/+3
| | | | | | picked up from the configuration files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764082 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1803 : Test that selectors work when a QueueDepth is set.Martin Ritchie2009-04-102-29/+132
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764081 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1804 : Provide testing for Flow to Disk when using ack modes Client, ↵Martin Ritchie2009-04-102-3/+60
| | | | | | Transacted and No-Ack git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764080 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1791 : Replaced the get call before the dequeueAndDelete with a remove. ↵Martin Ritchie2009-04-102-4/+161
| | | | | | | | So the remove call after the delete is now nolonger requried. Added manual test to assist identifing the problem git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1794 : Moved processing of single message removals to just before the ↵Martin Ritchie2009-04-101-30/+29
| | | | | | transaction commit rather than before the dequeue. As previously the list of dequeues was being traversed for every dequeue in that transaction batch with nothing to do. So removing this loop should increase performance in large batch cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1803 : Fixed potential NPE in FileUtils.deleteMartin Ritchie2009-04-101-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764076 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1800: modify SAMQQ to record transactionlog etry even when queue isnt ↵Robert Gemmell2009-04-102-9/+65
| | | | | | durable(consistent with restof broker) and send both current and new queue to BTL for enqueue to ensure references are kept properly. Update BTL to check for prevous enqueues and record new enques in any existing list, despatching only new enqueues to the delegate git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764075 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1798: Update AMQQueueMBean to use new constant value of DeliveryMode, ↵Robert Gemmell2009-04-105-6/+12
| | | | | | replacing previously incorrect literal value used in conditional statement and thus preventing the reversal of delivery mode status. Also update other broker classes making similar comparisons using a literal value to use a constant git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1801 Added method to show failure to PrincipalPermissionsTest.java and ↵Marnie McCormack2009-04-102-2/+11
| | | | | | then adjusted the ternary operator in PrincipalPermissions.java to ensure we don't pass a null into the map (see JIRA descriptions). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@763959 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1794 : Removed unnecessary synchronisationMartin Ritchie2009-04-082-76/+70
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@763363 13f79535-47bb-0310-9956-ffa450edef68
* Wrapped log statement so it doesn't perform resolution when not logging.Martin Ritchie2009-04-081-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@763362 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1794 : Clear the StoreContext after non-transactional processing. ↵Martin Ritchie2009-04-084-117/+148
| | | | | | Updated BaseTransactionLog to synchronize the on the enqueued messages from the _idToQueue Map as this will be being modified by many ack-ing threads and closing/requeue threads. Updated BaseTransactionLogTest so that it uses a single StoreContext per test rather than a fresh context for each operation. This was masking the problem. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@763361 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1793 : Increase logging on requeue to help diagnose what is being ↵Martin Ritchie2009-04-081-1/+9
| | | | | | requeued. Not on critical path so logging should not impact performance. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@763360 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1792: make JMXManagedObjectRegistry.close() method attempt to ↵Robert Gemmell2009-04-071-10/+15
| | | | | | de-register only qpid related MBeans, preventing the RuntimeException that is a result of attempting to de-register the platform MBeanServerDelegate MBean, which is not allowed. Also remove unused imports. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@762992 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1790: add new attribute to logging management mbean to indicate ↵Robert Gemmell2009-04-063-8/+45
| | | | | | available output levels. Update jmx management console to understand String[] attribute value and display contents properly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@762365 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1764 : Updated all tests to use the TestTransactionLog interface and ↵Martin Ritchie2009-04-0316-261/+397
| | | | | | split testing code into subclasses. TestableTransactionLog will now correctly wrap a TransactionLog for testing. To enable testing of the BaseTransactionLog a TestableBaseTransactionLog was needed to only return values that are actually stored in the BaseTL the TestableTransactionLog actually stores single enqueues so that they can be queried by the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@761741 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1730: make it easy to configure queues, fix inheriting settings from ↵Aidan Skinner2009-04-037-21/+207
| | | | | | | | | | | | | the virtualhost. AMQQueue.configure: new method AMQQueueFactory: use AMQQueue.configure, don't set things directly SimpleAMQQueue.configure, MockAMQQueue.configure: implement new method from the interface QueueConfiguration: use VirtualHostConfiguration for default values if they're unset VirtualHostConfiguration: if a queue doesn't exist, give it a default configuration. Add methods to get default settings for configuration items QueueConfigurationTest: test case, checks that inheritance and defaults work along with explicitly set values. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@761721 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1764 : Resolved ConcurrentME. Perils of using the 'syntax sugar' for ↵Martin Ritchie2009-04-031-2/+17
| | | | | | loop hides the message iterator that you need to call .remove(). Calling remove on the underlying Map will cause the resulting CME. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@761700 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1784 : Fixed compile errorMartin Ritchie2009-04-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@761674 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1784 Update to FlowableBaseQueueEntryList to ensure that the inhaler ↵Martin Ritchie2009-04-031-5/+18
| | | | | | and purger threads will stop when the inMemory values are within the correct range. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@761671 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1764 : Update to BaseTransactionLog to create a TestableTransactionLog, ↵Martin Ritchie2009-04-037-88/+261
| | | | | | | | which will replace TestableMessageStore. Update to BaseTransactionLog/Test to work correctly with transactions and to fully test that functionality. Updated StoreContext to know when it is in a transaction as relying on a payload being set is not sufficient as that is not set when running with the MessageMemoryStore and so transactional testing in the BTLT was not correct. Update to Virtualhost to correctly set the RoutingTable when the specified TransactionLog is wrapped in a BaseTransactionLog. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@761670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1778 : Increased delay as tcp testing takes longer than inVm. Now ↵Martin Ritchie2009-04-031-1/+2
| | | | | | checks failover doesn't occur and we know about it in less time than the connectiondelay which would be waited for if we attempted failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@761668 13f79535-47bb-0310-9956-ffa450edef68
* Fixed spelling errorMartin Ritchie2009-04-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@760953 13f79535-47bb-0310-9956-ffa450edef68