summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* Implemented the feature described in QPID-2515Rajith Muditha Attapattu2010-05-183-23/+118
| | | | | | | However a few issues needs to be ironed out - see the JIRA for these issues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945945 13f79535-47bb-0310-9956-ffa450edef68
* Modified the test slightly to make it work against the 0-10 code path.Rajith Muditha Attapattu2010-05-181-1/+10
| | | | | | | Verified that it works against the C++ broker and the Java broker (both 0-8 and 0-10 codepaths). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945789 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Update Plugins to use changes to ConfigurationPlugin, Update ↵Martin Ritchie2010-05-187-42/+126
| | | | | | | | Test to correctly run and prevent failover. Update excludes to include test in Java Broker runs but not CPP or 010. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945683 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584 : Add Logging Actor to HouseKeepingTasksMartin Ritchie2010-05-181-1/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945682 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update ConfigurationPlugin to correctly handle attributes in ↵Martin Ritchie2010-05-182-2/+108
| | | | | | | | | | configuration. Added work around for the fact that we use a Composite Configuration that turns an XML attribute key of '[@attribute]' in to '@attribute]'. Added test for to this conversion. This makes the Plugin Configuration interface consistent so if we swap our configuration format. The key style of '[@attribute]' will work as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2614 : Update QueueConfiguration to take two parameters, moved Munging ↵Martin Ritchie2010-05-183-44/+54
| | | | | | | | code from VHC to QC. Updated Test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2585 : Ensure plugins are correctly loaded, so can renenable ↵Martin Ritchie2010-05-182-8/+11
| | | | | | PluginTest. (Patch provided by Andrew Kennedy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945679 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584 : Convert all TimerTasks to HouseKeepingTasks for running in the ↵Martin Ritchie2010-05-189-88/+251
| | | | | | | | | VHost thread pool. Update VirtualHost and Configuration to allow configuration and testing of VirtualHostHouseKeepingPlugins. Added system test to validate the loading of VHPlugins is performed correctly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584, QPID-1447 : Update SCD Plugin to use new VHPlugin abstract classMartin Ritchie2010-05-181-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584 : Update VirtualHostImp and VHPlugin to ensure that a ↵Martin Ritchie2010-05-184-5/+34
| | | | | | RuntimeException occuring in a plugin will not cause the Plugin to stop running. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2613: flush 0-8/0-9 message to store when delivery beginsRobert Gemmell2010-05-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945536 13f79535-47bb-0310-9956-ffa450edef68
* Added an exclude file for no-prefetch test profile.Rajith Muditha Attapattu2010-05-182-1/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945469 13f79535-47bb-0310-9956-ffa450edef68
* This test is failed due to the checkin made in rev 942293 as a fix for ↵Rajith Muditha Attapattu2010-05-181-2/+1
| | | | | | | | | | | | QPID-2559. Since (from rev 942293) credit is not sent if the dispatcher is null, for consumerB, credit is not sent until it invokes receive(). However it only tries to receive after consumerA has received 2 messages. Since AUTO-ACK is used, completions are sent immediately which results in A receiving credit, hence receiving the next 2 messages as well. I changed the test to create consumer A & B using the same session. This ensures that both consumers gets a chance to request credit before they consume any messages. This modification does not alter the intent of the original test case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945444 13f79535-47bb-0310-9956-ffa450edef68
* Make constructor public instead of packageRobert Gemmell2010-05-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2422: exclude DurableSubscriberTest until queue exclusivity is persistedRobert Gemmell2010-05-173-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945078 13f79535-47bb-0310-9956-ffa450edef68
* disable setting on the java-derby test profile which restricts client ↵Robert Gemmell2010-05-171-1/+5
| | | | | | protocol version, allow the client to perform normal negotiation to broker suppported version git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945017 13f79535-47bb-0310-9956-ffa450edef68
* Removing the tests excluded due to the failures associated with 942098Rajith Muditha Attapattu2010-05-141-14/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944458 13f79535-47bb-0310-9956-ffa450edef68
* I am reverting a change made by martin on rev 942098 (QPID-2586) as the 0-10 ↵Rajith Muditha Attapattu2010-05-141-1/+1
| | | | | | | | | | code path relies on that for failover. Currently due to the above commit all failover related tests are failing. However we will try to address the issue mentioned in QPID-2586. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944457 13f79535-47bb-0310-9956-ffa450edef68
* Removing the examples under this folder as they are not written against a ↵Rajith Muditha Attapattu2010-05-1414-1164/+0
| | | | | | | | | proper API. As of now we only support the JMS API. Therefore we shouldn't carry any other examples as it can create confusion. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944086 13f79535-47bb-0310-9956-ffa450edef68
* There are a number of test failures under the various cpp test profiles.Rajith Muditha Attapattu2010-05-141-0/+15
| | | | | | | | I am temporarily excluding them to keep the tests green, to ensure we don't miss any new failures. Meanwhile I work on the test failures to figure out cause. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2599Rajith Muditha Attapattu2010-05-1111-499/+0
| | | | | | | Removing all log4j xml and property files from the code base, except for the ones in test-profile folder and broker/etc folder. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943339 13f79535-47bb-0310-9956-ffa450edef68
* Commiting a patch by Emmanuel Bourg attached to QPID-2594Rajith Muditha Attapattu2010-05-1117-47/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943200 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2559Rajith Muditha Attapattu2010-05-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942293 13f79535-47bb-0310-9956-ffa450edef68
* Added a timeout when checking for broker start.Rajith Muditha Attapattu2010-05-071-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942187 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2491 : Committed patch provided by Sorin Suciu to remove readlink from ↵Martin Ritchie2010-05-072-7/+6
| | | | | | the broker start script making it cross platform (Darwin,Solaris) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942119 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Fix Slow Consumer Detection directory Name and package nameMartin Ritchie2010-05-0711-8/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942117 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2579 : Remove debug loggingMartin Ritchie2010-05-0717-37/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942116 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2585 : Upgrade to Felix 2.0.5Martin Ritchie2010-05-075-81/+190
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942114 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584 : Updated VirtualHost to load VirtualHost Plugins and not hard ↵Martin Ritchie2010-05-074-1/+147
| | | | | | code SCD git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942112 13f79535-47bb-0310-9956-ffa450edef68
* Corrected Broker Activator stop codeMartin Ritchie2010-05-071-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942111 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2583 : Update tests to correctly throw ConfigurationException where ↵Martin Ritchie2010-05-073-16/+41
| | | | | | requried and to correctly configure configuration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Add ConfigurationManager and split config creation from config ↵Martin Ritchie2010-05-0713-409/+729
| | | | | | processing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942109 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Exclude SCD testing until completeMartin Ritchie2010-05-0711-0/+682
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942108 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Add initial test for SlowConsumersMartin Ritchie2010-05-072-1/+305
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942106 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2583 : Update tests to correctly throw ConfigurationException where ↵Martin Ritchie2010-05-077-8/+132
| | | | | | requried and to correctly configure configuration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2582 : Print stack traces if the registry fails to clean up as a result ↵Martin Ritchie2010-05-071-1/+10
| | | | | | of a failed InVM broker startup git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942104 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2580 : Correct build order to allow plugins to use QpidTestCaseMartin Ritchie2010-05-071-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942103 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2575 : Add getClientID to SessionModel and standardise use accross ↵Martin Ritchie2010-05-0710-21/+75
| | | | | | | | 0-8/0-10, 0-10 does not appear to provide a client ID so maintaining use of Principal Name. This means migration between 0-8 and 0-10 will not behave as expected. Correct erroneous usages of session.getPrincipal when comparing with queue.getOwner is requried. Queue owners are the client id not the authenticated user. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942102 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2575 : Create Connection and Session models to correctly expose the ↵Martin Ritchie2010-05-0717-88/+251
| | | | | | Owning Session. Addressed issue where getPrincipal was used in error to identify queue owner. Session model now allows access to this in a protocol independent way. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942101 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2579 : Improve IBBC tearDown to ensure AR remove and tearDown always occur.Martin Ritchie2010-05-071-3/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942099 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2586 : Give Client 0-10 close semantics not detactMartin Ritchie2010-05-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942098 13f79535-47bb-0310-9956-ffa450edef68
* Modified the testHeartbeat method to use an external script to start & stop ↵Rajith Muditha Attapattu2010-05-065-12/+65
| | | | | | the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941934 13f79535-47bb-0310-9956-ffa450edef68
* Added the following tests in FailoverBeforeConsumingRecoverTest to the ↵Rajith Muditha Attapattu2010-05-061-0/+2
| | | | | | | | | | | exclude list RecoverTest#testOderingWithAsyncConsumer RecoverTest#testOderingWithSyncConsumer The FailoverBeforeConsumingRecoverTest extends RecoverTest. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941562 13f79535-47bb-0310-9956-ffa450edef68
* The heartbeat wasn't being set properly and these mistakes went uncaught due ↵Rajith Muditha Attapattu2010-05-064-3/+133
| | | | | | | | | | | | to lack of proper test. I have added a test case to AMQConnectionTest called testHeartBeat. This test fails once in a while even when I have an external script to clean the broker instance. It seems once it's wedged with kill -STOP, it somestimes doesn't get cleaned up properly with kill -9. Despite the occasional failure, I think it's worth to have this test as a lot of our users rely on heartbeat functionality. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941553 13f79535-47bb-0310-9956-ffa450edef68
* Added the following tests to the exclude listRajith Muditha Attapattu2010-05-041-0/+4
| | | | | | | | RecoverTest#testOderingWithAsyncConsumer RecoverTest#testOderingWithSyncConsumer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@940914 13f79535-47bb-0310-9956-ffa450edef68
* Removed assertions based on wrong assumptions.Rajith Muditha Attapattu2010-05-031-8/+7
| | | | | | | The c++ broker does not make any guarantees about how it distributes the messages among consumers on a single queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@940674 13f79535-47bb-0310-9956-ffa450edef68
* Reverting the change made in rev 939416 as it's the wrong solution.Rajith Muditha Attapattu2010-05-031-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@940672 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2559Rajith Muditha Attapattu2010-04-291-3/+5
| | | | | | | A test case will be checked in shortly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2471Rajith Muditha Attapattu2010-04-291-0/+4
| | | | | | | Exclusing the test cases added in rev 939410 as they fail with the java broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939411 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2471Rajith Muditha Attapattu2010-04-291-1/+140
| | | | | | | Added two test cases to verify ordering while using recover with sync and async consumer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939410 13f79535-47bb-0310-9956-ffa450edef68