summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Modified the toString() to include the options.Rajith Muditha Attapattu2010-04-291-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939405 13f79535-47bb-0310-9956-ffa450edef68
* Fixed some obvious spelling mistakes and removed commented out code.Rajith Muditha Attapattu2010-04-281-13/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938732 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused imports.Rajith Muditha Attapattu2010-04-271-22/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2496Rajith Muditha Attapattu2010-04-271-23/+25
| | | | | | | | | 1. Added comments to explain how the address is handled 2. Now the subscription queue is created only when the destination is used by a consumer. 3. Removed unnessacery logic in createSubscriptionQueue method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2530 : Updated build system to have a new findSubProjects macro in ↵Martin Ritchie2010-04-2612-94/+164
| | | | | | | | | | build.xml that will correctly locate and add all subprojects (those with a build.xml file) to the modules.plugin variable. This will correctly allow new plugins to be automatically picked up without any further build system changes. To further simplify the build process and make better use of the module.depends option the build.deps file has been updated to contain only the libraries the module actually depends on. The dependant libraries due to a module.depends are now automatically pulled in by the build system. A further enhancement would be to do transitive dependencies, which would also allow dependencies to be built when in a sub module directory. e.g. client depends on common, but client.libs should not contain mina, common contains mina and so those libraries are pulled in via the fact that client's module.depends contains common. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938059 13f79535-47bb-0310-9956-ffa450edef68
* Add temporary empty .gitignore file to act as marker content, thus ensuring ↵Robert Gemmell2010-04-241-0/+0
| | | | | | the empty src/main/java dir is still present in git checkouts. Required to stop the build breaking until the broker-plugins build is updated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937567 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2534: export the necessary additional packages. Reenable the PluginTest ↵Robert Gemmell2010-04-242-2/+4
| | | | | | now that the required package is available to the plugin git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937566 13f79535-47bb-0310-9956-ffa450edef68
* Temporarily commenting out testLoadExchanges in PluginTest.java as the test ↵Rajith Muditha Attapattu2010-04-231-2/+2
| | | | | | case is failing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2517 - Broker schema changes to support cluster management.Ted Ross2010-04-231-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937470 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2531, QPID-2530 : Applied patches from Sorin Suciu to refactor ↵Martin Ritchie2010-04-239-1/+41
| | | | | | broker-plugins directory and link new OSGi plugins to build system. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937345 13f79535-47bb-0310-9956-ffa450edef68