summaryrefslogtreecommitdiff
path: root/java/broker
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2659: Add AMQStoreException to message storesAndrew Donald Kennedy2010-07-2611-176/+175
| | | | | | | This is a sub-class of AMQInternalException, which encapsulates error code 541, or INTERNAL_ERROR. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979315 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2661: Throw a NOT_IMPLEMENTED AMQException for 0-10 messagesAndrew Donald Kennedy2010-07-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Remove unnecessary ssn.processed() callAndrew Donald Kennedy2010-07-261-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979289 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2757: Remove double checked lockingAndrew Donald Kennedy2010-07-261-14/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979208 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Make Exceptions propagate to client for 0-10Andrew Donald Kennedy2010-07-223-54/+96
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2740 : Update to use backupFilesToPath for non-compressed files.Martin Ritchie2010-07-221-18/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2739 : Updated deleteFile to add the backupFilesToPath for delete ↵Martin Ritchie2010-07-221-3/+36
| | | | | | requests if it is set. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2682: Move slow consumer disconnection mechanism to the brokerAndrew Donald Kennedy2010-07-2217-40/+1919
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2679: cache queues that are configured on a per-virtualhost basisAndrew Donald Kennedy2010-07-221-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966634 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2731: ensure the MessageStoreTest test store for Derby is created ↵Robert Gemmell2010-07-211-1/+2
| | | | | | within the QPID_WORK directory git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966153 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2731, QPID-2741, QPID-2742: Enable the MessageStoreTest to run for the ↵Robert Gemmell2010-07-162-43/+72
| | | | | | DerbyMessageStore. Test update of queue exclusivity. Apply various fixes to allowtest to pass (correct exchange count checks, flush messages to the store, delete store directory properly, check for the proper value for selector argument, add ability to unregister virtualhosts from the registry) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964830 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2742: Gather exchange type name properly, and remove the extraneous ↵Robert Gemmell2010-07-161-3/+3
| | | | | | statement execution and move its closure after use use the output ResultSet. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2741: issue the shutdown command to Derby during close()Robert Gemmell2010-07-161-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964827 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2731: enable getting/setting queue exclusivity via JMXRobert Gemmell2010-07-1610-2/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2726: add custom PlainPasswordCallback to enable PLAIN auth against ↵Robert Gemmell2010-07-102-16/+88
| | | | | | custom PrincipalDatabase's which cant actually return password data, and revert r961923 changes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@962870 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2726: move the password verification process to an easily overridable ↵Robert Gemmell2010-07-081-2/+15
| | | | | | protected method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961923 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a compile error.Rajith Muditha Attapattu2010-07-061-26/+0
| | | | | | | The testTopicBindings() was defined twice in this class, possibly an error when applying the patch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960766 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2700 Patch for ability to remove bindings from exchanges and additional ↵Marnie McCormack2010-07-052-0/+110
| | | | | | tests for direct and topic exchange add/remove logic from Andrew Kennedy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2681 : Add final SCD testing for Topic and SubscriptionsMartin Ritchie2010-07-051-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960553 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2681 : Provide default empty configuration for TopicConfigMartin Ritchie2010-07-051-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960552 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Added some addition debug log to queue to aid understanding when ↵Martin Ritchie2010-07-051-0/+5
| | | | | | queues are reconfigured git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960551 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2681 : Update VHC to correctly merge queues-(exchange)-queueMartin Ritchie2010-07-051-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960550 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2681 : Correcly process global configuration, added test to coverMartin Ritchie2010-07-052-6/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2681 : Provide ability to merge configurations. This does simple ↵Martin Ritchie2010-07-054-34/+224
| | | | | | merging of sub configuration elements. Currently the last value to be merged is taken as is. No explicit merging is performed. Merging is performed in the order Queues->(Exchange)->Queue, Where a configured Exchange Configuration component can decide how to perform its merge. TopicConfiguration performs the order Topics->Topic->Subscriptions, this allows Global Topic configuration to be overwritten by a specific topic version. Currently the Topic is only identified by a straight string wild card matching has not yet been implemented. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960546 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Process new topic configurationMartin Ritchie2010-07-053-21/+309
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960544 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Move Queue Reconfiguration to the Queue rather than the Binding ↵Martin Ritchie2010-07-052-8/+9
| | | | | | Factory git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960541 13f79535-47bb-0310-9956-ffa450edef68
* 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