summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* QPID-2655: update to allow -run:jpda option to workRobert Gemmell2011-07-031-6/+6
| | | | | | | Applied patch from Danushka Menikkumbura git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1142460 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2720: enable setting an alternative BundleContext to allow the broker ↵Robert Gemmell2011-07-031-102/+116
| | | | | | | | | to use an existing OSGi container instead of starting its own Felix instance Applied patch from Danushka Menikkumbura git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1142454 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3331: Update trunk versions to 0.13 for the next releaseJustin Ross2011-06-307-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1141643 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3324: make the SSL port configurable from the comand lineRobert Gemmell2011-06-301-3/+21
| | | | | | | Applied patch from Danushka Menikkumbura git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1141467 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'QPID-3194' into trunkRajith Muditha Attapattu2011-06-291-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1141301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3302 Excluding the testApplicationProperties test from the 0-8/0-9 code ↵Rajith Muditha Attapattu2011-06-291-0/+1
| | | | | | | | | path. Perhaps this test should be renamed to test_0_10_ApplicationProperties or something similar. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1141258 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA forgot to modify the default value for msg_type in one place.Rajith Muditha Attapattu2011-06-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1140807 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'perf-tools' into trunkRajith Muditha Attapattu2011-06-281-6/+6
| | | | | | | Conflicts: qpid/java/tools/src/main/java/org/apache/qpid/tools/TestParams.java git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1140797 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Changed the type name from BYTE to BYTES.Rajith Muditha Attapattu2011-06-281-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1140795 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Added the ability to specify a message type. Currently on bytesRajith Muditha Attapattu2011-06-282-24/+90
| | | | | | | | and text messages are supported. Hoping to add map and object message support in the near future. You could use -Dmsg_type=TEXT|BYTES to specify the type. The default is BYTES. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1140793 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3302 Added a test case to cover "x-amqp-0-10.app-id".Rajith Muditha Attapattu2011-06-281-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1140413 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3302 You can now get and set the app-id in AMQP 0-10 message properties ↵Rajith Muditha Attapattu2011-06-281-1/+13
| | | | | | using "x-amqp-0-10.app-id". git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1140412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3318: ensure the abstract HouseKeepingTask class removes the LogActor ↵Robert Gemmell2011-06-263-0/+342
| | | | | | it adds to the stack git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1139793 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3301: remove support for ACL V1 (aka SimpleXML) from Java Broker.Robert Gemmell2011-06-2614-2402/+611
| | | | | | | Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1139792 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3270 A new enumeration is created off a static list for eachRajith Muditha Attapattu2011-06-221-14/+15
| | | | | | invocation of asEnumeration(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1138296 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3270 The protocol version is now read from the Connection objectRajith Muditha Attapattu2011-06-221-4/+5
| | | | | | passed into when creating the ConnectionMetaData. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1138295 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3273 The JMS delivery mode is now used evaluated as a string instead of ↵Rajith Muditha Attapattu2011-06-203-9/+47
| | | | | | | | | | an integer. Added a test case to cover the JIRA. There was an existing test case (testUsingOnMessage) that had delivery mode in it's selector, but for some reason it was commented out. I decided to add a new one as I was not sure why the delivery mode was taken out of the selector in that test case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1137804 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3311 Committing a patch by Siddhesh PoyarekarRajith Muditha Attapattu2011-06-201-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1137717 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3296: update RMIPasswordAuthenticator to authenticate users via ↵Robert Gemmell2011-06-0922-313/+572
| | | | | | | | AuthenticationManager instead of a PrincipalDatabase Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1133781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2158: add length validation into AMQShortString, remove dead code from ↵Robert Gemmell2011-06-077-145/+299
| | | | | | | | AMQDestinations, truncate exception messages with length over 255 before sending them over the wire in AMQChannelException and AMQConnectionException. Applied patch by Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1133037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3219: update handling of QueueEntries to exclude use of entries in the ↵Robert Gemmell2011-06-0710-17/+872
| | | | | | | | intermediate 'dequeued' state, simplify logic in general. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1132959 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3288: stub out the new QMF property from r1132628 to allow the Java ↵Robert Gemmell2011-06-071-0/+6
| | | | | | build to complete git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1132958 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the default value for address.Rajith Muditha Attapattu2011-06-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1131259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3277: AMQCallbackHandler improvements. Refactor AMQCallbackHandler to ↵Robert Gemmell2011-05-269-71/+230
| | | | | | | | accept ConnectionURL in place of AMQProtocolSession (improved information hiding, ease ability to write good unit tests). Remove unused protected constructor from AMQConnection and MockAMQConnection. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1127939 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3261: decrease severity / improve clarity of log messages.Robert Gemmell2011-05-163-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1103899 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3254Rajith Muditha Attapattu2011-05-161-2/+2
| | | | | | | | | The default for routing key should be based on the context. i.e for sending it should be "" and for receiving it should be "#". However we currently don't have a way of handling this properly. Therefore defaulting it to "". git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1103884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3220: Specifying connection url option failover='singlebroker' causes ↵Robert Gemmell2011-05-163-6/+343
| | | | | | | | | the wrong failover policy to be used. Wrote new unit test case and resolved the defect. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1103857 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3260: remove defunct java/management/tools/qpid-cli moduleRobert Gemmell2011-05-1667-6505/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1103727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3260: remove defunct java/managemnt/console moduleRobert Gemmell2011-05-1624-3935/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1103726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3260: remove defunct java/management/agent moduleRobert Gemmell2011-05-1632-3890/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1103725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3260: remove defunct java/management/client moduleRobert Gemmell2011-05-16295-41823/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1103724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3249: Remove incomplete support for authentication at virtualhost level.Robert Gemmell2011-05-127-72/+264
| | | | | | Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1102258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3254Rajith Muditha Attapattu2011-05-111-4/+44
| | | | | | | Added test cases for creating durable subscriptions for various address strings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1102103 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3254Rajith Muditha Attapattu2011-05-111-0/+5
| | | | | | | | Added a check to ensure that durable subscriptions are only created for Topics. Added code to mark a destination durable. If the addressing string explicitly specified durable==false, it will be overriden. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1102102 13f79535-47bb-0310-9956-ffa450edef68