summaryrefslogtreecommitdiff
path: root/qpid/java/broker
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4503: Producer transaction timeout detection feature may produce ↵Keith Wall2013-01-092-0/+5
| | | | | | | | | | suprious open/idle alerts and close client connections/sessions without good cause Merged from trunk with command svn merge -c 1424427 https://svn.apache.org/repos/asf/qpid/trunk/qpid/java git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1430909 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4503: Producer transaction timeout detection feature may produce ↵Keith Wall2013-01-093-20/+13
| | | | | | | | | | suprious open/idle alerts and close client connections/sessions without good cause Merged from trunk with command svn merge -c 1421884 https://svn.apache.org/repos/asf/qpid/trunk/qpid/java git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1430904 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4521: ensure that the routing key is properly passed to the alternate ↵Robert Gemmell2013-01-082-1/+98
| | | | | | | | | Topic exchange by the adapter. Add unit tests for the adapter methods. merged from trunk r1425515 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1430321 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4511: move the broker-plugins lib dir under build/scratch to prevent it ↵Robert Gemmell2012-12-191-1/+1
| | | | | | | | | | | being included in the binary produced by 'ant release'. Updates the 'if' conditional on the copy target for compatibility with Ant versions < 1.7.1. merged from trunk r1423829 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1423964 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: add missing licence headers to various files in the Java treeRobert Gemmell2012-12-138-6/+160
| | | | | | | merge from trunk r1420285 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1421322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4489: ensure the IoSender is closed when the IoReceiver closes before a ↵Robert Gemmell2012-12-041-1/+23
| | | | | | | | | protocol version initiation is received merge from trunk r1416716 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1417145 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Restore heartbeating functionality to the Java Broker, and the ↵Robert Godfrey2012-11-287-13/+168
| | | | | | | | 0-8,0-9,0-9-1 Java Client merge from trunk r1413376,1413539,1413549,1413567 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1414927 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4476: ensure that the Principal in the AuthenticationResult has the ↵Robert Gemmell2012-11-281-31/+66
| | | | | | | | | same format (the username) in both sasl and non-sasl cases, reworking handling of authentication success/failure/error to improve user experience slightly merged from trunk r1414257 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1414862 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4456: ensure the qpid-server.bat script for windows picks up the broker ↵Robert Gemmell2012-11-281-2/+2
| | | | | | | | | plugins. Update example output from running the startup commands. merge from trunk r1413444 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1414860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4472 : [Java Broker] NPE with non-SASL AMQP 1.0 ConnectionRobert Godfrey2012-11-283-2/+32
| | | | | | merged from trunk r1413627, r1413724 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1414799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4456: ensure the broker plugins get packaged in the release binary and ↵Robert Gemmell2012-11-272-4/+10
| | | | | | | | | added to the classpath. Create opt directory for later use by users and update docs accordingly. merge from trunk r1412359 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1414375 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: Update release versions to 0.20Justin Ross2012-11-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1411386 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4335, QPID-4353: Refactored broker plugins to use simplified ↵Robert Gemmell2012-10-1295-3731/+1760
| | | | | | | | | | | | | | | | ServiceLoader-based model rather than embedding Felix to use OSGi. Removed the ability to reload security configuration because this feature is not very useful in its current form and was making our code hard to refactor. Modified all tests to use jars rather than classes. This makes them closer to real-world deployments, e.g. the META-INF/services file is read from within the jar. Also moved various system tests from their respective modules into "systests". This removes the need for most modules to depend on systests, thus simplifying our dependency graph. Applied patch from myself, Keith Wall and Phil Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4334: removed the firewall plugin and moved its functionality into the ↵Keith Wall2012-09-282-108/+115
| | | | | | | | Access Control plugin. Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4333: remove the 'queue reconfiguration' process and various clases ↵Robert Gemmell2012-09-2410-707/+13
| | | | | | | | leftover from SCD Work by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1389451 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4313: Address review comments from QPID-4109 (Reenable LoggingManagement)Keith Wall2012-09-213-17/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388457 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4333: remove the Slow Consumer Detection plugin and associated ↵Robert Gemmell2012-09-2017-1977/+0
| | | | | | | | documentation Work by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4297: Broker should not rely on Subject.getPrincipals.iterator().next() ↵Keith Wall2012-09-113-8/+7
| | | | | | to find 'username principal' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1383639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4292: add ACL rule to authorise access to the web management UIKeith Wall2012-09-108-88/+156
| | | | | | | | | | | * added object name MANAGEMENT to represent both JMX and Web Management layers * Change both JMX/Web entry points to permission access with an access management check * Updated examples and docbook * Made Principals serialised to avoid container warnings when Qpid principals are placed within a HttpSession. Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382947 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add default config for http managementRobert Gemmell2012-09-101-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382915 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4255: Add "log out" functionality to web UIKeith Wall2012-09-062-0/+22
| | | | | | | | | | | * Added logout link to the Web Management UI (displayed once a user is logged in). * Added operation logging (open/close event) to report the fact that the user has logged in, logged out (or gone away i.e. web session timeout). * Allow Jetty web session timeout to be overridden from the config.xml Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1381637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4283: Make web management capable of using external authentication manager.Keith Wall2012-09-044-2/+53
| | | | | | | | | | | also: * remove test servlets * rename management.html => index.html * allow sasl-auth to be disabled Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4271: improve behaviour when embedding the broker inside a containerKeith Wall2012-09-048-33/+110
| | | | | | | | | | | | Avoid potential ThreadLocal leaks on Container owned threads for CurrentActor, AMQShortString and SecurityManager. Have LogRecorder unregistered itself from Log4J. Allow SIGHUP handling to be turned off (inappropiate to install signal handling when deployed inside Container. Allow use of custom RMI socket factory to be disabled. (The registration of a custom RMI socket with the JRE cannot be reversed (deficiency in JRE API) and this causes a large perm-gen leak). Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4238: escape tags for queue and virtualhost names with dots in them ↵Robert Gemmell2012-09-024-3/+53
| | | | | | | | | when accessing the XML configuration, works around CommonsConfiguration behaviour with element names containing dots Applied patch from Jakub Scholz git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4253: add configuration for basic-auth on http / https management and ↵Robert Gemmell2012-09-021-0/+10
| | | | | | set to disabled / enabled respectively by default git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4261: extend BindingURLs to allow specifying exchange ↵Robert Gemmell2012-09-011-1/+1
| | | | | | | | | durable/autodelete/internal options, use the values when sending exchange declares during producer and consumer creation. Fix ExchangeDeclareHandler to set auto-delete properly (though we dont actually support it, and it was removed from the protocol in 0-9-1). Isolate AMQProtocolHandler use to the 0-8/0-9/0-9-1 specific Session/Producer/Consumer implementations that actually need it instead of letting it bleed through the abstraction and 0-10 implementations that dont use it. Add some other clarifying comments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1379748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4270: Change web management plugin to log management operational log ↵Keith Wall2012-08-302-18/+14
| | | | | | messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1379139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4242 : [Java Broker] Remove QMFv1 implementationRobert Godfrey2012-08-29112-11109/+283
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1378496 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4237: modified FileGroupDatabase to ensure that it always closes its ↵Robert Gemmell2012-08-271-2/+24
| | | | | | | | file input/output streams. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1377724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4237: added convenience method to AuthenticatedResult to facilitate ↵Robert Gemmell2012-08-271-3/+13
| | | | | | | | implementation of third party authentication managers. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1377723 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4236, QPID-4237, QPID-4245: Added group management functionality, and ↵Robert Gemmell2012-08-2478-519/+3847
| | | | | | | | | | | | | | | | | | | exposed it via the web management interface. Removed group definition functionality from the ACL plugin. The ACL plugin uses groups but no longer defines them. Introduced SubjectCreator as a facade to AuthenticationManager and group management classes. Applied access control to user and group management. Fixed bug in choosing between update and creation in RestServlet. Moved lots of RestTest helper methods to RestTestHelper. Fixed authentication, authorisation, and status logging when using the web ui. Applied patch from Philip Harvey <phil@philharveyonline.com>, Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1376968 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4185: improve broker_example.acl to give more reasonable settings, ↵Robert Gemmell2012-08-031-12/+13
| | | | | | | | replacing some ALLOW-LOG with ALLOW for read only operations and removing 'dead rule' example. Applied patch from Philip Harvey <phil@philharveyonline.com> , Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1369046 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4189: Add unit tests for ConfiguredObjectToMapConverterKeith Wall2012-08-031-28/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1369015 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4187: Improve operational management logging: - make ManagementActor ↵Robert Gemmell2012-08-032-33/+89
| | | | | | | | thread-safe, stop caching of log string without context principal set, use separate instance of ManagementActor with pre-set principal for opening and closing notifications for JMX connections Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4184: enable the notifications beign logged by configuring the ↵Robert Gemmell2012-08-021-0/+5
| | | | | | associated logger git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4173: Switch off subscription.state logger to reduce the verbosity for ↵Robert Gemmell2012-08-021-0/+6
| | | | | | | | client with low prefetch Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368528 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4172: HouseKeepingTask now reverts thread name before exiting to reduce ↵Robert Gemmell2012-08-022-2/+51
| | | | | | | | confusion when inspecting thread dumps. Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4182: Set the default minimumAlertRepeatGap value to 30 secondsRobert Gemmell2012-08-024-14/+24
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4183 : Implement Session/ConnectionModel interfaces in AMQP 1.0 code to ↵Robert Godfrey2012-08-025-5/+360
| | | | | | restore functionality git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368414 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4171: Fix enqueue ordering for persistent messsagesKeith Wall2012-08-014-22/+165
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367990 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4167: Fix setting of queue attributes via web management console and ↵Robert Gemmell2012-07-312-2/+3
| | | | | | | | | rest interfaces. Also import Subscription into the bundle to resolve CDNFExcept ion when viewing a queue with Consumers. Work by Oleksandr Rudyy, Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367796 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4124: Improved logging that is produced when the various transaction ↵Robert Gemmell2012-07-314-32/+192
| | | | | | | | timeouts are exceeded. Remove duplication of messages and reorder logging/closing. Work by myself, Keith Wall, Phil Harvey. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367522 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: only keep a hard reference to the meta data if it has yet to be ↵Robert Gemmell2012-07-271-1/+4
| | | | | | persisted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1366339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: Prevent the erroneous re-storing of recovered messages during ↵Keith Wall2012-07-251-21/+29
| | | | | | move/copyMessage management functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1365832 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4149: Add REST functionality to delete exchanges, queues and bindings, ↵Robert Gemmell2012-07-197-39/+130
| | | | | | | | add queue/exchange/binding delete operations into web UI Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363298 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998: Add HTTPS support for the REST management interfaceRobert Gemmell2012-07-138-13/+73
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361239 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4114: broker release now includes BDB if optional=true sys property is setKeith Wall2012-07-121-1/+4
| | | | | | Applied patch from Phil Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360831 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4131: On 0-8...0-9-1 code path broker now closes the connection when ↵Keith Wall2012-07-123-21/+40
| | | | | | the housekeeping thread times out a transaction. AMQChannel now uses AMQProtocolEngine's _receivedLock so that this connection-closing is thread-safe. This gives better compatibility with older clients that do not hand session closes correctly. 0-10 behaviour unaffected by this change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999: System tests for Rest API, small fixups for the ↵Robert Gemmell2012-07-119-10/+91
| | | | | | | | adapters and web ui. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360121 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add some logging around the DtxBranch timeout functionality to aid ↵Robert Gemmell2012-07-101-8/+72
| | | | | | debugging git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359916 13f79535-47bb-0310-9956-ffa450edef68