summaryrefslogtreecommitdiff
path: root/java/broker/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2626: Fix typo and unchecked assignment warning in ServerConnectionDelegateRobert Gemmell2010-05-251-2/+2
| | | | | | | Applied patch from Emmanuel Bourg <ebourg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948001 13f79535-47bb-0310-9956-ffa450edef68
* 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-215-2/+33
| | | | | | 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-215-133/+407
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2585 : Prevent NPE if plugins are not enabled but requestedMartin Ritchie2010-05-211-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947174 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Modified VirtualHostHouseKeepingPlugin to return a TimeUnit and ↵Martin Ritchie2010-05-202-19/+4
| | | | | | | | force plugin to perform validation. Potentially could be refactored to allow all VHHKPlugins to process TimeUnits in a consistent way. Add Config validation and UnitTest for SlowConsumerDetctionConfiguration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946669 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2622 : Add Closeable interface and update Broker components to use it ↵Martin Ritchie2010-05-2013-96/+112
| | | | | | 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-1447 : Update TopicDeletePolicy to have it's own ConfigurationPlugin ↵Martin Ritchie2010-05-201-1/+1
| | | | | | for handling the configuration section. Improved configuration section based on feedback from Sorin Suciu git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946664 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2466: swap WeakReference usage to keep handles to message content to ↵Robert Gemmell2010-05-192-8/+8
| | | | | | | | | SoftReference's. Applied patch from Andrew Kennedy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946227 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2422: add a boolean exclusive property to queues, update the DerbyStore ↵Robert Gemmell2010-05-1925-78/+127
| | | | | | 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-2584 : Add Logging Actor to HouseKeepingTasksMartin Ritchie2010-05-181-1/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945682 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update ConfigurationPlugin to correctly handle attributes in ↵Martin Ritchie2010-05-182-2/+108
| | | | | | | | | | 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-183-44/+54
| | | | | | | | 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-2585 : Ensure plugins are correctly loaded, so can renenable ↵Martin Ritchie2010-05-181-6/+9
| | | | | | PluginTest. (Patch provided by Andrew Kennedy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945679 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584 : Convert all TimerTasks to HouseKeepingTasks for running in the ↵Martin Ritchie2010-05-188-54/+230
| | | | | | | | | 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-2584 : Update VirtualHostImp and VHPlugin to ensure that a ↵Martin Ritchie2010-05-183-5/+33
| | | | | | RuntimeException occuring in a plugin will not cause the Plugin to stop running. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2613: flush 0-8/0-9 message to store when delivery beginsRobert Gemmell2010-05-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945536 13f79535-47bb-0310-9956-ffa450edef68
* Make constructor public instead of packageRobert Gemmell2010-05-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2579 : Remove debug loggingMartin Ritchie2010-05-0711-25/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942116 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2585 : Upgrade to Felix 2.0.5Martin Ritchie2010-05-071-80/+187
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942114 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584 : Updated VirtualHost to load VirtualHost Plugins and not hard ↵Martin Ritchie2010-05-074-1/+147
| | | | | | code SCD git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942112 13f79535-47bb-0310-9956-ffa450edef68
* Corrected Broker Activator stop codeMartin Ritchie2010-05-071-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942111 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-0713-409/+729
| | | | | | 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 : Add getClientID to SessionModel and standardise use accross ↵Martin Ritchie2010-05-079-19/+28
| | | | | | | | 0-8/0-10, 0-10 does not appear to provide a client ID so maintaining use of Principal Name. This means migration between 0-8 and 0-10 will not behave as expected. Correct erroneous usages of session.getPrincipal when comparing with queue.getOwner is requried. Queue owners are the client id not the authenticated user. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942102 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2575 : Create Connection and Session models to correctly expose the ↵Martin Ritchie2010-05-0717-88/+251
| | | | | | 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-242-2/+4
| | | | | | 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-2517 - Broker schema changes to support cluster management.Ted Ross2010-04-231-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937470 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2513 : Applied patch from Sorin Suciu to enable OSGi Service pluginsMartin Ritchie2010-04-232-22/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937343 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2479: Add info/debug level logging to allow tracking the virtualhost ↵Robert Gemmell2010-04-211-4/+8
| | | | | | | | | | | | housekeeping process Applied patch from Sorin Suciu <ssuciu@gmail.com> Merged from 0.5.x-dev r930288 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2097: Use the standard RMIServerSocketFactory for InVM testing to ↵Robert Gemmell2010-04-202-15/+61
| | | | | | workaround the alternating pass-fail issue encountered when running back to back tests using JMX with the InVM broker. Enable the ModelTest. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935928 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379 / QPID-2400: Unregister event listeners during QMFService shutdown ↵Robert Gemmell2010-04-191-0/+11
| | | | | | to prevent fielding object removal events that cant be actioned anymore. Add null check to the QMFClass retrieval during the unmanage process. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935474 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add ability to respond to method requests with non-zero status ↵Robert Gemmell2010-04-093-18/+76
| | | | | | codes, use to signal unimplemented methods. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add Session.close() method implementationRobert Gemmell2010-04-096-13/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932429 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add Connection.close() method implementationRobert Gemmell2010-04-095-4/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932428 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-052-0/+9
| | | | | | | | | 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-302-74/+695
| | | | | | | | | 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-236-15/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926530 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: remove mistakingly commited temporary logging additionsRobert Gemmell2010-03-181-8/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add Binding.msgMatched() support to the ManagementExchange. ↵Robert Gemmell2010-03-185-102/+47
| | | | | | Remove the ManagementExchange from the list of creatable exchange types returned for use by the JMX management console. Remove the use of TopicBinding's and then remove the now-unused class entirely. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2397: add Binding.msgMatched() support to the TopicExchange, and remove ↵Robert Gemmell2010-03-184-58/+96
| | | | | | 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: remove some unused parametersRobert Gemmell2010-03-181-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924880 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add Binding.msgMatched() support to the HeadersExchangeRobert Gemmell2010-03-186-206/+268
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924879 13f79535-47bb-0310-9956-ffa450edef68