summaryrefslogtreecommitdiff
path: root/java/broker
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-2771: rename package from plugin to pluginsRobert Gemmell2010-08-2716-27/+27
| | | | | | | Applied patches from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@990236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2822: add ASF licence to SCD log message property filesRobert Gemmell2010-08-272-2/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@990147 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2822: move documentation of the log message property files from the ↵Robert Gemmell2010-08-2712-2291/+0
| | | | | | | | | files themselves to a Docbook format file for inclusion in a future developer docs book Applied patches from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@990146 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2802: move Log4jMessageLogger and update its test to account for use of ↵Robert Gemmell2010-08-263-56/+85
| | | | | | per-message log heirarchies rather than a single default Logger git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@989735 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2802: Add support for a status-logging hierarchy, such that the ↵Robert Gemmell2010-08-2629-464/+249
| | | | | | Log4jMessageLogger may use this to allow individual on/off toggling of each status message. Combine the RootLogger and RawLogger interfaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@989734 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Correct handling of sync on 0-10 client session for exceptionsAndrew Donald Kennedy2010-08-131-2/+10
| | | | | | | | | | AMQSession_0_10 is modified to contain a pair of get/set methods for the current exception, using the set method to post the exception to the listener. The sync method will now throw an exception if one has occurred and all other methods that used to call sync()/getCurrentException() can just call sync(0 and get the expected behaviour. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@985262 13f79535-47bb-0310-9956-ffa450edef68
* Tidy up various badly named testsAndrew Donald Kennedy2010-08-132-59/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@985259 13f79535-47bb-0310-9956-ffa450edef68
* Remove the accessBroker method as it is unusedAndrew Donald Kennedy2010-08-131-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@985200 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2787: Add test for persistence of Conflation/LastValue queuesRobert Gemmell2010-08-094-38/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@983571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2783: Eliminate the UnknownMessageTypeException from ↵Robert Gemmell2010-08-082-47/+1
| | | | | | | | | o.a.q.server.protocol package Appled patch from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@983441 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2787: split existing test into component test methods regarding ↵Robert Gemmell2010-08-061-172/+405
| | | | | | persistence/recovery of queues, exchanges, messages,bindings. Add additional tests around removal of persisted items. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@982988 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2787: Move QpidTestCase to Common test module so that any test can ↵Robert Gemmell2010-08-061-2/+2
| | | | | | | | | inherit from it, allowing exclusions to be applied. Add ability to gather the class name of the message store associated with the test profile in use. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@982986 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2642: Replace bitwise and with short-circuit and operatorAndrew Donald Kennedy2010-07-311-1/+1
| | | | | | | Applied patch from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2668: Improve PlainPasswordPrincipalDatabase lock managementAndrew Donald Kennedy2010-07-311-26/+15
| | | | | | | Applied patch from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981103 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Factor out exception handlingAndrew Donald Kennedy2010-07-281-77/+31
| | | | | | | | Created a proxy method that calls exception() which takes a thrown AMQException and gets the error code if it can be translated and creates the error message description from the exception message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980020 13f79535-47bb-0310-9956-ffa450edef68
* 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