summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@1102102 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3254Rajith Muditha Attapattu2011-05-113-15/+46
| | | | | | | | | Added logic to resolve the address to ensure corner cases such addresses without subjects are handled properly. The address resolotuion code will determine the defaults for subject (and routing key) by querying the name specified in the address. I also added null checks for getRoutingKey() method and getTopicName() method in both AMQTopic and AMQAnyDestination classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1102002 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3207Rajith Muditha Attapattu2011-05-111-1/+1
| | | | | | | | Rolling back the change until we fix the deadlock issue identified in QPID-3216 Also investigate the other test failure to see if there are any other issues besides the deadlock problem. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1101861 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2759: Remove defunct jmxremote.access file user management rights ↵Robert Gemmell2011-05-1015-604/+190
| | | | | | | | | | | | | | manipulation abilities. 1) Removed remaining jmx access functionality. 2) Removed references to security/jmx/access from all existing configuration files. 3) Made ServerConfiguration#validateConfiguration reject config files that still contain the security/jmx/access element in order to promote good end-user understanding of configuration. For JMX: 1) setRights now throws UnsupportedOperationException with message. 2) createUser(string,string,bool,bool,bool) throws UnsupportedOperationException iff any of the bool args are true i.e. the user attempts to give a user access JMX rights 3) Deprecated createUser(string,string,bool,bool,bool) in favour of new two arg form createUser(string,string) 4) viewUsers changes to always return admin, read, and write items as false. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1101483 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add settings file to allow specifying qpid specific settings, allow ↵Robert Gemmell2011-05-093-5/+12
| | | | | | configuring 'remote' repo location, tidy up some use of literal values git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1100952 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3245Rajith Muditha Attapattu2011-05-041-0/+5
| | | | | | | The ack fusher task is now cancelled when the session is closed due to an error received from the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1099634 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3233Rajith Muditha Attapattu2011-05-035-9/+68
| | | | | | | | If the underlying AMQP session gets closed, the JMS session is now notified along with details that caused the session closure. The JMS Session will throw an exception (with an error code and details) when a user accesses the closed session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1099288 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3214Rajith Muditha Attapattu2011-05-031-3/+1
| | | | | | | | | Committing the suggested fix by Gordon Sim. All though the currentException may change by the time we call connection.exceptionReceived() it's not really a big issue. Chance of getting two successive sessions exceptions is rare if not none at all. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1099060 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2985: remove duplicate logic to begin store transaction, which seems to ↵Robert Gemmell2011-04-222-13/+1
| | | | | | have been merged back into place after a previous removal git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1095942 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2984: increment management API version to allow distinguishing addition ↵Robert Gemmell2011-04-214-48/+54
| | | | | | of the new functionality git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1095651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3213: add the instructions as a 'help' targetRobert Gemmell2011-04-191-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1095059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3213: add ant+ivy task for uploading the client+common mavent artifacts ↵Robert Gemmell2011-04-194-0/+148
| | | | | | to a staging repo in the ASF Nexus instance git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1095038 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3142: remove incorrectly added wrapping check on alternative cleanup optionRobert Gemmell2011-04-181-8/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1094445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3207Rajith Muditha Attapattu2011-04-141-1/+1
| | | | | | | Changed the value of sendClose to "true" as we need to send message-cancel if the session has not encountered any errors. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1092510 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3205Rajith Muditha Attapattu2011-04-121-1/+29
| | | | | | | Added the nessacery null checks to avoid a NPE due to missing delivery props or headers all together. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1091507 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3194Rajith Muditha Attapattu2011-04-081-1/+1
| | | | | | | Changed the keyword from "alt-exchange" to "alternate-exchange". git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1090422 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3194Rajith Muditha Attapattu2011-04-081-1/+1
| | | | | | | Added logic to use the alternate exchange when issuing the queue-declare. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1090421 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3182Rajith Muditha Attapattu2011-04-061-28/+36
| | | | | | | | | Added a test case to cover the above issue. This class can use a bit of refactoring and some consolidation of test cases. Hoping to do that soon. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1089554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3182Rajith Muditha Attapattu2011-04-062-3/+6
| | | | | | | A queue-bind is now issue when creating a queue under node props or for the subscription queue under link props. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1089552 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3181: addition of new task 'eclipse' to the Java build system to ↵Robert Gemmell2011-04-053-0/+103
| | | | | | | | support the creation of .classpath and .project files for the Eclipse IDE. Relies on http://ant-eclipse.sourceforge.net/ Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1088946 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3184: Amend ant build to produce cobertura coverage.xmlRobert Gemmell2011-04-052-4/+12
| | | | | | Applied patch from Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1088934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3183: some minor improvements to the recently seperated QueueRunner ↵Robert Gemmell2011-04-041-4/+9
| | | | | | class, based on review feedback from Keith Wall for QPID-3167 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1088639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3164: correct the occasionally failing tests ↵Robert Gemmell2011-04-041-77/+23
| | | | | | | | testSubscriptionSpecificRequeueForQueueWithMultipleSubscriptions and testSubscriptionSpecificRequeueForQueueWithMultipleSubscriptions. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1088562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3164 - Remove dead methods SimpleAMQQueue.requeue(QueueEntryImpl, ↵Robert Gemmell2011-04-044-39/+0
| | | | | | | | Subscription) and QueueEntryImpl.requeue(QueueEntryImp, Subscription subscription). SimpleAMQQueue.requeue(QueueEntryImpl, Subscription) was last used from SubscriptionImpl.java, but this was removed on 2009-10-25. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1088561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3177: Add missing call to connection resumeAndrew Donald Kennedy2011-04-011-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1087890 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3158 - Defect in the CRAM-MD5-HEX mechanism - CRAMMD5HexInitialiser ↵Robert Gemmell2011-03-315-11/+244
| | | | | | | | fails to pad bytes in range 0A-0F with leading zero. Add testcase to test CRAM-MD5-HEX mechanism. Guard against nulls in SASL SaslServerFactory.getMechanismNames implementations to avoid dependency on mechanism registration order. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1087249 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3167: add a unit test of SimpleAMQQueue#processQueue to check delivery ↵Robert Gemmell2011-03-3023-77/+264
| | | | | | when subscriptions with unique selectors are in use git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1087000 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add missing ASF licenceRobert Gemmell2011-03-291-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1086769 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3166: updates based on review feedback from Keith WallRobert Gemmell2011-03-281-25/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1086169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3162: move unregistration of ServerConnections from the ↵Robert Gemmell2011-03-271-3/+11
| | | | | | ConnectionRegistry into the setState() method to ensure it occurs in all cases. Also move registration into setState(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1086041 13f79535-47bb-0310-9956-ffa450edef68