summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1004: delete dead test (as recommended on the JIRA) since it was ↵Robert Gemmell2011-08-254-159/+1
| | | | | | excluded from all test profiles over 3 years and TTL functionality is covered by other tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161507 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3452: Broker now unregisters any remaining subscriptions on receipt of ↵Keith Wall2011-08-252-3/+23
| | | | | | SessionDetach to prevent SubFlushRunner and QueueRunner sending erroneous frames causing a ProtocolViolationException on the client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161492 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3432: Exclude SyncWait* tests from 0-10 profile. These tests test a ↵Keith Wall2011-08-251-1/+3
| | | | | | 0-8 specific system property. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161491 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3433: Remove passing and not existing tests from excludesKeith Wall2011-08-244-70/+33
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161178 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2904: Avoid race condition between SubFlushRunner and MinaAcceptor ↵Keith Wall2011-08-221-8/+17
| | | | | | | | threads. Send lock was not being held during MessageStop processing. Applying patch by Robbie Gemmell and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160304 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: update the default broker.ready message to get the java test ↵Robert Gemmell2011-08-221-1/+1
| | | | | | profiles for the C++ broker working again following the IPv6 related changes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160232 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3365: Reverted change to build system to avoid dependency on Ant 1.7.1. ↵Keith Wall2011-08-224-3/+23
| | | | | | client-plugins is now a placeholder empty dir. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160180 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3307: correct a couple style issues, add some basic unit testing for ↵Robert Gemmell2011-08-214-6/+206
| | | | | | ObjectMessage and the new CLAOIS git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160002 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3307: attempt fall back to the ClassLoader which loaded the OIS when ↵Robert Gemmell2011-08-212-1/+138
| | | | | | | | | unable to load required classes during ObjectMessage deserialization process Applied patch from Charith Dhanushka Wickramarachchi based on the solution to this problem from the Apache ActiveMQ codebase. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160001 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2720: make the PluginManager able to work with a pre-existing BundleContextRobert Gemmell2011-08-218-137/+125
| | | | | | | Manually applied patch from Danushka Menikkumbura (no longer applied after intervening commits), then updated PluginManager close() to always close the ServiceTrackers it creates, removed the static field/methods causing test failures which lead to previously reverting the patch, enabled passing a pre existing BundleContext into the Broker instance at startup instead, and finally removed the unused MockPluginManager. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1160000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3414: Refactoring. List of packages to be exported as OSGi system ↵Robert Gemmell2011-08-215-48/+333
| | | | | | | | | packages now held in separate properties file. Applied patch by Keith Wall git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159999 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove test config for Logger which is no longer used, move test ↵Robert Gemmell2011-08-214-56/+70
| | | | | | start reporting to QTC so it shows up in output of non-broker tests, move log level utility methods to QTC git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159998 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3439: add intermediate task class for Signal handling using reflection ↵Robert Gemmell2011-08-213-29/+227
| | | | | | to access/implement the Signal handling classes/interfaces, removing dependency on the com.sun heirarchy from ServerConfiguration and thus the associated compiler warnings git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159997 13f79535-47bb-0310-9956-ffa450edef68
* 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