summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@1086041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3165: ensure all subscriptions are checked before making the decision ↵Robert Gemmell2011-03-271-22/+69
| | | | | | on whether to stop delivering. Use a boolean instead of doing a 0/1 toggle and update variables to generally clarify logic. Use an int instead of a long for the iteration decrementing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086040 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3166: add system test using multiple batch transacted producers with ↵Robert Gemmell2011-03-272-2/+250
| | | | | | multiple consumers using unique selectors. Exposes issue detailed in QPID-3165. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086039 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3156: Use MapAccessor to retrieve Boolean propertiesAndrew Donald Kennedy2011-03-241-15/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1085187 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3156Rajith Muditha Attapattu2011-03-231-1/+8
| | | | | | | | The address parser treats 'true' as a string while it treats 'True' as a boolean. Therefore I modified the AddressHelper class to expect both forms. The MapAccessor class used for the rest of code already handles this case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2930Rajith Muditha Attapattu2011-03-232-0/+4
| | | | | | | Excluding the testGetPropertyNames test case until we make a decision on whether to apply the same fix for 0-8 codepath. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084420 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2930Rajith Muditha Attapattu2011-03-221-1/+1
| | | | | | | | Removed the explicit use of addressing in the test case to enable it to be run under any profile. This seems better than excluding it from the default and 0.8 profiles as the test doesn't really have anything to do with addressing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084414 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2930Rajith Muditha Attapattu2011-03-221-3/+13
| | | | | | | | | I had checked in an incomplete test case with rev 1082719 I had made certain changes to the test case for testing another potential fix, but forgot to revert it back to the original before committing. Re applied the changes to adequately test the issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084048 13f79535-47bb-0310-9956-ffa450edef68
* Added a test case for the issue highlighted by QPID-2930Rajith Muditha Attapattu2011-03-171-0/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082719 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2959Rajith Muditha Attapattu2011-03-173-6/+16
| | | | | | | | | Added a temp hack to get the testReplyToWithNamelessExchange passing with the java.0.10 test profile. In doing so I realized that "qpid.declare_exchanges" has no affect on the producer side. Therefore I added a check in BasicMessageProducer_0_10.java to check this flag before issuing an exchange_declare. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082715 13f79535-47bb-0310-9956-ffa450edef68
* Added testReplyToWithNamelessExchange as a test case for QPID-2959Rajith Muditha Attapattu2011-03-171-33/+32
| | | | | | | | | | | | Added testReplyToWithCustomExchange as a test case for QPID-3011 Removed testAddressBasedReplyTo as the above test cases cover it adequately. Currently the testReplyToWithNamelessExchange fails with the java.0.10 test profile. This is due to the default being BURL and the replyTo address is evaluated as a BURL and as part of the logic an exchange declare is being set. The C++ broker does seem to ignore the exchange declare of a known type (the nameless exchange in this case), while the java broker throws an exception. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082709 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3142: enable tests to run against a copy of an existing work directoryRobert Gemmell2011-03-153-2/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081858 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3109Rajith Muditha Attapattu2011-03-141-0/+16
| | | | | | | Added a test case to cover a producer created with a null destination (where a valid destination is supplied each time send is invoked). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3143Rajith Muditha Attapattu2011-03-142-1/+15
| | | | | | | | | | | Removed the line which sets the create option to 'always'. Please note that the default create option is set to 'never'. Therefore if just a queue name is specified the client will throw an exception if that queue is not present in the broker. However this check will only be performed when a producer or consumer is created using that destination. Also modified the existing test case to verify the default and the explicit create case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081460 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-111-50/+46
| | | | | | | Refactored the test a bit and added a test for default reliability modes for Topics and Queues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1080417 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-091-0/+91
| | | | | | | | | | Adding a test case for the reliability options. It verifies that, 1. The correct accept modes are set for unreliable and at-least-once. 2. Exceptions are thrown for unsupported unreliable modes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079986 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-082-2/+12
| | | | | | | | The reliability mode is now used on the producer side to determine replay. Any messages transfers sent to a destination marked unreliable will not be added to the replay buffer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3127: Set accept mode to NONE for NO_ACKNOWLEDGEAndrew Donald Kennedy2011-03-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079402 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3125: add target to produce module-level JUnit test reportsRobert Gemmell2011-03-082-0/+13
| | | | | | | Applied patch from Weston M. Price git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3109: Change close throws clause to match parent classAndrew Donald Kennedy2011-03-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2984: Add statistics generation for broker message deliveryAndrew Donald Kennedy2011-03-0832-60/+2392
| | | | | | Port of QPID-2932 changes from 0.5.x-dev branch to trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079043 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2985: Add producer configurable transaction timeoutsAndrew Donald Kennedy2011-03-0826-106/+1145
| | | | | | Port of QPID-2864 changes from 0.5.x-dev branch to trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3070: Do not send SessionCompleted with empty rangeAndrew Donald Kennedy2011-03-081-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-072-4/+19
| | | | | | | | Set the default reliability modes for Topics and Queues. The code now throws an exception if at-least-once is specified for Topics as we don't support it properly atm. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3109Rajith Muditha Attapattu2011-03-072-3/+5
| | | | | | | | Added a null check for the destination in both MessageConsumer and MessageProducer close methods. According to the JMS spec the MessageProducer can be created with a null destination and still be used properly by specifying a destination on the send. Therefore this null check especially important on the message producer side. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078961 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: increment version numbers from 0.9 to 0.11Robert Gemmell2011-03-073-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078729 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Update trunk versions to 0.11Andrew Stitcher2011-03-044-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078098 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2084, QPID-3111: Enable DynamicQueueExchangeCreateTest for 0-10Andrew Donald Kennedy2011-03-041-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1077990 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3114: Record the owner session for exclusive queues in 0-10Andrew Donald Kennedy2011-03-041-12/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1077989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3113: Exclude ChannelCloseTest from 0-10 profiles onlyAndrew Donald Kennedy2011-03-042-58/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1077988 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3111: Check for 404 error code explicitly in DynamicQueueExchangeCreateTestAndrew Donald Kennedy2011-03-041-10/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1077953 13f79535-47bb-0310-9956-ffa450edef68