summaryrefslogtreecommitdiff
path: root/qpid/java/broker/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4042 : [Java Broker] Add SSL Client Auth supportRobert Godfrey2012-06-0625-309/+701
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346817 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997: Fix test failure under JDK 1.7 when AuthenticationManagers would ↵Keith Wall2012-06-0310-385/+567
| | | | | | | | | | not always be properly closed ApplicationRegistry refactored: Resposibilities for lifecycle of AuthenticationManager objects transfered to AuthicationManagerRegistry (better separation of concerns). Implemented new pure unit test to expose the failing test and then changed algorithm so that AuthenticationManagers are closed on all paths. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1345607 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4029: add ability to selectively include a protocol version on a given ↵Robert Gemmell2012-05-298-17/+373
| | | | | | port, overriding an exclusion on the same port or it being disabled on all ports. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344040 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986: Improved tests and resolved some potential thread-safety issuesRobert Gemmell2012-05-293-7/+250
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997: AuthenticationManagers not cleaned up on error pathKeith Wall2012-05-262-12/+5
| | | | | | | We have been seeing ApplicationRegistryShutdownTest fail regularly on JDK1.7 on Jenkins CI for the last week. This is caused by the ApplicationRegistry failing to clean up on the error path where many AuthenticationManagers are configured but one is not designated as default. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342886 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: [Java Broker] BDB HA.Keith Wall2012-05-253-14/+12
| | | | | | | | | | | | Close BDB environment in the event of unexpected exceptions during commit/begin tran. Install BDB exception listener to log exception arising from its own threads. Default BDB parameters for sensible defaults for standard Qpid use-cases. Ensure that closeInternal always closes the environment. Added MBean operation descriptions. Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342712 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4012: update the priority queue entry sub lists to maintain a record of ↵Robert Gemmell2012-05-251-4/+13
| | | | | | the priority index they represent, refer to this when comparing queue entries in order to avoid using the metadata later than is possible git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1342667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: BDB HA. Make passivation async to avoid holding up the BDB ↵Keith Wall2012-05-223-16/+53
| | | | | | | | | | thread. Introduce VirtualHost ERROR state to be used when virtual host is unable to activate or passivate itself completely. Change MULTISYNC mode to use WRITE_NO_SYNC. Stop relying on Monitor nodes to perform some tests. Work of Robbie Gemmell <robbie@apache.org> and myself. squashme git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1341584 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4010 : [Java broker] Add LDAP authenticationRobert Godfrey2012-05-183-3/+406
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340248 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3973 : [Java] Add support for non JKS key store types (patch supplied ↵Robert Godfrey2012-05-182-2/+8
| | | | | | by jsightle@redhat.com) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4007 : [Java Broker] Fix pointless equality test in Kerberos ↵Robert Godfrey2012-05-181-1/+1
| | | | | | authentication support git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340030 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4007 : [Java Broker] Add Kerberos authentication supportRobert Godfrey2012-05-172-2/+230
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339840 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: add support for using BDB HA to form an active-passive cluster ↵Robert Gemmell2012-05-1722-257/+168
| | | | | | | | | | | for persistent messaging - Includes support for setting BDB configuration parameters via the store configuration, both for the existing store and the new HA variant. - Removes the MessageStoreFactory and reverts store configuration to historical values. Applied patch from Keith Wall, Andrew MacBean <andymacbean@gmail.com>, Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997 : [Java Broker] add ability to configure multiple ↵Robert Godfrey2012-05-1713-42/+670
| | | | | | Authenticationmanagers and map different AuthenticationManagers to different ports git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997 : [Java Broker] Refactor code to make all calls to ↵Robert Godfrey2012-05-1613-25/+82
| | | | | | | | getAuthenticationManager() pass in local socket address (note that this commit does not actually implement per socket authentication managers) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339146 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3979: [Java Broker] Conflation queuesKeith Wall2012-05-111-24/+52
| | | | | | | | | | Fix bug with checking of head() within the loop that would have prevented a queue entry from being conflated. Refactor code introducing more special Queue Entry to represent the corner cases. Added systest that exercises a conflation queue with multiple producers/single consumer. Applied patch by Phil Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337094 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3979: [Java Broker] Conflation queues: guard NPE identified by review ↵Keith Wall2012-05-091-5/+12
| | | | | | feedback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1336295 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3979: [Java Broker] Last value queue memory leakKeith Wall2012-05-092-21/+275
| | | | | | The failure to remove entries from the _latestValuesMap caused leak of ConflationQueueList entries. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1336127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3980: Last Value Queue: Replaced conflation queue entries are never ↵Keith Wall2012-05-091-4/+1
| | | | | | deleted (entries remained acquired permanently) causing leak. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1336026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3989 : [Java Broker] Add ability to run "in-memory" Derby storeRobert Godfrey2012-05-081-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3988 : [Java] Update dependencies to latest versionRobert Godfrey2012-05-082-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335584 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3985 : [Java Tests] Fix locale specific testsRobert Godfrey2012-05-072-32/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335303 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986 : [Java Broker] Tidy up constant use for Underfull/Overfull propertiesRobert Godfrey2012-05-072-6/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986 : [Java Broker] Add producer flow control based on total disk usageRobert Godfrey2012-05-0718-130/+637
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335290 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3767: re-index bridge and link by constant name, not addressKenneth Anthony Giusti2012-05-042-2/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1334138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3864: add missing licence headers to files in the java tree that are ↵Robert Gemmell2012-04-194-0/+80
| | | | | | included in 0.16 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327905 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3959: ensure the test creates/removes its own ApplicationRegistry with ↵Robert Gemmell2012-04-181-2/+22
| | | | | | | | a null AuthenticationManager. Applied patch from Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3953 : [Java AMQP 1-0] Fix durable subscribersRobert Godfrey2012-04-174-40/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327268 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923: Store queue, exchange and binding as configured objects in bdb storeRobert Gemmell2012-04-1761-914/+2387
| | | | | | Applied patch by Oleksandr Rudyy <orudyy@gmail.com>, Phil Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327003 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3951 : [Java AMQP 1.0] Correctly set default outcome on the brokerRobert Godfrey2012-04-171-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3951 : [Java AMQP 1.0] Correctly set default outcome on the brokerRobert Godfrey2012-04-172-7/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326997 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3949 : [Java AMQP 1.0] JMSType propertyRobert Godfrey2012-04-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326628 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3917 : Refactor changes to MessageStore to use listeners and not decoratorsRobert Godfrey2012-04-1224-752/+677
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1325467 13f79535-47bb-0310-9956-ffa450edef68
* Replace log message formatting with null object dereferencesAndrew Donald Kennedy2012-04-091-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311361 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3933 : [Java] Add interim AMQP 1-0 implementationRobert Godfrey2012-04-0449-73/+4572
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3927: ensure that priority is properly accounted for when comparing ↵Robert Gemmell2012-04-033-4/+165
| | | | | | messages on different QueueEntryLists contained within the encompassing PriorityQueue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309050 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3917: Refactor VirtualHost/MessageStore implementations to be ready for ↵Keith Wall2012-03-3068-1290/+1932
| | | | | | | | BDB-HA Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3916: Change message store interface to extend ↵Keith Wall2012-03-3039-318/+403
| | | | | | | | DurableConfigurationStore and change VirtualHost contructor Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307317 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3913: Add functionality to upgrade bdbstore automatically on broker ↵Keith Wall2012-03-271-2/+14
| | | | | | | | start-up. Store message content using single chunk. Change store version to 6. Remove implementations of tuple bindings for previous versions. Applied patch from Phil Harvey<phil@philharveyonline.com> Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1305809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3895: Remove blocked channel/session from the list of blocked channels ↵Keith Wall2012-03-196-17/+129
| | | | | | | | | | | | | on channel/session close This patch adds the fllowing: - fixes AMQChannel to stop sending flow commands if channel is closing - fixes AMQChannel#compareTo ServerSession#compareTo - removes AMQSessionModel#getID() method from AMQChannel and Server session in order to avoid confusions Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1302455 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Java Broker: Remove unused code from VirtualHostImplKeith Wall2012-03-133-168/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3868: Extra logging at DEBUG to better understand this failureKeith Wall2012-03-131-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3864: Adjust version numbers on trunk for development toward 0.18Justin Ross2012-03-083-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298340 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3888: ensure the SQEL iterator uses the getNextValidEntry() method to ↵Robert Gemmell2012-03-064-22/+69
| | | | | | advance, simplifying its implementation and aiding queue cleanup by releasing deleted entries from the data structure. In doing so ensure that it ignores a deleted node at the end of the list, returning that it is atTail and cannot advance. Add unit test highlighting the issue and confirming its resolution. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297794 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3408 : Fix the Java Broker code so it both copes with machines where ↵Robert Godfrey2012-03-052-12/+22
| | | | | | IPv6 is present, but disabled, and does not open a random port to get a wildcard address git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297049 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3408 : Remove IPv4 specific code from Java Broker, allow to bind to ↵Robert Godfrey2012-03-051-1/+1
| | | | | | IPv6 literals git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3881: Ensure we only put 0-8/0-9/0-9-1 messages in the store if they ↵Robert Gemmell2012-03-059-85/+74
| | | | | | are actually routable. Remove some unused and test-only methods. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3408 : Remove IPv4 specific code from Java Broker, allow to bind to ↵Robert Godfrey2012-03-051-31/+3
| | | | | | IPv6 literals git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297013 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2159: Remove create-example-ssl-stores script from Java Broker.Keith Wall2012-03-011-3/+1
| | | | | | Removed create-example-ssl-stores(.bat|.sh). Removed references to script from code, config and docbook. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295486 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3599: Python session tests fail against the Java Broker due to ↵Keith Wall2012-03-011-0/+3
| | | | | | | | | | | | | | | | | | | | unexpected redelivered status Changed Java Broker so once a message is acknowledged, if the session is transactional and the transaction is rolled-back, the queue entry is marked as redelivered. The rationale is that if the client has acknowledged, then it is certain they have seen it/them. The python tests testCommitAck and testRollback highlighted this defect as they acknowledge the session before rollback (something that is impossible to control from the JMS API). Python tests reenabled against the Java Broker: qpid.tests.messaging.endpoints.SessionTests.testCommitAck qpid.tests.messaging.endpoints.SessionTests.testRelease qpid.tests.messaging.endpoints.SessionTests.testRollback Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295474 13f79535-47bb-0310-9956-ffa450edef68