summaryrefslogtreecommitdiff
path: root/qpid/java/broker-plugins
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5822: [Java Broker] Replace low level BDB/JDBC attributes in fovour of ↵Keith Wall2014-06-188-214/+350
| | | | | | | | | | context variables from the model * BDB attributes environmentConfiguration/replicatedEnvironmentConfiguration removed. User can now specify context variables with the configuration keys that are understood by JE itself. * JDBC attributes bigIntType/bytesForBlob/varBinaryType/blobType are now context variables with names begining qpid.jdbcstore. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603655 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker] Refactor Derby/JDBC message store implementations - ↵Keith Wall2014-06-182-8/+8
| | | | | | Address review comments from Alex Rudyy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603627 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker] Refactor Derby/JDBC message store implementations ↵Keith Wall2014-06-1817-990/+1585
| | | | | | | | | to separate message and config store implementations. * Message store implementations can now be used in isolation, which is useful when the user is using a JSON VirtualHostNode with another persistent store implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5802: [Java Broker] Refactor VH implementations to avoid duplicated ↵Keith Wall2014-06-133-59/+6
| | | | | | | | message store/message store subject code. This addresses review comments from Alex Rudyy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602475 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Unregister children MBeans on Virtual Host Node stopAlex Rudyy2014-06-091-7/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5803: [Java Broker] Add ability for the virtualhostnode to create a ↵Keith Wall2014-06-073-3/+8
| | | | | | | | | | virtualhost using a blueprint supplied by context variable * This commit reenables the SplitStoreTest. * The UI has not been refactored by this commit, so it will not be possible to create a non-HA virtualhost from the UI (the UI will create only a virtualhostnode).. REST API is okay. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601163 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker] Remove the now redundant ↵Keith Wall2014-06-078-249/+14
| | | | | | MessageStore/DurableConfigurationStore factories git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5802: [Java Broker] Introduce separate VirtualHost typesKeith Wall2014-06-066-12/+229
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5801: [Java Broker] Elimination of the BDB facade's initialisation tasksKeith Wall2014-06-062-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker} Refactor MessageStore implementations extracting a ↵Keith Wall2014-06-0613-101/+230
| | | | | | MessageStoreProvider interface. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5795: [Java Broker] Prevent ConnectionAdapter leak when closing a ↵Keith Wall2014-05-302-5/+0
| | | | | | | | | | | | | | messaging connection The leak was due to the fact that nothing was telling the virtualhost to unregister the connection child (#unregisterChild) when the connection was closed. * Made ConnectionAdapter responsible for causing its own deletion (when the underlying connection is closed). The call to #deleted() causes the child to be unregistered from its parent (preventing the leak) * Removed the now unnecessary _connectionAdapters map from the VH. This needlessly duplicated information already held more generally by the ACO. * Refactored SessionAdapter in sympathy with CA changes. SessionsAdapters where _not_ being leaked as the session implementation were already telling the model to delete. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: [Java Broker-Web Management] Allow stopping and starting of ↵Alex Rudyy2014-05-292-6/+57
| | | | | | virtual host node from the virtual host node tab git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: [Java Broker-Web Management] Allow stopping and starting of ↵Alex Rudyy2014-05-294-46/+260
| | | | | | virtual host nodes and virtual hosts from the broker tab git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598232 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Prevent sporadic failure of BDB HA REST test ↵Keith Wall2014-05-232-19/+15
| | | | | | | | | | | | testNewMasterElectedWhenVirtualHostIsStopped * VHN role attribute now mutated after the completion of onMaster/onReplica event * Made BDBHAReplicaVirtualHost a type (BDB_HA_REPLICA) within the VirtualHost category. This no-op vhost represents the virtualhost when the node is replica (and the mastership is elsewhere within the group). Work by Andrew MacBean <andymacbean@gmail.com> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597066 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5771: ensure the closed event is passed to the listener even if closing ↵Robert Gemmell2014-05-221-4/+9
| | | | | | the endpoint input throws something, ensure the connection is unregistered from the connection registry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596894 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: [Java Broker] JMX plugin Remove debug logging from socket factoriesKeith Wall2014-05-222-51/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596797 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: Workaround sporadic test failure.Keith Wall2014-05-212-2/+2
| | | | | | It seems sometimes the JMX Plugin's RMI sockets are closed (by the RMI TCP Accept thread) *after* the Broker has stopped. I can't find a way to avoid this issue. Work around by awaiting the ports to become free within the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596702 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: Add more logging to help understand sporadic test failure.Keith Wall2014-05-213-3/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596659 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: [Java Broker] JMX plugin's server sockets should set the ↵Keith Wall2014-05-213-9/+12
| | | | | | SO_REUSEADDR socket option - defect fix - set socket option *before* port is bound git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5774: first main swipe, remove the Ant builds main build.xml and ↵Robert Gemmell2014-05-2115-542/+0
| | | | | | associated files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: [Java Broker] JMX plugin's server sockets should set the ↵Keith Wall2014-05-214-22/+101
| | | | | | | | | SO_REUSEADDR socket option * Plugin now passes correctly configured ServerSocketFactory to JMX for both the registry and connector servers. * Manually retested SSL connections to JMX. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596579 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Make virtualhosts respect the states ACTIVE and STOPPEDKeith Wall2014-05-202-4/+4
| | | | | | | | | * Changes in virtualhost state are now persisted to store. * VirtualHostState eliminated. The PASSIVE state used when a BDB HA Virtualhost is in replica is replaced by UNAVAILABLE. Work by me and Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596281 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: Improve virtual host node and virtual host UIAlex Rudyy2014-05-163-10/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1595188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5766: Intitialisation of StatisticsCounter objects can lead to NPE.Keith Wall2014-05-163-36/+16
| | | | | | Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1595155 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Fix Virtual Host MBean creation in JMX management pluginAlex Rudyy2014-05-152-140/+222
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594963 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5744: Add support for REST URIs containing the major version in ↵Alex Rudyy2014-05-131-0/+1
| | | | | | addition to latest git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594260 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: Add UI for creation of virtual host nodesAlex Rudyy2014-05-1314-280/+692
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594221 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5574 : [Java Broker] remove redundant state transitionsRobert Godfrey2014-05-093-22/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593576 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5409 : Change BDB HA MBean to delegate operations to BDB HA node instanceAlex Rudyy2014-05-091-25/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593538 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5754 : [Java Broker] Make state change operations methods rather than ↵Robert Godfrey2014-05-0811-131/+151
| | | | | | calls to setDesiredState git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593264 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: Add functionality to close the deleted tab of virtual host node.Alex Rudyy2014-05-085-10/+23
| | | | | | | Display user friendly values for BDB HA VHN priority and quorum override Fix tree view git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593252 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: Add virtual host node UI to view the details about existing ↵Alex Rudyy2014-05-0718-31/+533
| | | | | | virtual host nodes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1592951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5744: Fix REST URL in 'Add Exchange UI' of web management consoleAlex Rudyy2014-05-052-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1592470 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5746 : [Java Broker] Split attribute annotations into separate ↵Robert Godfrey2014-05-0210-24/+24
| | | | | | annotations for derived and automated, and allow derived attributes to be persisted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1592030 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5744: Change web management console to call management REST API under ↵Alex Rudyy2014-05-0246-554/+225
| | | | | | /api/latest and auxiliary REST services under /service. Fix broken UI. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5744: Move management REST API under /api/latest and auxiliary REST ↵Alex Rudyy2014-05-021-13/+14
| | | | | | services under /service git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591948 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715,QPID-5412: Add remote replication nodesAlex Rudyy2014-04-301-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591281 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5578 : [Java Broker] Use annotation to allow registration of all ↵Robert Godfrey2014-04-3017-265/+138
| | | | | | ConfiguredObject types at startup. Use this meta data for REST servlets. Remove unnecessary pluggable factory interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: update pom versions to 0.30-SNAPSHOT, using: mvn ↵Robert Gemmell2014-04-2915-18/+16
| | | | | | release:update-versions -DdevelopmentVersion=0.30-SNAPSHOT git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590968 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5578 : Address Review comment from Keith Wall re: r1589912Robert Godfrey2014-04-283-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590699 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5665 : Address review comments from Alex RudyyRobert Godfrey2014-04-282-6/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590593 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5726 : [Java Broker] Use annotation processing to generate object ↵Robert Godfrey2014-04-28101-1000/+246
| | | | | | factories and service definitions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590547 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5723: fix compilation under JDK 8 (somehow..?)Robert Gemmell2014-04-261-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590255 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5615 : Address review comments from Alex RudyyRobert Godfrey2014-04-251-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5578 : Ensure correct error code is returned when a queue is declared ↵Robert Godfrey2014-04-252-10/+10
| | | | | | with an unknown alternate exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589912 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5578 : Remove unusued contants and tidy up other codeRobert Godfrey2014-04-241-114/+114
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589897 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5710 : Address review comments from Keith Wall and remove unnecessary ↵Robert Godfrey2014-04-247-129/+104
| | | | | | classes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589801 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Add virtual host node to the model and refactor ↵Keith Wall2014-04-2119-60/+539
| | | | | | existing broker functionality to conform the new model. Save configuration model version as VHN attribute and refactor the upgraders and configuration recovery. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588886 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: re-instate dependency versions after qpid parent pom removal of ↵Robert Gemmell2014-04-2110-0/+21
| | | | | | | | dependency management section. Patch supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588885 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5713 : [Java Broker] Remove non-test references to model singleton, and ↵Robert Godfrey2014-04-209-33/+62
| | | | | | instead treat as an instance variable git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588794 13f79535-47bb-0310-9956-ffa450edef68