summaryrefslogtreecommitdiff
path: root/qpid/java/bdbstore/src
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-5653: Replace DurableConfigurationStore/MessageStore recoverers with ↵Keith Wall2014-04-046-360/+690
| | | | | | | | | | | visitors. * MS/DCS impls now have stateless visitXXX methods to retrieve message/configuration data (replaces the recoverXXXX methods) * VH implementations now uses Handlers to perform the recovery operation. * DCS's handler (ConfiguredObjectRecordRecoveverAndUpgrader) currently implemented in terms of the old DefaultUpgradeProvider/DurableConfigurationRecoverer. This will be refactored by a future commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5653: Open databases and upgrade on opening of configuration/message storesAlex Rudyy2014-03-3110-70/+159
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1583351 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Make the MessageStore and DurableConfigurationStore stateless. ↵Keith Wall2014-03-282-254/+206
| | | | | | | | | This changes removes the StateManager and delegates the operational logging (open/close) messages to the vhost. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1582835 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Merge changes from trunk.Keith Wall2014-03-2518-148/+656
|\ | | | | | | | | | | | | | | | | | | Command was: svn merge https://svn.apache.org/repos/asf/qpid/trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1581428 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5615 : [Java Broker] update the durable configuration store interface ↵Robert Godfrey2014-03-2320-138/+607
| | | | | | | | | | | | to be entirely in terms of ConfiguredObjectRecords and give stores knowledge of hierarchy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1580561 13f79535-47bb-0310-9956-ffa450edef68
* | Introduction of separate lifecycle methods on stores for open/close/recover.Keith Wall2014-03-257-197/+142
| | | | | | | | | | | | | | Change Upgraders responsibility to create the amqp standard exchanges when upgrading from earlier store versions. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1581288 13f79535-47bb-0310-9956-ffa450edef68
* | NO-JIRA: Merged changes from trunk with command:Keith Wall2014-03-182-7/+33
|\ \ | |/ | | | | | | | | | | | | svn merge https://svn.apache.org/repos/asf/qpid/trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1578827 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5625 : [Java Broker] ensure common configured object values are saved ↵Robert Godfrey2014-03-122-6/+33
| | | | | | | | | | | | to the store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576826 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Introduce configurationStoreSettings VH attributesKeith Wall2014-03-172-16/+24
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1578463 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Introduce messageStoreSettings VH attribute and move all message ↵Keith Wall2014-03-148-71/+125
| | | | | | | | | | | | store related attributes into messageStoreSettings map git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1577606 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Test fixKeith Wall2014-03-131-6/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1577101 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5410: Part of REF refactoring - the ommitted state transition. Also ↵Keith Wall2014-03-131-32/+63
| | | | | | | | | | | | | | | | refactored the shutdown of the threadpools used by REF. Fix unintended change in QuotaEventsTestBase. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1577100 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Remove MessageStoreCreator and finish some virtual host refactoringKeith Wall2014-03-133-46/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1577097 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Remove virtualhost xml configuration. Move virtual host ↵Alex Rudyy2014-03-124-197/+39
| | | | | | | | | | | | configuration into broker configuration store" git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1576732 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5410: [Java Broker/BDB]. Introduce a thin facade (EnvironmentFacade) ↵Keith Wall2014-03-1224-2784/+4550
|/ | | | | | | | | | | | | | | | between the BDBMessage and BDB JE's Environment/ReplicatedEnvironment. The motivation behind this facade is principally HA; there are a number of cases where JE requires the ReplicatedEnvironment is recreated. The facade layer allows for this to be done transparently from the upper tiers (the BDBMessageStore). The facade has two implementations StandardFacade used in the non-HA use case, and ReplicatedEnvironmentFacade in the HA case. Key changes: * BDBHAVirtualHost is now responsible for the creation of ReplicatedEnvironmentFacade * BDBMessageStore reverts to a single implementation without knowledge of HA. * BDBMessageStore now interacts with JE via the facade. * BDBHAMessageStoreManagerMBean interrogates the facade * ReplicatedEnvironmentFacade monitors the group for changes in state (nodes becoming uncontactable etc), if such a state change is detected, the DatabasePinger fires a single transaction to determine if quorum still exists. If quorum does not exist, the environment is restarted, thus transition the environment into the UNKNOWN state. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1576697 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5611 : Ensure the appropriate principals are available at the time of ↵Robert Godfrey2014-03-081-4/+2
| | | | | | all event logging git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5611 : Change the event logger from a singleton to an instanceRobert Godfrey2014-03-082-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5611 : [Java Broker] remove LogActorsRobert Godfrey2014-03-071-16/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575315 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5555 : address review comments from Robbie GemmellRobert Godfrey2014-02-241-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1571298 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5555 : [Java Broker] Modify implementation of Queues to provide better ↵Robert Godfrey2014-02-172-1/+2
| | | | | | notions of exclusivity and lifetime git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569109 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5551 : Change AMQStoreException to StoreException which inherits from ↵Robert Godfrey2014-02-1411-209/+130
| | | | | | ServerScopedRuntimeException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1568252 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5551 : Remove uses of AMQException, add ServerScopedRuntimeException ↵Robert Godfrey2014-02-1416-200/+179
| | | | | | and ConnectionScopedRuntimeException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1568235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5504 : Refactoring to allow for nodes other than queues to be ↵Robert Godfrey2014-02-073-4/+16
| | | | | | subscribed from, and nodes other than exchanges to be sent to (merged from separate branch) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565726 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA : fix spelling error/typo in name of Enque(ue)ableMessageRobert Godfrey2014-01-232-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560811 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5504 : initial refactoring to move common code into shared classes, ↵Robert Godfrey2014-01-221-2/+1
| | | | | | make transports work similarly with respect to message routing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560424 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: logging and build output cleanupRobert Gemmell2014-01-221-3/+6
| | | | | | Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560398 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5065: modifications to get more tests running on windows (both ant and ↵Keith Wall2014-01-171-14/+22
| | | | | | | | | | | | maven). Also - Fixed the jca/rar pom module name, it should be qpid-ra not qpid-rar. - Added project details such as Website, Mailing List, SCM. Patch submitted by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1559096 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5211: [Java Broker] Prevent spurious 'No valid transition from state ↵Keith Wall2014-01-061-3/+11
| | | | | | CLOSED..' when shutting down a broker configure with a JDBC or BDB vhost git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1555690 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add missing licences to some Java Broker Management .html files ↵Keith Wall2013-12-162-0/+32
| | | | | | | | (identified by Apache Rat). This was previously committed to 0.24 under QPID-4961. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551164 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5162: move the bdbstore-specific systests to their own moduleRobert Gemmell2013-09-237-2173/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525741 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5088 : [Java Broker] Isolate use of AMQShortString and FieldTable to ↵Robert Godfrey2013-08-212-11/+13
| | | | | | 0-8/9/9-1 protocol specific plugins git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1516058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5087 : [Java Broker] Allow use of separate message stores and ↵Robert Godfrey2013-08-207-36/+115
| | | | | | configuration stores git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1515914 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5081 : [Java Broker] Refactor Queue CreationRobert Godfrey2013-08-184-9/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1515079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5073 : [Java Broker] Refactor DurableConfigurationStore recovery to ↵Robert Godfrey2013-08-152-9/+36
| | | | | | allow for additional configured object children other than just Exchange/Binding/Queue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1514360 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5038: [Java Broker Tests] Fix leak from message store testsKeith Wall2013-08-044-21/+31
| | | | | | | Ensure that all message store tests close the message store under test on all code paths. This prevents a BDB thread leak manifesting when running a BDB profile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1510189 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5012: use the constant to make the hard-dependency on 5.0.84+ clear at ↵Robert Gemmell2013-07-291-1/+1
| | | | | | compile-time git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507995 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5012: [Java Broker] Turn off BDB JE stats generation feature (on by ↵Keith Wall2013-07-241-0/+1
| | | | | | default from 5.0.84). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1506773 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5009 : Update broker store to revision 7Robert Godfrey2013-07-195-9/+205
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1505029 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4999 : [Java Broker] Strip selector arguments from persistent bindings ↵Robert Godfrey2013-07-181-0/+7
| | | | | | to non-topic exchanges created by buggy old clients git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504451 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4999 : [Java Broker] Strip selector arguments from persistent bindings ↵Robert Godfrey2013-07-181-24/+98
| | | | | | to non-topic exchanges created by buggy old clients git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504429 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4998 : [Java Broker] Add ability to set durability, sync policy on ↵Robert Godfrey2013-07-171-1/+38
| | | | | | creation of HA Virtual Host through Web Management git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504285 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4659 : [Java Broker] make message meta data pluggable for different ↵Robert Godfrey2013-07-152-8/+9
| | | | | | protcol versions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1503192 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4659 : [Java Broker] preliminary refactoring in preparation for ↵Robert Godfrey2013-07-142-3/+3
| | | | | | pluggable protocols git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1502993 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4983 : [Java Broker] Move store implementations to broker pluginsRobert Godfrey2013-07-131-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1502835 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4983 : [Java Broker] Move store implementations to broker pluginsRobert Godfrey2013-07-102-8/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1501682 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4980 : [Java Broker] add connection pool attributes to http managementRobert Godfrey2013-07-052-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1500169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4980 : [Java Broker] In HTTP Management make (standard) virtual host ↵Robert Godfrey2013-07-053-0/+77
| | | | | | store attributes depended upon store type git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1500134 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4973 : [Java Broker] Refactor DurableConfigurationStore interface to be ↵Robert Godfrey2013-07-051-1/+1
| | | | | | in terms of ConfiguredObject rather than implementation classes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1500047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4973 : [Java Broker] Refactor DurableConfigurationStoreRobert Godfrey2013-07-023-138/+71
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1498976 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4970 : [Java Broker] Configure MessageStores based on VirtualHost ↵Robert Godfrey2013-07-019-75/+262
| | | | | | object not XML Configuration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1498345 13f79535-47bb-0310-9956-ffa450edef68