summaryrefslogtreecommitdiff
path: root/java/broker-plugins
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA: update various tests to try and avoid their sporadic failure on the ↵Robert Gemmell2011-10-071-2/+3
| | | | | | | | | | | | Jenkins persistent test runs due to the sometimes severe slowdowns on the Jenkins slaves InfoPluginTest: correct the test to record receipt of the payload before tripping the countdown latch, ensuring the subsequent list size check in the main test thread doesnt fail because of scheduling. AMQQueueDeferredOrderingTest: reduce the number of messages used during persistent runs, the test takes an excessive amount of time to complete and can fail if the storage is expecially slow. ResetMessageListenerTest: increase the time allowed to receive the messages, the 1sec allowance can be insufficient on persistent runs if the storage is especially slow. QueueDepthWithSelectorTest: ensure that a synchronous operation is performed before proceeding to later validate the queue depth on another session, ensuring that in persistent runs all the acks have first made it to the broker and been processed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1180245 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3504: add the Java broker bdbstore to the build as an optional moduleRobert Gemmell2011-09-241-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1175235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3486: Make connector server port used for JMX configurable.Keith Wall2011-09-141-1/+1
| | | | | | | Commited work from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1170612 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2720: make the PluginManager able to work with a pre-existing BundleContextRobert Gemmell2011-08-211-1/+1
| | | | | | | Manually applied patch from Danushka Menikkumbura (no longer applied after intervening commits), then updated PluginManager close() to always close the ServiceTrackers it creates, removed the static field/methods causing test failures which lead to previously reverting the patch, enabled passing a pre existing BundleContext into the Broker instance at startup instead, and finally removed the unused MockPluginManager. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1160000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3283: make Authentication Manager pluggable.Robert Gemmell2011-07-151-9/+6
| | | | | | | | Refactors AuthenticationManager and collaborators to allow of AuthenticationManager to be plugged in from the configuration XML. Change PrincipalDatabaseAuthenticationManager to become a pluggable implementation. This change removes support for the <principal-databases> element within the config.xml. Existing use-cases are supported by the new element <pd-auth-manager/> which enables use of the PDAM implementation. Also resolves QPID-1347. Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3310 - Principal/Subject refactoring.Robert Gemmell2011-07-136-384/+697
| | | | | | | | | | Refactoring to the connection/session objects to pass the Subject from Authentication tier to Access tier, rather than just the Principal. Change the access-control to be able to make access decisions based on Groups from the Authentication tier whilst retaining support for groups declared within the ACL file itself. Improve unit tests. Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1146079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2815: refactor broker startup to present a clean interface interface ↵Robert Gemmell2011-07-072-73/+63
| | | | | | | | for starting the broker within an existing application Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143870 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3026: remove incomplete support for multiple ApplicationRegistry ↵Robert Gemmell2011-07-072-12/+19
| | | | | | | | instances to be active at one time Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143869 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3331: Update trunk versions to 0.13 for the next releaseJustin Ross2011-06-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141643 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3301: remove support for ACL V1 (aka SimpleXML) from Java Broker.Robert Gemmell2011-06-267-1487/+0
| | | | | | | Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1139792 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3296: update RMIPasswordAuthenticator to authenticate users via ↵Robert Gemmell2011-06-092-11/+0
| | | | | | | | AuthenticationManager instead of a PrincipalDatabase Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1133781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2759: Remove defunct jmxremote.access file user management rights ↵Robert Gemmell2011-05-101-3/+0
| | | | | | | | | | | | | | manipulation abilities. 1) Removed remaining jmx access functionality. 2) Removed references to security/jmx/access from all existing configuration files. 3) Made ServerConfiguration#validateConfiguration reject config files that still contain the security/jmx/access element in order to promote good end-user understanding of configuration. For JMX: 1) setRights now throws UnsupportedOperationException with message. 2) createUser(string,string,bool,bool,bool) throws UnsupportedOperationException iff any of the bool args are true i.e. the user attempts to give a user access JMX rights 3) Deprecated createUser(string,string,bool,bool,bool) in favour of new two arg form createUser(string,string) 4) viewUsers changes to always return admin, read, and write items as false. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1101483 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: increment version numbers from 0.9 to 0.11Robert Gemmell2011-03-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1078729 13f79535-47bb-0310-9956-ffa450edef68
* Increment version numbers from 0.7 to 0.8(docs) and 0.9(code)Robert Gemmell2010-11-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032374 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2927: catch and ignore InstanceNotFoundException as this is not ↵Robert Gemmell2010-11-041-1/+9
| | | | | | unexpected during a clean broker shutdown with the plugin loaded git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031306 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2927: fix inconsistent use of spaces and tabs for indentation, always ↵Robert Gemmell2010-11-041-18/+18
| | | | | | use spaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031305 13f79535-47bb-0310-9956-ffa450edef68
* add ASF licence to various files in the java treeRobert Gemmell2010-10-311-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029523 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2678: OSGI Shutdown moduleAndrew Donald Kennedy2010-10-256-0/+286
| | | | | | | | | Experimental plugin to shutdown the broker using JMX. Patch from Sorin S <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026929 13f79535-47bb-0310-9956-ffa450edef68
* add missing Apache licenceRobert Gemmell2010-09-271-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001950 13f79535-47bb-0310-9956-ffa450edef68
* add some missing Apache licence headers to files in the Java treeRobert Gemmell2010-09-262-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001542 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2787: Move QpidTestCase to Common test module so that any test can ↵Robert Gemmell2010-08-061-1/+1
| | | | | | | | | 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-2758: Use a FutureTask for DNS lookup with timeoutAndrew Donald Kennedy2010-07-262-33/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979213 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2682: Move slow consumer disconnection mechanism to the brokerAndrew Donald Kennedy2010-07-2225-2865/+0
| | | | 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-222-15/+114
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966634 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2700 Patch for ability to remove bindings from exchanges and additional ↵Marnie McCormack2010-07-051-0/+11
| | | | | | 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 : Clean up testMartin Ritchie2010-07-051-13/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2681 : Add final SCD testing for Topic and SubscriptionsMartin Ritchie2010-07-052-0/+231
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960553 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2681 : Updated test to start broker before running testMartin Ritchie2010-07-051-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960548 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Added improved toString to SCD componentsMartin Ritchie2010-07-054-13/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960547 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2681 : Provide ability to merge configurations. This does simple ↵Martin Ritchie2010-07-051-0/+124
| | | | | | 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-2681 : Refactor existing SCD tests to make Topic Testing easierMartin Ritchie2010-07-053-248/+288
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960543 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2681 : Update SCD config to exist in topic/topics sectionsMartin Ritchie2010-07-053-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960542 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-2555 Patch 4 provided by Sorin Suciu, based on local review commentsMartin Ritchie2010-06-2216-426/+586
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956893 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2555 : Applied patch 3 from Sorin SuciuMartin Ritchie2010-06-226-57/+87
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956892 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2555 : Info-Plugin systest fixesMartin Ritchie2010-06-223-4/+253
| | | | | | Patch provided by Sorin Suciu git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956889 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2555 : Modified the MANIFEST to include org.apache.qpid.common and ↵Martin Ritchie2010-06-2212-434/+398
| | | | | | | | 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-2555 : Improvements on info plugin, using SOAPMartin Ritchie2010-06-2210-0/+949
| | | | | | Patch provided by Sorin Suciu git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956887 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2665: Remove BROKER from object types for pluginsRobert Gemmell2010-06-171-1/+1
| | | | | | | 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-175-15/+65
| | | | | | | 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-65/+38
| | | | | | | 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-2638 : Add initial support for Topics section in configuration file.Martin Ritchie2010-06-148-72/+93
| | | | | | | | | 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-141-58/+0
| | | | | | | | | | | | | | | | | | 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-146-23/+32
| | | | | | _logmessages.property file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954431 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2526: split command into quoted arguments to allow building with spaces ↵Robert Gemmell2010-06-081-1/+7
| | | | | | | | | | in path Applied patch from Emmanuel Bourg <ebourg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952863 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Applied patch from Andrew Kennedy. To convert RST and PPT to ↵Martin Ritchie2010-06-044-18/+8
| | | | | | QTCs not IBBCs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951341 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup code. Configuration security.access is not used anymoreMartin Ritchie2010-06-031-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Update SCD for MessageAge when queue is empty at consumer ↵Martin Ritchie2010-06-031-3/+12
| | | | | | connect. Perhaps additional test requried where queue has old messages but no delete policy, just disconnect. Consumer will be disconnected during the first receive(). Also why is the oldest Arrival time set to Long.MAX_LONG when there are no messages on the queue, why not 0. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Add additional testing for null TopicDelete Policy Configuration ↵Martin Ritchie2010-06-032-11/+57
| | | | | | and fix for NPEs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951161 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : Encorporated changes from Andrew Kennedy, cleanup PPT and extend ↵Martin Ritchie2010-06-031-17/+5
| | | | | | IBBC as this is a broker unit test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951160 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update Plugins that use configuration to only throw ↵Martin Ritchie2010-06-038-60/+97
| | | | | | | | | | 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