summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
...
* 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@937345 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2513 : Applied patch from Sorin Suciu to enable OSGi Service pluginsMartin Ritchie2010-04-232-22/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@937343 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2433 Patch to handle spaces in windows paths from Emmanuel BourgMarnie McCormack2010-04-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@937212 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2498Rajith Muditha Attapattu2010-04-223-62/+12
| | | | | | | Committing a patch from Emmanuel Bourg git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@936575 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2522Rajith Muditha Attapattu2010-04-212-3/+2
| | | | | | | Commiting patch submitted by Emmanuel Bourg. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@936568 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2479: set the log level to WARN for the tests as they use high ↵Robert Gemmell2010-04-211-0/+4
| | | | | | | | | frequency housekeeping and this leads to a huge amount of additional logging merged from 0.5.x-dev r931179 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@936276 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2525: Updated Build.xml to build Management ExamplesMartin Ritchie2010-04-212-85/+270
| | | | | | | | Updated QueueInformation to allow the specification of queues to monitor and the attributes to print. Updated to only use a single connection rather than one per query. Perform connection cleanup on shutdown git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@936267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2479: Add info/debug level logging to allow tracking the virtualhost ↵Robert Gemmell2010-04-211-4/+8
| | | | | | | | | | | | housekeeping process Applied patch from Sorin Suciu <ssuciu@gmail.com> Merged from 0.5.x-dev r930288 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@936259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2097: Enable MALT and update it to fix breakages while it was disabled. ↵Robert Gemmell2010-04-204-15/+18
| | | | | | Enable the excluded PFC JMX test in the InVM profile now that InVM JMX is available. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935929 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2097: Use the standard RMIServerSocketFactory for InVM testing to ↵Robert Gemmell2010-04-204-16/+62
| | | | | | workaround the alternating pass-fail issue encountered when running back to back tests using JMX with the InVM broker. Enable the ModelTest. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935928 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2097: fix issues with ModelTest to allow it to pass normally: it isnt ↵Robert Gemmell2010-04-201-6/+5
| | | | | | possible to create autoDelete queues with the JMX interface, and owner should not be expected to be null based on autodelete status. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935927 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379 / QPID-2400: Unregister event listeners during QMFService shutdown ↵Robert Gemmell2010-04-191-0/+11
| | | | | | to prevent fielding object removal events that cant be actioned anymore. Add null check to the QMFClass retrieval during the unmanage process. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935474 13f79535-47bb-0310-9956-ffa450edef68
* Removed exception listenerJonathan Robie2010-04-161-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935070 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a minor compile issue and changed the prop file to denote the syntax ↵Rajith Muditha Attapattu2010-04-162-3/+3
| | | | | | as "addressing" instead of binding URL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935061 13f79535-47bb-0310-9956-ffa450edef68
* Simplifying with Rajith's helpJonathan Robie2010-04-161-9/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935058 13f79535-47bb-0310-9956-ffa450edef68
* Removed two superfluous comments, added parameters to createSession()Jonathan Robie2010-04-161-5/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935037 13f79535-47bb-0310-9956-ffa450edef68
* "Hello world!" example in JavaJonathan Robie2010-04-162-0/+110
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935034 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2512Rajith Muditha Attapattu2010-04-163-1/+4
| | | | | | | | | Changed the default destination syntax to addressing. Added qpid.dest_syntax=BURL to the test profiles to ensure all existing tests work. At some point next week the existing binding URL based entries will be prefixed with "BURL:" and the above system property will be removed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934997 13f79535-47bb-0310-9956-ffa450edef68
* Added the following tests exclude list temporarily.Rajith Muditha Attapattu2010-04-161-0/+3
| | | | | | | | | The same tests are working well against the c++ broker. These tests are failling due to the commit made in rev934236 See QPID-2471 for more details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934995 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2496Rajith Muditha Attapattu2010-04-151-1/+1
| | | | | | | Fixed a minor bug when processing link props. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934582 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2496Rajith Muditha Attapattu2010-04-157-280/+835
| | | | | | | | | | The changes include support the new addressing structure and most items on the list specified in the JIRA. The following is not included in the commit 1. Add subject as filter in JMS - for exchanges use it as binding key and for queues use it as a selector - this needs to be thought through. Besides JMS already provides a way to handle this. 2. Implementation of DELETE option. Further testing needs to be done to figure out the impact. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934563 13f79535-47bb-0310-9956-ffa450edef68
* Made minor enchancements to the following support classes.Rajith Muditha Attapattu2010-04-152-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934560 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2496Rajith Muditha Attapattu2010-04-153-2/+18
| | | | | | | This allows a user to pass in an address string when creating a queue or topic using the JMS 1.0 methods (session.createQueue(String s) and session.createTopic(String s) ) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934559 13f79535-47bb-0310-9956-ffa450edef68
* Temporarily disabled the RecoverTests until properly investigated.Rajith Muditha Attapattu2010-04-151-0/+4
| | | | | | | | | The same tests are working well against the c++ broker. These tests are failling due to the commit made in rev934236 See QPID-2471 for more details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934556 13f79535-47bb-0310-9956-ffa450edef68
* Temporarily disabled the RecoverTests until properly investigated.Rajith Muditha Attapattu2010-04-151-0/+5
| | | | | | | | | The same tests are working well against the c++ broker. These tests are failling due to the commit made in rev934236 See QPID-2471 for more details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934287 13f79535-47bb-0310-9956-ffa450edef68
* Commiting the patch attached to QPID-2471Rajith Muditha Attapattu2010-04-145-11/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2503 : Updated CommandLineParser to output '-' in front of options.Martin Ritchie2010-04-141-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934005 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2484 : Commit from Andrew Kennedy to work around the inability to ↵Martin Ritchie2010-04-123-15/+17
| | | | | | | | toString sent messages, the test now use getJMSMessageID() rather than toString(). Merged from 0.5.x-dev rev 931508 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933289 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2438 : Implemented option 1. Fixed the divide to correct our message size.Martin Ritchie2010-04-121-2/+2
| | | | | | Merged from 0.5.x-dev rev 920765 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933288 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2424 : Update tests to correctly handle timestamps from stat that are ↵Martin Ritchie2010-04-122-3/+7
| | | | | | | | | | in nano seconds rather than millis. Fixed GC_FREQ generation it was not using GC_TIME.log as input Merged from 0.5.x-dev rev 920394 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933287 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2421 : Fixed preFill when numConsumers > 1. This requried the ↵Martin Ritchie2010-04-126-45/+131
| | | | | | | | | | introduction of a new phase in TestThreadAware : postThreadSetup. This ensures that all the threads have correctly setup their clients and so registered their topic subscribers. We can then preFill in the postThreadSetup and reliably receive the data from each of the client's publishers. Added new sendOnly parameter to allow send only testing with topics where numConsumers must be set. Merged from 0.5.x-dev rev 920389 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933286 13f79535-47bb-0310-9956-ffa450edef68