summaryrefslogtreecommitdiff
path: root/java/broker/src/test
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2609: Implement getName for MockAMQQueueRobert Gemmell2010-05-241-1/+1
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2607: Fix package name typo for CRAMMD5HexInitialiserTest.javaRobert Gemmell2010-05-241-7/+1
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947606 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update ConfigurationPlugin to provide a validateConfiguration() ↵Martin Ritchie2010-05-211-2/+11
| | | | | | method simplifying the plugins git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947177 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Complete SCDPolicyConfiguration TestingMartin Ritchie2010-05-211-16/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2622 : Add Closeable interface and update Broker components to use it ↵Martin Ritchie2010-05-201-1/+1
| | | | | | and add close method in ApplicationRegistry to safely perform the close. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Full test the TopicDeletePolicy, udpate MockAMQQueue and ↵Martin Ritchie2010-05-202-17/+32
| | | | | | | | | InternalTestProtocolSession to allow: - Queue- Setting of AutoDelete - ProtocolSession - Closing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946665 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2422: add a boolean exclusive property to queues, update the DerbyStore ↵Robert Gemmell2010-05-1913-41/+41
| | | | | | and virtualhost recovery process to allow restoring exclusivity. Also persist and restore queue arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946199 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update ConfigurationPlugin to correctly handle attributes in ↵Martin Ritchie2010-05-181-0/+94
| | | | | | | | | | configuration. Added work around for the fact that we use a Composite Configuration that turns an XML attribute key of '[@attribute]' in to '@attribute]'. Added test for to this conversion. This makes the Plugin Configuration interface consistent so if we swap our configuration format. The key style of '[@attribute]' will work as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2614 : Update QueueConfiguration to take two parameters, moved Munging ↵Martin Ritchie2010-05-181-36/+44
| | | | | | | | code from VHC to QC. Updated Test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584 : Convert all TimerTasks to HouseKeepingTasks for running in the ↵Martin Ritchie2010-05-181-0/+79
| | | | | | | | | VHost thread pool. Update VirtualHost and Configuration to allow configuration and testing of VirtualHostHouseKeepingPlugins. Added system test to validate the loading of VHPlugins is performed correctly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2583 : Update tests to correctly throw ConfigurationException where ↵Martin Ritchie2010-05-072-0/+6
| | | | | | requried and to correctly configure configuration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Add ConfigurationManager and split config creation from config ↵Martin Ritchie2010-05-072-170/+50
| | | | | | processing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942109 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2583 : Update tests to correctly throw ConfigurationException where ↵Martin Ritchie2010-05-073-6/+117
| | | | | | requried and to correctly configure configuration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2575 : Create Connection and Session models to correctly expose the ↵Martin Ritchie2010-05-071-3/+4
| | | | | | Owning Session. Addressed issue where getPrincipal was used in error to identify queue owner. Session model now allows access to this in a protocol independent way. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942101 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2579 : Improve IBBC tearDown to ensure AR remove and tearDown always occur.Martin Ritchie2010-05-071-3/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942099 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2530 : Updated build system to have a new findSubProjects macro in ↵Martin Ritchie2010-04-261-53/+0
| | | | | | | | | | build.xml that will correctly locate and add all subprojects (those with a build.xml file) to the modules.plugin variable. This will correctly allow new plugins to be automatically picked up without any further build system changes. To further simplify the build process and make better use of the module.depends option the build.deps file has been updated to contain only the libraries the module actually depends on. The dependant libraries due to a module.depends are now automatically pulled in by the build system. A further enhancement would be to do transitive dependencies, which would also allow dependencies to be built when in a sub module directory. e.g. client depends on common, but client.libs should not contain mina, common contains mina and so those libraries are pulled in via the fact that client's module.depends contains common. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2534: export the necessary additional packages. Reenable the PluginTest ↵Robert Gemmell2010-04-241-2/+2
| | | | | | now that the required package is available to the plugin git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937566 13f79535-47bb-0310-9956-ffa450edef68
* Temporarily commenting out testLoadExchanges in PluginTest.java as the test ↵Rajith Muditha Attapattu2010-04-231-2/+2
| | | | | | case is failing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2361: actually write out the required default virtualhost propertyRobert Gemmell2010-04-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931132 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2361: Fix to correctly set default virtualhost name in external ↵Robert Gemmell2010-04-051-0/+5
| | | | | | | | | configuration file Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@930877 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2360, QPID-2361: Restore the virtualhosts.xml file. When a ↵Robert Gemmell2010-03-301-34/+619
| | | | | | | | | virtualhosts.xml file is specified load it as its own Configuration object to ensure the property heirarchy is not lost. Enforce that virtualhost config can only be specified in either the main config.xml file or the virtualhosts.xml file, but not both. Allow the virtualhosts.xml file to be a combined configuration and use to provide override abilities for testing. Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929136 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add the queue UnackedMessage countsRobert Gemmell2010-03-231-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926530 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2397: add Binding.msgMatched() support to the TopicExchange, and remove ↵Robert Gemmell2010-03-181-11/+12
| | | | | | its internal usage of the TopicBinding class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924881 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add Binding.msgMatched() support to the HeadersExchangeRobert Gemmell2010-03-183-63/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924879 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add BytesTxnDequeues and MsgTxnDequeues on Queue delegateRobert Gemmell2010-03-043-2/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918942 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add BytesTxnEnqueues and MsgTxnEnqueues on Queue delegateRobert Gemmell2010-03-041-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918941 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add ConsumerCountHigh to Queue delegateRobert Gemmell2010-03-041-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918938 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379 : Initial work on adding QMF and federation to the Java BrokerRobert Godfrey2010-01-3120-291/+470
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2137 : Add a test that creates log messages simultaneously in multiple ↵Martin Ritchie2010-01-131-3/+101
| | | | | | threads to validate the previous change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898953 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2322: remove unused version key from the MBean ObjectName'sRobert Gemmell2010-01-061-13/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896674 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2096: decouple the addition of durable exchanges to the store from ↵Robert Gemmell2010-01-041-0/+4
| | | | | | exchange registration. Remove auto-delete related persistence restriction from 0-10 based exchange declarations git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@895735 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2258 : AMQP0-9-1 Compliance fixesRobert Godfrey2009-12-093-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889022 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2177: rework noddy unit testRobert Gemmell2009-12-081-16/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888348 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2177: unit and system testing for the new flow controlled related ↵Robert Gemmell2009-12-081-0/+61
| | | | | | attributes of the Queue MBean git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888250 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2177: expose Capacity, FlowResumeCapacity, and FlowOverfull as ↵Robert Gemmell2009-12-081-0/+5
| | | | | | attributes of the Queue MBeans git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888248 13f79535-47bb-0310-9956-ffa450edef68
* Merged r887145 from 0.5.x-dev Martin Ritchie2009-12-041-1/+1
| | | | | | | | QPID-1992 : Ensure there is only one location where strings are built for logging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887152 13f79535-47bb-0310-9956-ffa450edef68
* Merged r 886719:886722 from 0.5.x-dev.Martin Ritchie2009-12-0330-364/+441
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886842 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: replace random 1second wait with a LogMonitor check that the ↵Robert Gemmell2009-12-011-3/+3
| | | | | | reload has occured. Also update some method and paramter names git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2222: Add CRAM-MD5-HEX support to broker to enable .net client to ↵Robert Gemmell2009-11-271-0/+143
| | | | | | | | | connect to broker when using Base64MD5 password file. Changes merged from M2.x branch r664001 with update to implement the newer reload() PD method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: make sure global security plugins are reconfigured properlyAidan Skinner2009-11-111-32/+66
| | | | | | | | | | | ServerConfigurationTest: add test for reloading firewall config in main section, not just as a combined file FirewallConfigTest: add a systest for firewalls with real broker QpidTestCase: add a reloadBroker() method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2178: test expanded channels() output correctly returns current channel ↵Robert Gemmell2009-11-061-0/+27
| | | | | | blocking status git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@833447 13f79535-47bb-0310-9956-ffa450edef68
* Merged from java-broker-0-10 branchRobert Godfrey2009-10-2543-1573/+1266
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Updated Broker Logging Unit tests to ensure that they enable ↵Martin Ritchie2009-10-228-2/+17
| | | | | | logging before running. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1872: remove systest and reinstate equivalent unit testRobert Gemmell2009-10-211-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827968 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2055: update test to ensure all test files created are cleared upRobert Gemmell2009-10-202-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2042: update test to ensure all test files created are cleared upRobert Gemmell2009-10-201-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827590 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2041: update test to ensure all test files created are cleared upRobert Gemmell2009-10-201-10/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2040: update test to ensure all test files created are cleared upRobert Gemmell2009-10-201-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1301 Fixes for issues with temporary queue permissions, including ↵Marnie McCormack2009-10-201-2/+60
| | | | | | promotion of temporary element out from individual queue elements. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1304: implement the ACCESS section of SimpleXML ACL. Enables ↵Robert Gemmell2009-10-151-0/+33
| | | | | | virtualhost level access control, giving the defined users full access to all artifacts in the vhost git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825453 13f79535-47bb-0310-9956-ffa450edef68