summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5803: [Java Broker] Add a utilised flag to the VHN context after the ↵Keith Wall2014-06-202-33/+160
| | | | | | | | | blueprint has been used. This prevents the virtualhost from being automatically recreated by the blueprint, should the user choose to the VH. Strenghthen unit tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1604164 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker] Defect - prevent JDBC upgrader on throwing ↵Keith Wall2014-06-191-1/+1
| | | | | | exception due to open transaction causing exception to log git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1604037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5819: Make JsonFileConfigStore#close idempotent, like other DCS ↵Keith Wall2014-06-192-12/+24
| | | | | | implementations git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1604036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5825: Changes to address some review comments for initial commitAndrew MacBean2014-06-196-54/+163
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603914 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker] Refactor BDB message store implementation to ↵Keith Wall2014-06-197-1200/+1507
| | | | | | | | | 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 a BDB virtual host. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603849 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5831: Unexpected internal exception when closing JE Replicated environmentAndrew MacBean2014-06-191-2/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603791 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5825: Broker tries to downgrade to the wrong amqp protocol versionAndrew MacBean2014-06-195-1/+252
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603786 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5822: [Java Broker] Replace low level BDB/JDBC attributes in fovour of ↵Keith Wall2014-06-1829-348/+638
| | | | | | | | | | 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-183-9/+10
| | | | | | 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-1820-2031/+2770
| | | | | | | | | 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-5785: [Java Broker] Fix NPE when a topic exchange is closed after a ↵Keith Wall2014-06-172-42/+185
| | | | | | | | message filter has been added to an existing binding. This corrects a regression introduced by QPID-5709 that was causing a NPE to appear in the test log for QueueBindingTest. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603294 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5802: [Java Broker] Refactor VH implementations to avoid duplicated ↵Keith Wall2014-06-139-160/+35
| | | | | | | | 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-5801: [Java Broker] BDB HA - ensure that replication exceptions when ↵Keith Wall2014-06-131-4/+21
| | | | | | | | reading the message id sequence cause the environment to restart Addresses review comment from Alex Rudyy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602441 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker Test] Derby tests profile should exclude BDB ↵Keith Wall2014-06-131-0/+1
| | | | | | replication tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602439 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker] Refactor BDBConfigurationStore, move methods/fields ↵Keith Wall2014-06-131-51/+63
| | | | | | | | associated with only BDBMessageStore to the inner class. Addresses review comment from Alex Rudyy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602437 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5721: Improve exception message used when String operand cannot be ↵Keith Wall2014-06-123-44/+224
| | | | | | | | interpreted as JSON * Also made AVC consistently return unmodifiable when converting from a JSON string git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5811: logging to assist investigation of test failuremacbean2014-06-101-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Move coalescing commiters into environment facades. Flush logs ↵Alex Rudyy2014-06-0911-182/+139
| | | | | | for not completed commit futures if commit task is stopped git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5801: [Java Broker] BDB: Cache the sequence handler used for message ↵Keith Wall2014-06-094-33/+146
| | | | | | sequence number git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601351 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5801: [Java Broker] BDB: Simply restore algorithm to efficiently ↵Keith Wall2014-06-091-13/+36
| | | | | | calculate utilised disk space. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601346 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Close committer on message store closeAlex Rudyy2014-06-092-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601323 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Unregister children MBeans on Virtual Host Node stopAlex Rudyy2014-06-093-13/+66
| | | | 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-0719-139/+147
| | | | | | | | | | 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-0726-719/+36
| | | | | | 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-0632-255/+555
| | | | 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-0628-505/+374
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5802: [Java Broker] Temporarily remove the slow message store and quota ↵Keith Wall2014-06-068-1193/+0
| | | | | | | | message store test implementations and the tests that rely on them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600933 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker] Add DurableConfigurationStore#onDelete method to ↵Keith Wall2014-06-0610-31/+79
| | | | | | | | allow an implementation to delete the files/tables/databases underlying the store. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600932 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker} Refactor MessageStore implementations extracting a ↵Keith Wall2014-06-0642-2328/+2639
| | | | | | MessageStoreProvider interface. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Fix various issues with configuration upgrader to model 2 and ↵Alex Rudyy2014-06-068-249/+513
| | | | | | store upgraders to version 8 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600823 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5721: [Java Broker] Improve test coverage for default attributes, and ↵Keith Wall2014-06-056-25/+196
| | | | | | | | | attributes whose values are computed from context variables. Also fixed defect so that a context attributes are resolved first, so that other attribute values may be calculated from context variables set on the same object. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5798: [Java Broker Tests] Intermittent failure of FailoverBehaviourTest ↵Keith Wall2014-06-031-1/+6
| | | | | | | | due to race condition within test Work by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1599809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Use coalescing sync committer for message store transactions only ↵Alex Rudyy2014-06-0313-148/+299
| | | | | | when syncronization policy SYNC is set for local transactions in BDB HA virtual host git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1599445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5795: [Java Broker] Prevent ConnectionAdapter leak when closing a ↵Keith Wall2014-05-305-111/+32
| | | | | | | | | | | | | | 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-5782: [Java Broker] Prevent VH housekeeper trying to check the state of ↵Keith Wall2014-05-291-12/+16
| | | | | | queues that are not active git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598260 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5413: [Java Broker-Web Management] Allow stopping and starting of ↵Alex Rudyy2014-05-294-33/+59
| | | | | | 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-5791: [Java Broker] Json store should synchronise on update tooKeith Wall2014-05-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598231 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Add new attributes for transaction sync policies into BDB HA ↵Alex Rudyy2014-05-2722-185/+529
| | | | | | | | | | | | virtual host, remove 'coalescingSync' attribute from BDB HA virtual host node and always use coalescingSync with replicated environment, change attribute 'durability' of BDB HA virtual host node into derived attribute, delegate bdb je transaction creation to EnvironmentFacade, with ReplicatedEnvironmentFacade crate transactions with durability having virtual host transaction sync policies and ack mode 'SIMPLE_MAJORITY'. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597801 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker Tests] Fix race condition in TransactionTimeoutTests ↵Keith Wall2014-05-261-26/+23
| | | | | | | | meaning observations of test members could yield NPE * Reordered so that the exception listener's latch is decremented only after members for linked exception message and linked exception code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Fix test ↵Alex Rudyy2014-05-261-0/+13
| | | | | | BDBHAVirtualHostNodeTest.testTransferMasterToRemoteReplica git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Address review comments from Alex RudyyKeith Wall2014-05-261-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597564 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Added extra logging when transfering master to a ↵Keith Wall2014-05-262-5/+17
| | | | | | remote replica in order to understand sporadic test failure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597538 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: On virtual host node deletion delete virtual host first, in order ↵Alex Rudyy2014-05-248-163/+253
| | | | | | to allow listeners to hear virtual host deletion. JMX Management needs to unregister virtual host MBean on host deletion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597340 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5784: [Java Broker] Prevent NPE possibility from BDB store\'s ↵Keith Wall2014-05-231-0/+15
| | | | | | coalescing committer on shutdown git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597122 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: assembly and dependency fixupsRobert Gemmell2014-05-232-2/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Prevent sporadic failure of BDB HA REST test ↵Keith Wall2014-05-235-97/+496
| | | | | | | | | | | | 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-5048: restore some config that was erroneously removed previously, ↵Robert Gemmell2014-05-235-2/+382
| | | | | | update to match current build git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597065 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: make the clients logging test deps explicit rather than just ↵Robert Gemmell2014-05-231-0/+14
| | | | | | transitive git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597054 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5781: remove connection from the registry upon exception while closing, ↵Robert Gemmell2014-05-221-12/+11
| | | | | | ensure we dont loop retrying it git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596899 13f79535-47bb-0310-9956-ffa450edef68