summaryrefslogtreecommitdiff
path: root/java/broker/src/main
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2273 : Fix Protocol NegotiationRobert Godfrey2009-12-184-13/+91
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@892301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2155 : Added NPE checks for path errors, updated to check the backup ↵Martin Ritchie2009-12-161-21/+44
| | | | | | location for existing backup files to initialise the .n count git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891331 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2155 : Update addressing issues with compression and maintaining backup ↵Martin Ritchie2009-12-161-128/+41
| | | | | | | | counts. Because a compressed file is renamed the .n value is not recognised so this update makes it check for the COMPRESSION_EXTENSION (.gz) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2275 : Update to address CountDirection 0 increments when MaxFileSize ↵Martin Ritchie2009-12-161-5/+46
| | | | | | | | kicks in before DatePattern. Now it is possible to specify a DatePattern with small units (seconds/minutes) and not lose log file date when the MaxFileSize causes the file to roll over git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2275: Update so that CountDirection +ve,-ve work correctly in ↵Martin Ritchie2009-12-161-54/+163
| | | | | | | | conjunction with exiting log files and MaxSizeRollBackups Adding .n to the end of the name and calculating the .n value based on existing log files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891324 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2274 : Addressed initial issues with Async compressing deleting log filesMartin Ritchie2009-12-161-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2263 : Stop Exceptions killing the HouseKeeping thread. Also prevented ↵Martin Ritchie2009-12-112-9/+23
| | | | | | Deleted Messages from being processed by the notification checks. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889645 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2258 : AMQP0-9-1 Compliance fixesRobert Godfrey2009-12-0914-24/+124
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889022 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2250: Remove requirement for message persistence and queue durability ↵Robert Gemmell2009-12-081-19/+15
| | | | | | from the copy process git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888251 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2177: expose Capacity, FlowResumeCapacity, and FlowOverfull as ↵Robert Gemmell2009-12-083-1/+42
| | | | | | attributes of the Queue MBeans git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888248 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2244: output additional MessageTransferMessage header properties, add ↵Robert Gemmell2009-12-081-23/+35
| | | | | | fallback support to ensure display of other types of message git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2244 : Remove LogMessages_de_DE.properties that was erroneously added ↵Martin Ritchie2009-12-071-81/+0
| | | | | | in commit r887946 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887953 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2244 : Added initial support of 0-10 Messages via JMX viewMessages.Martin Ritchie2009-12-073-4/+143
| | | | | | There are a still a few headers that need to be investigated and displayed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887946 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1992 : Update ProtocolEngine to create LogSubject in constructor as it ↵Martin Ritchie2009-12-071-2/+3
| | | | | | now correctly formats based on the current sate of the Engine. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887945 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1992 : Fix compilation error missed during merge.Martin Ritchie2009-12-042-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887154 13f79535-47bb-0310-9956-ffa450edef68
* Merged r887145 from 0.5.x-dev Martin Ritchie2009-12-048-140/+151
| | | | | | | | QPID-1992 : Ensure there is only one location where strings are built for logging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887152 13f79535-47bb-0310-9956-ffa450edef68
* Merged r 886719:886722 from 0.5.x-dev.Martin Ritchie2009-12-0327-306/+403
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886842 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: replace random 1second wait with a LogMonitor check that the ↵Robert Gemmell2009-12-012-5/+8
| | | | | | reload has occured. Also update some method and paramter names git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2222: Add CRAM-MD5-HEX support to broker to enable .net client to ↵Robert Gemmell2009-11-274-0/+316
| | | | | | | | | connect to broker when using Base64MD5 password file. Changes merged from M2.x branch r664001 with update to implement the newer reload() PD method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884838 13f79535-47bb-0310-9956-ffa450edef68
* Fixes for 0-9-1 supportRobert Godfrey2009-11-262-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884619 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: make sure global security plugins are reconfigured properlyAidan Skinner2009-11-112-4/+8
| | | | | | | | | | | ServerConfigurationTest: add test for reloading firewall config in main section, not just as a combined file FirewallConfigTest: add a systest for firewalls with real broker QpidTestCase: add a reloadBroker() method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2178: expand the return from channels() to indicate whether the channel ↵Robert Gemmell2009-11-062-2/+7
| | | | | | is blocked git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@833446 13f79535-47bb-0310-9956-ffa450edef68
* Added AMQP 0-9-1 supportRobert Godfrey2009-10-268-45/+657
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829944 13f79535-47bb-0310-9956-ffa450edef68
* Merged from java-broker-0-10 branchRobert Godfrey2009-10-25176-6363/+11358
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Added A NullRootMessageLogger to drop logging, Currently only ↵Martin Ritchie2009-10-221-0/+60
| | | | | | used by external tools. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828768 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2055: remove use of FileUtils.copyCheckedEx for security reasons, ↵Robert Gemmell2009-10-201-26/+25
| | | | | | generate new file in same filesystem as existing file to avoid copying between filesystems git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827591 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2042: remove use of FileUtils.copyCheckedEx for security reasons, ↵Robert Gemmell2009-10-201-20/+24
| | | | | | generate new file in same filesystem as existing file to avoid copying between filesystems git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827589 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2041: remove use of FileUtils.copyCheckedEx for security reasons, ↵Robert Gemmell2009-10-201-20/+25
| | | | | | generate new file in same filesystem as existing file to avoid copying between filesystems git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2040: remove use of FileUtils.copyCheckedEx for security reasons, ↵Robert Gemmell2009-10-201-21/+25
| | | | | | generate new file in same filesystem as existing file to avoid copying between filesystems git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827584 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1301 Fixes for issues with temporary queue permissions, including ↵Marnie McCormack2009-10-202-221/+238
| | | | | | promotion of temporary element out from individual queue elements. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827041 13f79535-47bb-0310-9956-ffa450edef68
* Remove Java 1.6 @Overrides on interface implmentationsMartin Ritchie2009-10-191-12/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1304: add vhost access check for missed corner cases, allowing for ↵Robert Gemmell2009-10-161-1/+10
| | | | | | users granted vhost access and otherwise abstaining. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825805 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1304: implement the ACCESS section of SimpleXML ACL. Enables ↵Robert Gemmell2009-10-152-12/+75
| | | | | | virtualhost level access control, giving the defined users full access to all artifacts in the vhost git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825453 13f79535-47bb-0310-9956-ffa450edef68
* Merge java-network-refactor branchAidan Skinner2009-10-1515-648/+435
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825362 13f79535-47bb-0310-9956-ffa450edef68
* Fix compiler compliance levels, not allowed @Override on interfaces in 1.5Aidan Skinner2009-10-116-18/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824129 13f79535-47bb-0310-9956-ffa450edef68
* Refactor a little, extract large inline case statements to individual methods.Aidan Skinner2009-10-111-492/+516
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1872: check for existence of outer consume permissions map before ↵Robert Gemmell2009-10-091-0/+6
| | | | | | proceeding to further checks, and if not present then deny immediately as it signifies a complete lack of consume rights in the ACL settigns for the user in question. Update SimpleACLTest to add a check for consumption with create but without consume right, and to allow each test to customise the ACL settings before QTC.setUp() starts the broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823464 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1950 : Problem is that the thrown exception whilst an IOException does ↵Martin Ritchie2009-10-082-1/+8
| | | | | | not signify that the socket has closed. So the broker had two open connections to send messages on. Change was to ensure that the previous Socket/IOSession has been closed before failover starts. Also added protected to ChannelOpenHandler to guard against out of order frames causing a NPE. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823087 13f79535-47bb-0310-9956-ffa450edef68
* QPID-942 : Added tests for broker and client log messages produced when flow ↵Robert Godfrey2009-10-071-3/+7
| | | | | | control invoked git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-942 : Add Simplistic Producer Flow Control to the java Broker / java ↵Robert Godfrey2009-10-0111-19/+296
| | | | | | 0-8/0-9 client git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820739 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2118 : Corrected 010Exclude for runtime selector exception. Tidied up ↵Martin Ritchie2009-09-301-2/+5
| | | | | | SelectorTest so that it uses more of QTC functionality and stops creating random queue names. The init() methods could be totally removed with a bit more work. Updated test() to be testOnMessage() to better identify what test was supposed to be using onMessage() previously they all were! JMSMessageID test should now pass again on CPP profile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820321 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2120 : Updated SimpleAMQQueue to ensure that the sub.isSuspended() ↵Martin Ritchie2009-09-301-68/+112
| | | | | | | | check is done before any attempt to retrieve the getLastSeenNode(). This and the commits for QPID-1871,QPID-2116 are tested by RollbackOrderTest that now can be enabled for the Java profile. Additional changes were done to SAMQQ to improve readability and add some debug loggging. Performance testing should be done to identify any penality for this additional logging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820320 13f79535-47bb-0310-9956-ffa450edef68
* Add debug logging to see what the next message the Subscription is going to ↵Martin Ritchie2009-09-301-1/+9
| | | | | | look at. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820319 13f79535-47bb-0310-9956-ffa450edef68
* Prevent NPE in QueueEntryImpl.debugIdentityMartin Ritchie2009-09-301-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820318 13f79535-47bb-0310-9956-ffa450edef68
* Add toString to AbstractActor to allow actors to be used in debug log messagesMartin Ritchie2009-09-301-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820317 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2116 : Ensure that AMQChannel correctly notifies all running ↵Martin Ritchie2009-09-301-4/+51
| | | | | | Subscription deliveries that the Channel has been suspended. This is down by taking out the subcription sendLock on each subscription on this Channel. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820316 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2028 : Augment BrokerActor to allow the setting of the broker name. ↵Martin Ritchie2009-09-284-5/+18
| | | | | | Updated ApplicationRegistries to pass the instanceID to the BrokerActor in an attempt to better identify what brokers are shutting down during our test runs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819605 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2093: Updated AMQBRokerManagerMBean to check if the queue is durable ↵Martin Ritchie2009-09-111-2/+4
| | | | | | | | | | | before performing store.deleteQueue(). Created ModelTest to validate the change, (testDeletionDurableViaJMX). To facility the testing, extracted JMX Operations from ManagementActorLoggingTest to a new JMXTestUtils and updated both ModelTest and MALT to use this interface. Updated 010(cpp) and 08(Java-InVM) excludes as the CPP does not have JMX and the InVM JMX is unreliable (see QPID-2097) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813801 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2096 : Add a work around which stops durable exchanges being written to ↵Martin Ritchie2009-09-111-0/+12
| | | | | | the message store. This will allow current DerbyStores to start up but will mean that the existence of the exchange in the configuration is its durability. Remove it from the config and it is gone. This differs from the way queues work. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813796 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2091 : Updated ServerConfiguration and added test to ↵Martin Ritchie2009-09-101-20/+15
| | | | | | ServerConfigurationTest. Merged virtualhost.xml with config.xml git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813459 13f79535-47bb-0310-9956-ffa450edef68