summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding failing test to java profileAndrew Donald Kennedy2010-08-131-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@985263 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Correct handling of sync on 0-10 client session for exceptionsAndrew Donald Kennedy2010-08-139-93/+147
| | | | | | | | | | AMQSession_0_10 is modified to contain a pair of get/set methods for the current exception, using the set method to post the exception to the listener. The sync method will now throw an exception if one has occurred and all other methods that used to call sync()/getCurrentException() can just call sync(0 and get the expected behaviour. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@985262 13f79535-47bb-0310-9956-ffa450edef68
* Make ConnectionTest extend QpidTestCaseAndrew Donald Kennedy2010-08-131-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@985261 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2797: Never set expiry, and respond with 0 alwaysAndrew Donald Kennedy2010-08-131-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@985260 13f79535-47bb-0310-9956-ffa450edef68
* Tidy up various badly named testsAndrew Donald Kennedy2010-08-139-59/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@985259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2799: Convert address with underscores for temp queue nameAndrew Donald Kennedy2010-08-133-79/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@985202 13f79535-47bb-0310-9956-ffa450edef68
* Remove the accessBroker method as it is unusedAndrew Donald Kennedy2010-08-131-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@985200 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2797: Change expiry to a boolean correctly representing intent to closeAndrew Donald Kennedy2010-08-133-15/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@985199 13f79535-47bb-0310-9956-ffa450edef68
* Exclude testResumeNonemptyReplay from ConnectionTest for all Java profilesAndrew Donald Kennedy2010-08-111-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@984334 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2775: Exclude the FirewallConfigTest from InVM test runs, the tests ↵Robert Gemmell2010-08-091-0/+3
| | | | | | no-op because the Firewall plugin only operates on TCP connections git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@983806 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2775: use the JMX interface to reload the configuration synchronously, ↵Robert Gemmell2010-08-092-35/+27
| | | | | | helping to avoid situations where the timeout is insufficient for the SIGHUP process to complete git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@983805 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2787: Add test for persistence of Conflation/LastValue queuesRobert Gemmell2010-08-094-38/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@983571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2783: Eliminate the UnknownMessageTypeException from ↵Robert Gemmell2010-08-082-47/+1
| | | | | | | | | o.a.q.server.protocol package Appled patch from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@983441 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2787: split existing test into component test methods regarding ↵Robert Gemmell2010-08-063-172/+425
| | | | | | persistence/recovery of queues, exchanges, messages,bindings. Add additional tests around removal of persisted items. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@982988 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2787: Move QpidTestCase to Common test module so that any test can ↵Robert Gemmell2010-08-069-15/+29
| | | | | | | | | inherit from it, allowing exclusions to be applied. Add ability to gather the class name of the message store associated with the test profile in use. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@982986 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2786Rajith Muditha Attapattu2010-08-051-17/+31
| | | | | | | | Removed the checking for dest style and instead added support for providing the address name and subject is the exchange name and routing key is null. Otherwise we would have to modify the hashcode, equals methods etc to take the dest style into account. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@982652 13f79535-47bb-0310-9956-ffa450edef68
* Don't request non-zero session expiration (as resume is not supported at ↵Gordon Sim2010-08-051-1/+1
| | | | | | this time) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@982517 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2786Rajith Muditha Attapattu2010-08-041-1/+13
| | | | | | | | | | | This fix is only for creating a durable subscription without a selector. When creating a durable subscription with a selector a different code path is used. The patch in QPID-2418 attempts to fix the code duplication among other things. Once that patch is applied I may have to readjust the code. I will be adding a test case to DurableSubscriptionTest.java once the code is sorted out. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@982381 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2744: Property name check in wrong placeAndrew Donald Kennedy2010-08-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@981896 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2718: Update the common.bnd version to 0.7.0Robert Gemmell2010-08-011-1/+1
| | | | | | | Applied patch from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@981269 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2717: Upgrade the bnd to version 0.0.384Robert Gemmell2010-08-013-1/+1
| | | | | | | Applied patch from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@981268 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2744: Unify 0-10 and 0-8 error messages for invalid object types in ↵Andrew Donald Kennedy2010-08-016-13/+35
| | | | | | properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@981231 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2619: Capture broker pid on QPID_WORKAndrew Donald Kennedy2010-07-311-1/+1
| | | | | | | Applied patch from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@981106 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2642: Replace bitwise and with short-circuit and operatorAndrew Donald Kennedy2010-07-311-1/+1
| | | | | | | Applied patch from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@981105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2668: Improve PlainPasswordPrincipalDatabase lock managementAndrew Donald Kennedy2010-07-311-26/+15
| | | | | | | Applied patch from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@981103 13f79535-47bb-0310-9956-ffa450edef68
* Removed an import (related to a work-in-progress) that got accidently ↵Rajith Muditha Attapattu2010-07-291-106/+115
| | | | | | included in the AddressHelper.java git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@980287 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2774Rajith Muditha Attapattu2010-07-281-2/+3
| | | | | | | | If the exchange type is not specified, then it is set to null when parsing the string. If the exchange needs to be created, it's set to 'topic' if the exchange type is null. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@980259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2738Rajith Muditha Attapattu2010-07-281-3/+19
| | | | | | | | | | The pre-aquire flag is now computed differently for each dest syntax type. For BURL the exchange type is also queried if the Destination is not an instance of AMQTopic. For ADDR, if the browse mode is set, then pre-acquire is set to false irrespective of the node type. We still continue to use pre-acquire=false if selectors are present. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@980232 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2766Rajith Muditha Attapattu2010-07-281-1/+5
| | | | | | | My initial checkin was not entirely correct as it does violate the JMS spec for property type conversion, since it will now first convert all property types (except Double) to a String and then on to a Double. Only Floats, Doubles, and Strings are allowed to be read back as a Double value, everything else should throw a MessageFormatException. Thx Robbie for pointing this out. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@980143 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Factor out exception handlingAndrew Donald Kennedy2010-07-281-77/+31
| | | | | | | | Created a proxy method that calls exception() which takes a thrown AMQException and gets the error code if it can be translated and creates the error message description from the exception message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@980020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2763: Record old store class name.Andrew Donald Kennedy2010-07-281-1/+8
| | | | | | | This fixes the MemoryMessageStoreLoggingTest where a check is made for the broker store class name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979999 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2766Rajith Muditha Attapattu2010-07-281-1/+1
| | | | | | | Instead of doing Double.valueOf(Float.valueOf(value)) , I changed it to use Double.valueOf(value). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979933 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2763: Alerting tests do not need to create a message storeAndrew Donald Kennedy2010-07-271-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979767 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2744: Make JMSPropertiesTest deal with both types of error messagesAndrew Donald Kennedy2010-07-261-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979316 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2659: Add AMQStoreException to message storesAndrew Donald Kennedy2010-07-2614-189/+286
| | | | | | | This is a sub-class of AMQInternalException, which encapsulates error code 541, or INTERNAL_ERROR. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979315 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2675: Remove obsolete QpidExceptionAndrew Donald Kennedy2010-07-2621-336/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979294 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2661: Throw a NOT_IMPLEMENTED AMQException for 0-10 messagesAndrew Donald Kennedy2010-07-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2660: Remove AMQFrameDecodingExceptionAndrew Donald Kennedy2010-07-262-25/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2760: Only client 0-10 session sync should throw any exceptionsAndrew Donald Kennedy2010-07-263-9/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979290 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Remove unnecessary ssn.processed() callAndrew Donald Kennedy2010-07-261-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979289 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Perform session closed checks on executionExceptionAndrew Donald Kennedy2010-07-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979288 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2586: Give Client 0-10 close semantics not detachAndrew Donald Kennedy2010-07-262-6/+8
| | | | | | | | Added a sessionRequestTimeout handler that sets expiry and responds with a sessionTimeout, and makes sessionTimeout set expiry appropriately also. On attach uses the expiry provided, rather than forcing a value of 0. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979283 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2758: Use a FutureTask for DNS lookup with timeoutAndrew Donald Kennedy2010-07-262-33/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979213 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2697: Print AMQConnectionURL optionsAndrew Donald Kennedy2010-07-262-5/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979212 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2757: Remove double checked lockingAndrew Donald Kennedy2010-07-261-14/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979208 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2744: Make 0-10 code path throw a MessageFormatException on null ↵Andrew Donald Kennedy2010-07-262-14/+7
| | | | | | setObjectProperty git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@979201 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2752Rajith Muditha Attapattu2010-07-221-0/+2
| | | | | | | | Added the LVQTest to the java excludes list. Eventually we should have a single test from the JMS client side that will work with both the Java and C++ brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966764 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2752Rajith Muditha Attapattu2010-07-224-17/+84
| | | | | | | | | Added a test case to create and LVQ from the JMS client using the addressing syntax. Fixed a few bugs in QpidQueueOptions.java. Modified the MapAccessor to allow any value to be retrieved as a String. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966763 13f79535-47bb-0310-9956-ffa450edef68
* Sicne we have removed the old examples, this verify file is not needed any more.Rajith Muditha Attapattu2010-07-221-64/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966755 13f79535-47bb-0310-9956-ffa450edef68
* Added a log message to print out the negotiated AMQP version.Rajith Muditha Attapattu2010-07-221-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966752 13f79535-47bb-0310-9956-ffa450edef68