summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2822: add ASF licence to SCD log message property filesRobert Gemmell2010-08-272-2/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@990147 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2822: move documentation of the log message property files from the ↵Robert Gemmell2010-08-2712-2291/+0
| | | | | | | | | files themselves to a Docbook format file for inclusion in a future developer docs book Applied patches from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@990146 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2802: move Log4jMessageLogger and update its test to account for use of ↵Robert Gemmell2010-08-263-56/+85
| | | | | | per-message log heirarchies rather than a single default Logger git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@989735 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2802: Add support for a status-logging hierarchy, such that the ↵Robert Gemmell2010-08-2631-465/+254
| | | | | | Log4jMessageLogger may use this to allow individual on/off toggling of each status message. Combine the RootLogger and RawLogger interfaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@989734 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2809Rajith Muditha Attapattu2010-08-201-1/+1
| | | | | | | Forgot to checkin this with my intial commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987549 13f79535-47bb-0310-9956-ffa450edef68
* Added a test case for QPID-2809 to ensure that if the same destination is ↵Rajith Muditha Attapattu2010-08-201-0/+36
| | | | | | used in topics, each subscription will get it's own queue unless a named queue is used. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987507 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2809Rajith Muditha Attapattu2010-08-203-52/+150
| | | | | | | This is also a workaround for QPID-2808 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987505 13f79535-47bb-0310-9956-ffa450edef68
* Added -c count parameter - exits after reading c messages.Jonathan Robie2010-08-191-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987303 13f79535-47bb-0310-9956-ffa450edef68
* Adding failing test to java profileAndrew Donald Kennedy2010-08-131-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@979283 13f79535-47bb-0310-9956-ffa450edef68