summaryrefslogtreecommitdiff
path: root/java/broker
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2687: Make PluginManager auto-deploy bundles properlyRobert Gemmell2010-06-231-25/+7
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957223 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2555 : Modified the MANIFEST to include org.apache.qpid.common and ↵Martin Ritchie2010-06-221-0/+1
| | | | | | | | org.apache.qpid.server.registry Patch provided by Sorin Suciu git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956888 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2665: Remove BROKER from object types for pluginsRobert Gemmell2010-06-173-15/+0
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2654: Add Actor logging to the ACL pluginRobert Gemmell2010-06-173-0/+13
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2662: Use actual SocketAddress instead of the String representationRobert Gemmell2010-06-173-3/+5
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955617 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2673: dont hold a disposition change listener for messages when ↵Robert Gemmell2010-06-172-3/+10
| | | | | | accept-mode=NONE and acquire-mode=PRE_ACQUIRED (ie NO_ACK mode) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955557 13f79535-47bb-0310-9956-ffa450edef68
* Update SAMQQT to use an initialised Direct exchange rather than make its own.Martin Ritchie2010-06-141-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954434 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2638 : Add initial support for Topics section in configuration file.Martin Ritchie2010-06-1413-26/+242
| | | | | | | | | Added getQueueConfiguration(AMQQueue) which will return a new configuration for the given queue reflecting its binding status. This will allow the queue to be reconfigured during the binding process. Full Docs on this approach to appear on wiki. AMQQueue.configure and getConfiguration() have been updated to use ConfigurationPlugin rather than QueueConfiguration, The queue may be configured by a TopicConfiguration now. Update SlowConsumerTest to be GlobalQueuesTest and add a GlobalTopicsTest to match, where the config is added to the queues or topics section respectively git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2625 : Moved Logging generation to moudule.xml to allow plugins to ↵Martin Ritchie2010-06-1442-526/+2780
| | | | | | | | | | | | | | | | | | utilise the same functionality. To enable generation for your plugin just add : <target name="precompile" depends="gen_logging"/> to your build.xml Logging is now defined in a X_logmessage.properties file. Where X is used to make the XMessages.java class. Also updated all existing usages to remove the 3 digit prefix that wasn't adding any info. Updated ConfigStore and Transaction Log to use named properties rather than numeric values. If we are going to continue with <3 alpha>-<4 numeric> ids for messages then we'll need to have some registry to prevent clases. Perhaps it is simpler to relax this and require a plugin creator to provide a unique identifier for their messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954432 13f79535-47bb-0310-9956-ffa450edef68
* Update LogMessage Generation to be based on a the existance of a ↵Martin Ritchie2010-06-141-71/+72
| | | | | | _logmessages.property file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954431 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2650: revert change in r952930 which removed the extraneous vhost ↵Robert Gemmell2010-06-101-5/+7
| | | | | | subdir. A slightly larger change is required as it turns out derby wont use a provided empty directory git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@953254 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2650: Make use of connections with auto-commit transactions disabled ↵Robert Gemmell2010-06-092-116/+104
| | | | | | | | | | | for metadata, content, and queue entries. Additionally, make remaining uses of auto-commit enabled connections more visible and remove the erroneous explicit commits on these. Close completed Statements after use. Add/correct various related debug log statements. Stop adding vhost name to all environment paths, now just the default value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952930 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2634: set/correct broker+common script line ending properties depending ↵Robert Gemmell2010-06-072-20/+20
| | | | | | on targeted platform git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952407 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2634: use ant fixcrlf task as part of the broker packaging process to ↵Robert Gemmell2010-06-071-1/+2
| | | | | | | | | ensure correct line endings on scripts Applied patch from Emmanuel Bourg <ebourg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952404 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : External broker profile actually needs an InVM broker created to ↵Martin Ritchie2010-06-031-1/+1
| | | | | | | | | | process the configuration. As we don't automatically create the AppRegistry any more we need to explicitly create an InVM broker for these two tests. It may be necessary to move the IBBC creation from AbstractTestLogging to QBTC for external profile runs. However, testing to date has only shown these two tests failing due to missing AR. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Ensure we only attempt to load plugins that are configured and ↵Martin Ritchie2010-06-031-3/+7
| | | | | | so will be created. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951168 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup code. Configuration security.access is not used anymoreMartin Ritchie2010-06-032-6/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951167 13f79535-47bb-0310-9956-ffa450edef68
* Increase ExpiredMessageCheck time period to ensure test succesfully runsMartin Ritchie2010-06-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951163 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update Plugins that use configuration to only throw ↵Martin Ritchie2010-06-039-39/+109
| | | | | | | | | | ConfigurationExceptions during the configuration phase of loading configuration. Creating a plugin and providing it with configuration should not throw a configuration exception. Added configuration validation to newer plugins SimpleXML still needs validation. todo Docuement Configuration mechanism. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951159 13f79535-47bb-0310-9956-ffa450edef68
* Remove Plugin.isConfigured Only configured plugins should be createdMartin Ritchie2010-06-032-23/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951158 13f79535-47bb-0310-9956-ffa450edef68
* Add the ASF License to various classes currently missing itRobert Gemmell2010-06-021-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950740 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update Plugins to have a consistent ↵Martin Ritchie2010-06-026-28/+15
| | | | | | | | | configure(ConfigurationPlugin config) method. Further work is required to ensure that all ConfigurationPlugins perform config validation rather than leaving that to the plugin. The plugin should just use the config. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Fix test that need to modify the configuration before starting ↵Martin Ritchie2010-06-028-124/+133
| | | | | | the broker. VHCT needed to ensure that the configuration for the various queue priorities was set. The actors need to be able to en/disable status-updates as required. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Update test to use the testName'd queue by default not 'test'Martin Ritchie2010-06-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950653 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Move the creation of the default virtualhosts in the xml config ↵Martin Ritchie2010-06-021-15/+23
| | | | | | to setup so tests can clear it and make their own git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950652 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : extra plugins require common/test for the test NetworkDriverMartin Ritchie2010-06-021-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Updated actor test for IBBC.Martin Ritchie2010-06-027-71/+39
| | | | | | | | | Base classes now extends IBBC rather than TestCase. The rest of the tests were updated to make use of the configure method rather than their own setUpWithConfig(). The test do not directly require an ApplicationRegistry and were using it to assist in the creation of the logger parmeters. CurrentActor test was also updated to stop the broker before testing to ensure that any Actors set for the broker test run are removed so that the CurrentActor.set/remove logic can be tested. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950649 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Update to ensure multiple virtualhosts are actually added, ↵Martin Ritchie2010-06-021-5/+6
| | | | | | required move to XMLConfiguration from PropertyConfiguration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950648 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : IBBC update and removed most local variable declartion as this ↵Martin Ritchie2010-06-021-37/+12
| | | | | | was duplicating IBBC setup git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Updated as per other tests for IBBC, with setUp/tearDownMartin Ritchie2010-06-021-7/+11
| | | | | | | This test also required a change to record the number of queues created during IBBC broker startup and ensure the test added one more test. Previously it checked for 0 queues then 1 queue now it is n and n+1. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Updated AMQQueueAlertTest to use configure() to set ↵Martin Ritchie2010-06-021-45/+23
| | | | | | | | ExpiredMessage check period. Removed local variables and renamed others to utilise those created by IBBC. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950645 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2623 : Simple changes to classes that extended TestCase, now they ↵Martin Ritchie2010-06-0221-155/+84
| | | | | | | | | extend InternalBrokerBaseCase. Fixed up @Override on setUp/tearDowns removed setUp/tearDowns that were simply super calls. Corrected existing setUp/tearDowns to call super. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Update IBBC and TestApplicationRegistry to provide default test ↵Martin Ritchie2010-06-022-20/+64
| | | | | | | | vhosts and one named after the test via getName(). Also provide configure() method callback so the test can provide any configuration it needs before the broker starts up. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950643 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Remove NullApplicationRegistryMartin Ritchie2010-06-023-153/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 - Cleaned up PluginTest, it now simply uses the configure() method ↵Martin Ritchie2010-06-021-18/+5
| | | | | | to set its additional property git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Add Logging to SCD. Update PluginManager to expose the logging ↵Martin Ritchie2010-06-021-0/+2
| | | | | | packages via OSGi. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2625 : Update GenerateLogMessages to probe the property file for ↵Martin Ritchie2010-06-0210-41/+106
| | | | | | 3-Digit LoggingClasses and use that as the basis for generation. Expose LogSubjects from Queue and Session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2526: quote arguments to allow building with spaces in pathRobert Gemmell2010-05-311-1/+5
| | | | | | | Applied patches from Emmanuel Bourg <ebourg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949853 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2422: fix passing of the queue exclusivity argument during recovery as ↵Robert Gemmell2010-05-311-1/+1
| | | | | | it was broken by previous commits git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949791 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2624: Check whether virtualhosts configuration file existsRobert Gemmell2010-05-312-0/+33
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2573: Implement the Firewall functionality as an OSGi pluginRobert Gemmell2010-05-312-559/+0
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949785 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2569: Implement the SimpleXML as an OSGi pluginRobert Gemmell2010-05-313-1410/+0
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949784 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2606: Access Control ModificationsRobert Gemmell2010-05-3180-2047/+2303
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2585: Upgrade Felix to 2.0.5Robert Gemmell2010-05-315-169/+254
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949780 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581: Update configuration manager to allow multiple plugins to handle ↵Robert Gemmell2010-05-3123-635/+396
| | | | | | | | | the same configuration Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949779 13f79535-47bb-0310-9956-ffa450edef68
* Set property for native line endings on QueuePurgeHandlerRobert Gemmell2010-05-251-128/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948059 13f79535-47bb-0310-9956-ffa450edef68
* Set property for native line endings on BasicGetMethodHandlerRobert Gemmell2010-05-251-212/+212
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948051 13f79535-47bb-0310-9956-ffa450edef68
* 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