summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-143 : Disabled AcknowledgeAfter... Tests until the underlying Client ↵Martin Ritchie2009-10-281-2/+4
| | | | | | Close race conditions have been addressed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830487 13f79535-47bb-0310-9956-ffa450edef68
* Added execute permission to shell scriptMartin Ritchie2009-10-281-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830486 13f79535-47bb-0310-9956-ffa450edef68
* Reverted removal of client log4j.xml from 828019Martin Ritchie2009-10-271-0/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830102 13f79535-47bb-0310-9956-ffa450edef68
* Added AMQP 0-9-1 supportRobert Godfrey2009-10-2622-398/+1225
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829944 13f79535-47bb-0310-9956-ffa450edef68
* Change ProducerFlowControlTest to merely check it gets at least 1 client log ↵Robert Godfrey2009-10-261-1/+1
| | | | | | message git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829853 13f79535-47bb-0310-9956-ffa450edef68
* Merged from java-broker-0-10 branchRobert Godfrey2009-10-25266-8185/+13270
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829675 13f79535-47bb-0310-9956-ffa450edef68
* Extension of publisher class for TopicsMarnie McCormack2009-10-231-0/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829106 13f79535-47bb-0310-9956-ffa450edef68
* Fix for large files in FileMessageFactory, changes to Publisher to make ↵Marnie McCormack2009-10-233-13/+181
| | | | | | topic publication easier, added MultiMessageDispatcher class to allow parameterised sending of messages to a queue or a topic git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829102 13f79535-47bb-0310-9956-ffa450edef68
* Added the following test cases to the 010Excludes file to get the test ↵Rajith Muditha Attapattu2009-10-231-0/+10
| | | | | | | | | profile passing. The test failures will be investigated to determine if the broker/client needs to be fixed or test should be permanently disabled for the broker profile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828907 13f79535-47bb-0310-9956-ffa450edef68
* Updated PersitentStoreTest so that it has its own sendMessages that does not ↵Martin Ritchie2009-10-222-21/+101
| | | | | | commit before returning, updated JavaDoc on QTC and PST to describe the contract of sendMessages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828770 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-2001 : Updated Broker Logging Unit tests to ensure that they enable ↵Martin Ritchie2009-10-228-2/+17
| | | | | | logging before running. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828631 13f79535-47bb-0310-9956-ffa450edef68
* Update PropertiesFileInitialContextFactory to give more details on error.Martin Ritchie2009-10-212-37/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828019 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1872: remove systest and reinstate equivalent unit testRobert Gemmell2009-10-212-52/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827968 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1304: update ACL test + configuration file to use a static ACL ↵Robert Gemmell2009-10-212-6/+30
| | | | | | configuration (with a secondary virtualhost) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827967 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1301 Updated test configMarnie McCormack2009-10-201-10/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827702 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2055: update test to ensure all test files created are cleared upRobert Gemmell2009-10-202-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827592 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: update test to ensure all test files created are cleared upRobert Gemmell2009-10-201-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827590 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: update test to ensure all test files created are cleared upRobert Gemmell2009-10-201-10/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827588 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: update test to ensure all test files created are cleared upRobert Gemmell2009-10-201-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827586 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-203-223/+298
| | | | | | 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
* QPID-1859 - Converted System.out.println to _logger.info.Martin Ritchie2009-10-191-5/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2085 : Revert the addition of APPEND. We should use a rolling file ↵Martin Ritchie2009-10-192-6/+1
| | | | | | appender instead. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826640 13f79535-47bb-0310-9956-ffa450edef68
* Remove Java 1.6 @Overrides on interface implmentationsMartin Ritchie2009-10-192-17/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : When client fails over due to an error, that error is still held ↵Martin Ritchie2009-10-192-0/+22
| | | | | | bt the StateManager and will prvent the connection from working. During failover check and see if the Connection had been marked closed if so remove any set exception. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826638 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-2148 Override tearDown to ignore JMSExceptionMarnie McCormack2009-10-151-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825510 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1304: implement the ACCESS section of SimpleXML ACL. Enables ↵Robert Gemmell2009-10-154-12/+152
| | | | | | 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-1560-2587/+2578
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825362 13f79535-47bb-0310-9956-ffa450edef68
* add property to enable overriding QPID_WORK during test runsRobert Gemmell2009-10-142-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1204: add temporary workaround for connection close race condition at ↵Robert Gemmell2009-10-134-7/+174
| | | | | | tearDown() noted in QPID-2081 to allow enabling SimpleACLTest for java brokers. Update exclude lists accordingly, also removing a single-method exclude from the 010Excludes file made redundant by the complete SimpleACLTest exclusion when using cpp brokers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1950 : Simplified the connection by using the default URL and ↵Martin Ritchie2009-10-132-7/+28
| | | | | | | | configuring retry rather than using the default failover URL that has multiple brokers defined. Whilst this may not stop the test failing it will make the log files simpler. Updated FailoverHandler to ensure that any pending write is sync'd if possible. Also updated Test to perform a synchronous operation after the ack to ensure it arrives at the broker, QPID-2138 highlights that it doesn't get there due to what appears to be Mina propagating the exception ahead of the data. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824704 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Ensured the lastCount value is always correctly set to ↵Martin Ritchie2009-10-133-15/+26
| | | | | | NUM_MESSAGES, calling getCount() after the connection has started may result in getting a value lower than NUM_MESSAGES and then cause the test to end early. Fixed spelling errors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824703 13f79535-47bb-0310-9956-ffa450edef68
* Fix compiler compliance levels, not allowed @Override on interfaces in 1.5Aidan Skinner2009-10-1111-22/+1
| | | | 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-2016: apply missed version number increment for the new methodRobert Gemmell2009-10-094-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823605 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1950 : Updated to ensure test uses a unique queue and updated count ↵Martin Ritchie2009-10-091-2/+2
| | | | | | indexing so each message is uniquely numbered git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823496 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1872: check for existence of outer consume permissions map before ↵Robert Gemmell2009-10-092-17/+99
| | | | | | 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-1440 : Code review changes from QPID-1289. All actioned except adding ↵Martin Ritchie2009-10-087-24/+53
| | | | | | new createConsumer() method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823149 13f79535-47bb-0310-9956-ffa450edef68
* QPID-942 : Updated test to use built in client property setting mechanismRobert Godfrey2009-10-081-11/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823146 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1950 : Remove exclude from global exclude file. Should just be excluded ↵Martin Ritchie2009-10-082-3/+2
| | | | | | from the 010 run as only 0-8/9 uses Mina. The test is validating that a Mina IOException correctly causes failover, even when the IOException does not represent a socket failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823089 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1950 : Problem is that the thrown exception whilst an IOException does ↵Martin Ritchie2009-10-088-5/+358
| | | | | | 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-072-7/+88
| | | | | | control invoked git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Fixed wait for messages loop so on error the test does not get stuckMartin Ritchie2009-10-061-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Update to AOMT based tests, Test now continues as long as ↵Martin Ritchie2009-10-054-6/+44
| | | | | | | | | messages are received. If there has been no message received for 5 seconds then it counts the test as failed. Excluded AutoAck failover tests due to QPID-143 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Add testing for publication on a dirty session after failover.Martin Ritchie2009-10-052-0/+409
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821828 13f79535-47bb-0310-9956-ffa450edef68