summaryrefslogtreecommitdiff
path: root/java/broker
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1136 : Provided a fix for the leak in UnacknowledgedMessage when ↵Martin Ritchie2008-06-1310-77/+632
| | | | | | | | acking. Added a new InternalBrokerBaseCase for performing testing on the broker without using the client libraries. This allows for testing closer to AMQP. Further investigation is required to identify why the .Net was causing the refcounting problems that required the previous change to Unacknowledged message introducing this . git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@667561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1058 : Addition of a CRAM-MD5-HEX as discussed on the JIRA. An ↵Martin Ritchie2008-06-065-3/+454
| | | | | | additional test is provided to ensure that the handle method correctly wraps a given Database password in hex. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@664001 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1101 : Update to DestNameExchange to perform deep copy.Martin Ritchie2008-05-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@661746 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1103 :Changed VMTestCase to allow the creation of InVM brokers based on ↵Martin Ritchie2008-05-301-1/+1
| | | | | | a configuration file. Updated ApplicationRegistry as it was not correctly utilising the set configuration and always using AR 1. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@661739 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 657859 via svnmerge from Martin Ritchie2008-05-201-7/+1
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r657859 | ritchiem | 2008-05-19 17:54:06 +0100 (Mon, 19 May 2008) | 1 line QPID-1066 : Removed isInfo wrapping. Added test that is missing from trunk from M2.x QueueDepthSelectorTest. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@658166 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 657097 via svnmerge from Aidan Skinner2008-05-162-23/+22
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r657097 | rgodfrey | 2008-05-16 16:08:55 +0100 (Fri, 16 May 2008) | 1 line QPID-1060 : Release ref to transient meta data; cache message size ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@657111 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1019 prevent messages being dequeued unecessarily, from rgodfreyAidan Skinner2008-05-052-6/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@653416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-888,QPID-886 : Fixed all management uses of _lock.lock / _lock.unlock ↵Martin Ritchie2008-04-301-74/+103
| | | | | | so that they correctly call unlock from a finally block in the CSDM. There are two issues that cover that. QPID-888 - Fix the management ones and QPID-886 to fix the use in removeExpired. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@652399 13f79535-47bb-0310-9956-ffa450edef68
* QPID-887 : Renamed QueueHouseKeeping threads so they can be identified in ↵Martin Ritchie2008-04-301-31/+43
| | | | | | thread dump. Named Queue-housekeeping-<virtualhost name> git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@652389 13f79535-47bb-0310-9956-ffa450edef68
* QPID-889 : Removed _reapingStoreContext from CSDM replaced with local ↵Martin Ritchie2008-04-301-9/+22
| | | | | | StoreContext()s so they are not reused by different threads. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@652388 13f79535-47bb-0310-9956-ffa450edef68
* QPID-156 : Add an Apache licensed store - created an experimental Derby ↵Robert Godfrey2008-04-162-0/+1450
| | | | | | based store git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@648834 13f79535-47bb-0310-9956-ffa450edef68
* QPID-886 : In order to allow the test to be written that highlights the ↵Martin Ritchie2008-04-161-1/+6
| | | | | | failure we need to be able to provide a Config object not a file. So made the method public that reads the file and added constructor to use the Config object. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648740 13f79535-47bb-0310-9956-ffa450edef68
* QPID-933 : performance tweaksRobert Godfrey2008-04-167-44/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-932 : Remove references to unusued constructor argument "browsedAcks" ↵Robert Godfrey2008-04-161-4/+4
| | | | | | of NonTransactionalContext git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-932 : Remove references to unusued constructor argument "browsedAcks" ↵Robert Godfrey2008-04-163-10/+6
| | | | | | of NonTransactionalContext git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648669 13f79535-47bb-0310-9956-ffa450edef68
* QPID-926 : Perform all store operations associated with an acknowledge in a ↵Robert Godfrey2008-04-161-34/+39
| | | | | | single store transaction git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648648 13f79535-47bb-0310-9956-ffa450edef68
* QPID-925 : Only begin store transactions when there is a persistent message ↵Robert Godfrey2008-04-162-7/+33
| | | | | | to be committed git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648645 13f79535-47bb-0310-9956-ffa450edef68
* QPID-922 : Selectors on header properties should not convert AMQShortStrings ↵Robert Godfrey2008-04-164-9/+58
| | | | | | to Strings on every evaluation git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648637 13f79535-47bb-0310-9956-ffa450edef68
* Add licenscesAidan Skinner2008-03-314-0/+83
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@643153 13f79535-47bb-0310-9956-ffa450edef68
* QPID-890 : Removed old references to VHostPrincipalDatabase and an errant ↵Martin Ritchie2008-03-311-18/+3
| | | | | | | | old.PrincipalDatabaseAccessManager change. This file should now work. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@643032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-875 : Dropped logging level to debug.Martin Ritchie2008-03-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@640434 13f79535-47bb-0310-9956-ffa450edef68
* QPID-873 : Authentication Exception should be hard error; also NPE in ↵Robert Godfrey2008-03-241-2/+6
| | | | | | PropertiesPrincipalDatabase when user not known git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@640417 13f79535-47bb-0310-9956-ffa450edef68
* QPID-868 : The acl.config.xml was using Base64MD5 PF which cannot be used ↵Martin Ritchie2008-03-211-2/+2
| | | | | | inVM as the SASL manager complains about the registration of the client and broker moudules. They appear to overwrite each other. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@639684 13f79535-47bb-0310-9956-ffa450edef68
* QPID-868 : Removed the acl.config.xml from systests/etc and updated the ↵Martin Ritchie2008-03-211-5/+1
| | | | | | systests pom file to locate the one in broker/etc. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@639629 13f79535-47bb-0310-9956-ffa450edef68
* QPID-847 : Fixed this test for the selectorsMartin Ritchie2008-03-191-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@638951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-858 : Added cancel to the housekeeping thread when the vhost is closed.Martin Ritchie2008-03-171-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637991 13f79535-47bb-0310-9956-ffa450edef68
* QPID-847 : InvalidSelectorException. This was caused by the Broker now being ↵Martin Ritchie2008-03-171-3/+11
| | | | | | more AMQP spec compliant than previously. Reverted the change in AMQMinaProtocolSession.java that is causing the issue but we need to correctly fix this issue in the client as the client is not AMQP spec compliant, even with the STRICT_AMQP flag. Updated SelectorTest.java with an additional test so we don't have the functionality reversion later. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637977 13f79535-47bb-0310-9956-ffa450edef68
* QPID-852 : Updated broker so that it closes consumers when there are no ↵Martin Ritchie2008-03-141-1/+10
| | | | | | messages on the queue git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637067 13f79535-47bb-0310-9956-ffa450edef68
* QPID-852 : Updated broker so that it closes consumers when there are no ↵Martin Ritchie2008-03-143-9/+31
| | | | | | messages on the queue. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637066 13f79535-47bb-0310-9956-ffa450edef68
* QPID-851 : Update to AMQChannel to prevent the memory leak when an autoclose ↵Martin Ritchie2008-03-141-8/+18
| | | | | | consumer closes in a second thread before the register gets a chance to add the new session to the map. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637048 13f79535-47bb-0310-9956-ffa450edef68
* QPID-592 : Parameterised the Read/Write buffer limits. On the broker extra ↵Martin Ritchie2008-03-142-11/+16
| | | | | | config [read|write]BufferLimitSize on the client System properties qpid.[read|write].buffer.limit. All the defaults are 256k(262144). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 : Changes based on code review. Martin Ritchie2008-03-105-125/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@635602 13f79535-47bb-0310-9956-ffa450edef68
* QIPD-841 : Problem with SimpleACLTest was that the ↵Martin Ritchie2008-03-102-13/+8
| | | | | | ConfigurationFilePrincipalDatabaseManager was looking up the ApplicationRegistry for the configuration. Most of the time this is ok but during test tearDown/startUp sometimes the config is null on lookup. This method is just wrong anyway. the ConfigurationFilePrincipalDatabaseManager setup is the only setup that looksup the configuration from the AppRegistry. So adjusted so that it takes it as a parameter as other classes do. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@635590 13f79535-47bb-0310-9956-ffa450edef68
* QPID-847 : SelectorParserTest with disabled testLike() Martin Ritchie2008-03-101-0/+130
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@635549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-840 : fixed the GC setting.Martin Ritchie2008-03-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@634697 13f79535-47bb-0310-9956-ffa450edef68
* QPID-831 : Remove incorrect references to getDeliveredToConsumer()Robert Godfrey2008-03-041-20/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633461 13f79535-47bb-0310-9956-ffa450edef68
* QPID-828 : Stop transient message data being cleared while still deliveringRobert Godfrey2008-03-032-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-822 Set default to false for JMSXUserID.Martin Ritchie2008-02-283-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@632055 13f79535-47bb-0310-9956-ffa450edef68
* QPID-821 Set default to false for MultiIO and Buffer Limiting.Martin Ritchie2008-02-284-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@632054 13f79535-47bb-0310-9956-ffa450edef68
* QPID-818 : Persistent Pub/Sub can get exception on acking messageRobert Godfrey2008-02-283-22/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@631936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 : Fixed the left over old AccessManager/PrincipalDatabase references.Martin Ritchie2008-02-261-18/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@631296 13f79535-47bb-0310-9956-ffa450edef68
* QPID-809 Updated logging and some whitespace changes.Martin Ritchie2008-02-251-12/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630873 13f79535-47bb-0310-9956-ffa450edef68
* QPID-809 Updated logging and some whitespace changes.Martin Ritchie2008-02-252-10/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630872 13f79535-47bb-0310-9956-ffa450edef68
* QPID-809 Updated logging and removed an unnecessary printStackTrace().Martin Ritchie2008-02-252-15/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 : Initial ACL implementation for review. Implemented Permissions : ↵Martin Ritchie2008-02-2540-806/+1710
| | | | | | | | | | | | Consume, Create, Publish. The Permissions are configured via XML in a user friendly way. Sections for consume, create and publish are currently used to further define Access and Bind internally. Access is granted to all users that have some permission. Bind rights are given to users with Create rights. Full details of the ACL design will be posted on the wiki : http://cwiki.apache.org/qpid/qpid-design-access-control-lists.html git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630854 13f79535-47bb-0310-9956-ffa450edef68
* QPID-810 : Moved check for closingChannels higher in stack and close channel ↵Martin Ritchie2008-02-251-23/+33
| | | | | | on any AMQException being thrown from the body.handle methods. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630733 13f79535-47bb-0310-9956-ffa450edef68
* Adjusted the default debug level to debug (it was only info)Martin Ritchie2008-02-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630731 13f79535-47bb-0310-9956-ffa450edef68
* QPID-790 : Performance ImprovementsRobert Godfrey2008-02-223-21/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630239 13f79535-47bb-0310-9956-ffa450edef68
* QPID-804 : Fix Java Broker Python test failuresRobert Godfrey2008-02-212-6/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629981 13f79535-47bb-0310-9956-ffa450edef68
* QPID-790 : Performance ImprovementsRobert Godfrey2008-02-2122-310/+624
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629731 13f79535-47bb-0310-9956-ffa450edef68