summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA: BrokerStartupTest now deletes Broker config left by previous test ↵Keith Wall2014-07-111-0/+7
| | | | | | run, to avoid failure if not cleaned between runs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609641 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Test Framework] PortHelper, apply socket option *before* ↵Keith Wall2014-07-101-15/+11
| | | | | | | | | binding the socket * Also removed the datagramsocket bind. We don't used datagram sockets at all at the moment, so the complication/overhead seems unjustifiable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609454 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5870 A Consumer is now marked if it's using a durable subscription.Rajith Muditha Attapattu2014-07-084-11/+35
| | | | | | The topic subscription queue is now deleted when the subscription ends unless it's marked as a durable-topic-subscription. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5885: [Java Broker] Virtualhostnode to replace real virtualhost with ↵Keith Wall2014-07-084-40/+21
| | | | | | replica virtualhost in the event that the BDB HA goes into detached state git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608956 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Make sure that test ↵Alex Rudyy2014-07-081-1/+12
| | | | | | ReplicatedEnvironmentFacadeTest.testIntruderNodeIsDetected always closes intruder environment git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608750 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5879 : [Java Broker] JsonConfigStore should take deep copy of ↵Robert Godfrey2014-07-062-9/+21
| | | | | | ConfiguredObjectRecord objects git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5878 : [Java Broker] Add SCRAM-SHA-256 SASL supportRobert Godfrey2014-07-0615-683/+983
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608295 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5820: added better fix to the problem of arguments not being set. The ↵Fraser Adams2014-07-062-5/+1
| | | | | | real issue turned out to be that the create method on BindingImpl was being called by AbstractExchange after it called addBinding, but the addBinding method is the one that results in the QMF Binding instance being created. In other words the QMF Binding instance was getting constructed before the resolveAutomatedAttribute stuff git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608201 13f79535-47bb-0310-9956-ffa450edef68
* JIRA:QPID-5820 Added some defensive code to qmf-ui.js to protect against the ↵Fraser Adams2014-07-051-1/+1
| | | | | | case when null binding arguments get returned. Fixed bug in broker-core BindingImpl.java whereby the binding arguments were not being set on construction which caused getArguments to always return null git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608025 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5873: Exclude new ACL system tests from Json profile; fix ↵Keith Wall2014-07-042-2/+3
| | | | | | BDBHARemoteReplicationNodeTest unit test wrt monitor attribute git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607889 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5876: [Java Client] Highest delivery tag variable not reset after ↵Andrew MacBean2014-07-041-0/+1
| | | | | | | | failover and causes rejections to be sent Work by Keith Wall <kwall@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5873: [Java Broker] Allow ACL rules to be applied to VirtualHostNode ↵Keith Wall2014-07-0413-110/+778
| | | | | | | | | | | objects * ACL rules using the new operation VIRTUALHOSTNODE apply to VHN model objects. * ACL rules using the operation VIRTUALHOST apply to VH model objects for CREATE, UPDATE and DELETE. This is a change from previous version where BROKER operation permission was required. * For HA, VIRTUALHOSTNODE permission is required to perform updates on RemoteReplicationNodes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607868 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5877: [Java Broker] Potential for rejected messages to be resent out of ↵Andrew MacBean2014-07-041-1/+1
| | | | | | | | order Work completed by Keith Wall <kwall@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607863 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5875: Fix intruder protection system testAlex Rudyy2014-07-041-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5875: Exclude test ↵Alex Rudyy2014-07-041-0/+1
| | | | | | VirtualHostRestTest.testPutCreateVirtualHostUsingProfileNodeType from json profiles git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5867: Add intruder protection functionality for a cluster of BDB HA ↵Alex Rudyy2014-07-0419-28/+874
| | | | | | virtual host nodes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607772 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5853: Fix quote character location in broker commandAlex Rudyy2014-06-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1606736 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5853: Fix quote character location in broker command for WindowsAlex Rudyy2014-06-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1606110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5857: Strengthen test ↵Alex Rudyy2014-06-271-1/+1
| | | | | | ConsumerLoggingTest.testSubscriptionCreateQueueBrowser by collecting operational logs after browser subscription is closed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1606053 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Updated java/README.txt with instructions to run examples.Alan Conway2014-06-261-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605919 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: add pom to build the AMQP 0-x JMS client examplesRobert Gemmell2014-06-262-0/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605863 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5853: Use quotes in broker command line provided by maven profile in ↵Alex Rudyy2014-06-263-14/+64
| | | | | | order to allow command line arguments with spaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605820 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Tests] BDB tests - prevent sporadic test failure from quorum ↵Andrew MacBean2014-06-261-38/+36
| | | | | | | | override test. Work by Keith Wall <kwall@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605819 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5821: [Java Broker] Make JDBC username and password separate attributes ↵Andrew MacBean2014-06-2613-51/+187
| | | | | | | | within the model Work done by Keith Wall <kwall@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605787 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5821: Remove unused settings interface incorrectly committedAndrew MacBean2014-06-268-36/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605742 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5821: [Java Broker] Refactor MessageStore and DurableConfigurationStore ↵Andrew MacBean2014-06-2686-613/+1004
| | | | | | | | | | interfaces to remove message store settings map. VirtualHost model objects now have attributes. Work done by Keith Wall <kwall@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605737 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5851: [Java Broker] Introduce new test profiles for JSON configuration ↵Alex Rudyy2014-06-269-41/+137
| | | | | | store and persistent message store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605697 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added README.txt to java directory.Alan Conway2014-06-251-0/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605625 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker Tests] Add test checking the ability to delete (i.e. ↵Keith Wall2014-06-251-0/+26
| | | | | | | | close) a messaging connection from the management layer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605498 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5846: Fix NPE in ↵Alex Rudyy2014-06-251-1/+1
| | | | | | org.apache.qpid.server.virtualhost.berkeleydb.BDBHAVirtualHostImpl.isCoalescingSync() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5792: add null check to avoid NPE during Destination decodingRobert Gemmell2014-06-241-4/+7
| | | | | | Applied patch from Dejan Bosanac git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5834: [Java Broker] Move validation that prevents to deletion of ↵Keith Wall2014-06-247-674/+147
| | | | | | | | | default virtualhost to validate, in order that it can veto the proposed state change * Added a unit test, improve other VH unit tests * Removed MockVirtualHost git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605011 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Set BDB message store durability only once on opening of virtual ↵Alex Rudyy2014-06-2312-276/+140
| | | | | | host. Restore original code of coalescing committer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1604946 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: added test exludes for transient profiles where the tests assume VH ↵Andrew MacBean2014-06-231-0/+3
| | | | | | state after restart git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1604793 13f79535-47bb-0310-9956-ffa450edef68
* 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