summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3434: Refactored 0-8..0-9-1 code paths to use same SSL configuration ↵Robert Gemmell2011-08-1819-525/+164
| | | | | | | | mechanisms as 0-10. Apply work by myself and Keith Wall git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159255 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3431: exclude test whilst it is taking 30+mins to runRobert Gemmell2011-08-181-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159253 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: delete dead test (only runs against CPP brokers when run on linux, ↵Robert Gemmell2011-08-182-111/+0
| | | | | | but is excluded from all CPP broker profiles) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159252 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3430: enable excluding protocol versions from the SSL port(s) on the ↵Robert Gemmell2011-08-181-37/+49
| | | | | | | | command line Applied patch from Andrew MacBean git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159251 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3429: ensure that SSL is enabled correctly in MinaNetworkHandler. ↵Robert Gemmell2011-08-1838-453/+515
| | | | | | | | Refactor SSLContextFactory to be a factory, and present a useful interface for both client and server side use. Added keystore for the Java broker, renamed existing client trust/key stores for clarity. Fix SSL port configuration. Added new SSL tests, and ensure these are *always* run in the Java 0-10 profiles. Committing work by myself and Keith Wall. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159250 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: delete unused folder with old testsRobert Gemmell2011-08-1844-6009/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3342: Regression when forming SSL connections.Robert Gemmell2011-08-155-64/+109
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1157866 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: small adjustments to stop Ant generating warnings and spewing ↵Robert Gemmell2011-08-152-21/+19
| | | | | | | | | | irrelevant stacktraces during test runs 1. Set includeantruntime property to false on the remainig javac tasks which dont already have it 2. Manipulate the build.deps entries for the jmx management console to remove non-java files from the test classpath, since the tests dont need them and the console build process doesnt depend on the main <module>.libss property value being all-inclusive anyway. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1157730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3385: remove old ID generator left over after earlier commitRobert Gemmell2011-08-151-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1157729 13f79535-47bb-0310-9956-ffa450edef68
* Undoing commits of stuff that was meant for my 1-0 sandboxRobert Godfrey2011-08-1412-989/+950
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1157632 13f79535-47bb-0310-9956-ffa450edef68
* Initial checkin of AMQP 1-0 Java Prototype workRobert Godfrey2011-08-1412-950/+989
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1157566 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2873: ensure that queues in the configuration file are always bound to ↵Robert Gemmell2011-08-134-35/+248
| | | | | | the default exchange with their name, unknown exchanges properly cause exception to be thrown, and you cant use custom bindings against the default exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1157410 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: the Java build was broken by r1156604, add stubs to allow compilationRobert Gemmell2011-08-131-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1157409 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3402: revert r1155516, bad things happened without spaceRobert Gemmell2011-08-092-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1155972 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3402: also use a semi-colon deliminator instead of just whitespace, so ↵Robert Gemmell2011-08-092-2/+2
| | | | | | as to allow identifying the excludes files correctly when the directory structure includes spaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1155516 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3392: correct JIRA referenceRobert Gemmell2011-08-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1155373 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3387: use the subscription ID to track rejection rather than the ↵Robert Gemmell2011-08-087-33/+45
| | | | | | subscription itself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1155138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3386: move all server Subscription creation into the ↵Robert Gemmell2011-08-0812-114/+221
| | | | | | SubscriptionFactoryImpl, ensure all Subscription implementations share a common ID sequence generator git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1155137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3385: assign IDs from a generator within the ↵Robert Gemmell2011-08-0816-118/+280
| | | | | | MultiVersionProtocolEngineFactory, which is shared across all protocol versions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1155136 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3391: exclude failing test until functionality is implementedRobert Gemmell2011-08-041-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2903, QPID-3390, QPID-3392: split tests into those with and without ↵Robert Gemmell2011-08-043-17/+114
| | | | | | exchange creation arguments, add verification of exchange declare arguments, add new test to validate behaviour when supplying nonsense/unsupported arguments, exclude failign tests until functionality is implemented git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153864 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2881 Modified the testSubscriptionForSameDestination to cover forRajith Muditha Attapattu2011-08-031-1/+1
| | | | | | this issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3381 Corrected the entry for JMSPropertiesTest to reflect theRajith Muditha Attapattu2011-08-031-1/+1
| | | | | | change in method name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2899: log the exceptionRobert Gemmell2011-08-031-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153609 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3377 Modified an existing test case to cover this issue.Rajith Muditha Attapattu2011-08-021-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153299 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3377 Applying patch from Pavel MoravecRajith Muditha Attapattu2011-08-021-5/+6
| | | | | | | QPID-3381 Changed the code to use QpidMessageProperties.QPID_SUBJECT instead of the string literal. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153298 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3381 Provided the ability to retrieve the routing key from a JMS ↵Rajith Muditha Attapattu2011-08-022-7/+15
| | | | | | message using getStringProperty(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153274 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3381 Added the class QpidMessageProperties as a place holder for Qpid ↵Rajith Muditha Attapattu2011-08-021-0/+34
| | | | | | specific properties, rather than using string literals all over the code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153272 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2899: ensure otherwise unhandled exceptions close the Session with an ↵Robert Gemmell2011-08-022-9/+13
| | | | | | ExecutionException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153183 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'QPID-3263' into trunkRajith Muditha Attapattu2011-08-025-8/+168
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153164 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3064, QPID-3157: ensure that if the node marker is pointing at the tail ↵Robert Gemmell2011-07-312-2/+38
| | | | | | node when it is removed, the marker is still subsequently able to find new subscriptions at the end of the list git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1152633 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3064, QPID-3157: ensure the node for a given Subscription is unlinked ↵Robert Gemmell2011-07-303-99/+527
| | | | | | from the SubscriptionList at the point of removal instead of relying on the list head advancing to do so. Add 'marked node' functionality to the SubscriptionList to provide the Subscription cycling functionality to the queue, allowing the list to tidy itself up fully. Correct corner case behaviour for deleted-but-still-linked tail node in SubscriptionListIterator. Add tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1152485 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3339: set the security Subject during the closed() invocation to ↵Robert Gemmell2011-07-301-4/+8
| | | | | | | | | prevent the spurious ACL denies causing occasional test failures from ExternalACLTest under the Java 0.10 profiles Applied patch from Keith Wall<keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1152484 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3358 Added a gnuplot script that can be useful in graphing test results.Rajith Muditha Attapattu2011-07-301-0/+42
| | | | | | | | | If the -Dduration options is used with the PerfTestController it will output the results of each iteration to a CSV file. You could use the perf-report.gnu with gnuplot to generated some graphs uisng this CSV file. The script expects the CSV file to be in the same directly (alternative you can modify the script to load it from somewhere else). Also you will need to modify the yrange values to suite the outcome of your test environment. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1152415 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3358 Added scripts to faciliate multi host testing.Rajith Muditha Attapattu2011-07-303-0/+387
| | | | | | | | | | 1. The controller starts the PerfTestController that coordinates the testing across multiple producers and consumers on a multi host env. 2. The start-producers and start-consuers starts multiple producers and consumers and also supports a variety of options including starting multiple connections within the same JVM. 3. All 3 scripts comes with -h or -help option to provide details about the various options supported by them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1152414 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3358 Modified the run-sub and run-pub scripts to allow program args in ↵Rajith Muditha Attapattu2011-07-302-4/+15
| | | | | | | | addition to jvm args. This allows scripts to pass on varios arguments like a script specific prefix and other arguments that should be private to a particular connection rather than the entire jvm. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1152413 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3358 Modified the producer and consumer to support multiple iterations ↵Rajith Muditha Attapattu2011-07-304-71/+187
| | | | | | | | | | | | to ensure we can run the test for longer durations. Also added support for creating unique destinations based on the default destination. This makes it easy to run multiple producers and consumers with their unique queue with little configuration. The code can make use of an externally specified prefix when creating these destinations, there by allowing scripts to provide meaningful names for identifying queues for debuging/diagnostic purposes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1152412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3358 Modified the controller to allow multiple iterations in order to ↵Rajith Muditha Attapattu2011-07-302-12/+146
| | | | | | | | | | | support long durations tests. You could now specify -Duration=<secs> to ask the controller to run the test for atleast that duration. If the system is in the middle of running an iteration when the time is up, it will complete the iteration before ending the test. If a duration is specified the Controller will output the results of each iteration into a CSV file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1152411 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3367: FileUtils improvements. #openFileOrDefaultResource now tries the ↵Robert Gemmell2011-07-214-11/+98
| | | | | | | | override filename in the classpath too, before falling back to the default. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1149165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3365: Extend build system to build optional client-plugins.Robert Gemmell2011-07-212-5/+4
| | | | | | Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1149163 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: correct example jar name in client README, update ivy.xml file with ↵Robert Gemmell2011-07-212-2/+2
| | | | | | current version git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1149110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3255: update management console to remove redundant user management ↵Robert Gemmell2011-07-216-211/+288
| | | | | | functionality, move legacy methods from UserManagement to an extension interface git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1149109 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'perf' into trunkRajith Muditha Attapattu2011-07-208-134/+608
| | | | | | | Conflicts: qpid/java/tools/bin/perf-report git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1148935 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3359: revert testNoFailover to run in same-vm profiles onlyRobert Gemmell2011-07-151-2/+34
| | | | | | Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1147076 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3283: make Authentication Manager pluggable.Robert Gemmell2011-07-1526-764/+667
| | | | | | | | Refactors AuthenticationManager and collaborators to allow of AuthenticationManager to be plugged in from the configuration XML. Change PrincipalDatabaseAuthenticationManager to become a pluggable implementation. This change removes support for the <principal-databases> element within the config.xml. Existing use-cases are supported by the new element <pd-auth-manager/> which enables use of the PDAM implementation. Also resolves QPID-1347. Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1147036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3358 Simplified the scripts to make it easy to run them.Rajith Muditha Attapattu2011-07-159-164/+124
| | | | | | | | | | | | | 1. Removed the various set-env scripts. Instead in their place I want to introduce profiles that sets the env to run under different environments. Ex from a source checkout or installed rpms. 2. Introduced Profile-run-from-source to set the env to run the tools from an SVN checkout in a linux env. 3. Modified the scripts to use common variable names things like classpaths, java executable, logging config etc.. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1146959 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2498: rename mina dep stubs for use in pom generationRobert Gemmell2011-07-142-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1146679 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2498: upgrade Mina to 1.1.7.Robert Gemmell2011-07-1413-40/+8
| | | | | | Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1146677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3342: move a previously missed test-only class into the test treeRobert Gemmell2011-07-141-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1146676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2899: exclude test to stop lighting Jenkins up like a christmas tree on ↵Robert Gemmell2011-07-141-0/+3
| | | | | | every commit now that 0.10 is used by default in the test profiles git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1146674 13f79535-47bb-0310-9956-ffa450edef68