summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* QPID-2815: move conversion of logWatch argument into milliseconds into ↵Robert Gemmell2011-07-144-14/+169
| | | | | | Broker, add a unit test for the various argument parsing methods in Main. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1146625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3345: restore/add ability to use sys props to select the ↵Robert Gemmell2011-07-149-37/+335
| | | | | | | | NetworkTransport used to make/accept connections Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1146594 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'QPID-3265' into trunkRajith Muditha Attapattu2011-07-135-59/+129
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1146508 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3310 - Principal/Subject refactoring.Robert Gemmell2011-07-1337-548/+1198
| | | | | | | | | | Refactoring to the connection/session objects to pass the Subject from Authentication tier to Access tier, rather than just the Principal. Change the access-control to be able to make access decisions based on Groups from the Authentication tier whilst retaining support for groups declared within the ACL file itself. Improve unit tests. Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1146079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3269Rajith Muditha Attapattu2011-07-082-9/+35
| | | | | | | | Added a test case to ensure clientID verification works. Excluded from the java broker tests as the java broker does not verify the uniqueness of the session names. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1144532 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3269Rajith Muditha Attapattu2011-07-0810-44/+160
| | | | | | | | | | | In order to verify the uniqueness of the client ID, a dummy session is created using client ID as it's name. This prevents any other connection from using same client ID as the session creation will fail. However this verification is switched off by default in order to preserve backwards compatibility. You need to use -Dqpid.verify_client_id=true switch verification on. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1144531 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3343: refactor test profiles to allow testing within the same JVM for ↵Robert Gemmell2011-07-0786-3764/+374
| | | | | | | | all protocols, remove vm:// transport support and associated forked Mina classes Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2815: refactor broker startup to present a clean interface interface ↵Robert Gemmell2011-07-0727-744/+1348
| | | | | | | | for starting the broker within an existing application Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143870 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3026: remove incomplete support for multiple ApplicationRegistry ↵Robert Gemmell2011-07-0717-411/+412
| | | | | | | | instances to be active at one time Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143869 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove interface method @overridesRobert Gemmell2011-07-0714-54/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143868 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3342: transition TCP based Mina transport for 0-8/0-9/0-9-1 protocols ↵Robert Gemmell2011-07-0747-1766/+1189
| | | | | | | | over to new IO interface model Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143867 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3342: rationalise the existing 0-10 transport code and introduce new ↵Robert Gemmell2011-07-0714-273/+315
| | | | | | | | NetworkTransport + NetworkConnection abstraction. Decouple IoSender and IoReceiver, initiate their threads after the constructor completes. Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3341: remove unused/dead transport code and accompanying implementation ↵Robert Gemmell2011-07-0730-5316/+26
| | | | | | | | classes Applied patch by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2720: revert commit from r1142454 due to test failures (note to self, ↵Robert Gemmell2011-07-031-116/+102
| | | | | | commit-then-run = bad) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1142486 13f79535-47bb-0310-9956-ffa450edef68