summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@966752 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2658: Adding 0-10 profile excludes for javaAndrew Donald Kennedy2010-07-2210-52/+123
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Make Exceptions propagate to client for 0-10Andrew Donald Kennedy2010-07-2216-186/+206
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966722 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup M2.x merge codeMartin Ritchie2010-07-221-11/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2744 : Add tests for correct exception when null object is set via ↵Martin Ritchie2010-07-224-2/+43
| | | | | | setObjectProperty in Field Table and via JMS Properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2740 : Update to use backupFilesToPath for non-compressed files.Martin Ritchie2010-07-221-18/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2739 : Updated deleteFile to add the backupFilesToPath for delete ↵Martin Ritchie2010-07-221-3/+36
| | | | | | requests if it is set. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2682: Move slow consumer disconnection mechanism to the brokerAndrew Donald Kennedy2010-07-2226-195/+77
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2679: cache queues that are configured on a per-virtualhost basisAndrew Donald Kennedy2010-07-223-16/+122
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966634 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2738Rajith Muditha Attapattu2010-07-214-24/+50
| | | | | | | | You could now susbcribe to any queue using browse mode and use a regular MessageConsumer (even with a MessageListener) instead of having to use a Queue Browser. Ex. 'my-ring-queue; {mode: browse}' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966284 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2731: ensure the MessageStoreTest test store for Derby is created ↵Robert Gemmell2010-07-211-1/+2
| | | | | | within the QPID_WORK directory git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966153 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2733Rajith Muditha Attapattu2010-07-201-0/+2
| | | | | | | | As the initial step, all subscription queues are marked exclusive and auto-delete. When support for reliability is added, the reliability mode will be taken into account. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@965713 13f79535-47bb-0310-9956-ffa450edef68
* remove unused library file with old OSGI version (contained in felix library)Andrew Donald Kennedy2010-07-191-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@965425 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2735Rajith Muditha Attapattu2010-07-172-4/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964998 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2736Rajith Muditha Attapattu2010-07-164-47/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The session.createQueue and session.createTopic methods will behave as follows. session.createQueue =================== 1. If just a queue name is passed, 1.1 If the destination syntax is BURL, a queue by that name will be created and bound to the amq.direct exchange using the queue name as the binding key. If published using this destination, then the message will be sent to amq.direct with routing key set to the queue name. 1.2 If destination syntax is ADDR, a queue is created by that name. If published using this exchange then the message will be sent to the defualt exchange (nameless exchange) with routing key set to the queue name. 2. If an address string or binding url is passed, it will be passed accordingly. session.createTopic =================== 1. If just a topic name is passed, 1.1 If destination syntax is ADDR, a temp queue is created and bound to the amq.topic with the topic name as binding key. If published using this destination, then the message will be sent to amq.topic with the topic name set to routing key. The topic name will also be set as "qpid.subject" in the outgoing message. 1.2 Same as above except there will be no subject set. 2. If an address string or binding url is passed, it will be passed accordingly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964984 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2731, QPID-2741, QPID-2742: Enable the MessageStoreTest to run for the ↵Robert Gemmell2010-07-162-43/+72
| | | | | | DerbyMessageStore. Test update of queue exclusivity. Apply various fixes to allowtest to pass (correct exchange count checks, flush messages to the store, delete store directory properly, check for the proper value for selector argument, add ability to unregister virtualhosts from the registry) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964830 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2742: Gather exchange type name properly, and remove the extraneous ↵Robert Gemmell2010-07-161-3/+3
| | | | | | statement execution and move its closure after use use the output ResultSet. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2741: issue the shutdown command to Derby during close()Robert Gemmell2010-07-161-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964827 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2731: enable getting/setting queue exclusivity via JMXRobert Gemmell2010-07-1616-8/+155
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2731: enable the jmx management console to set boolean attribute valuesRobert Gemmell2010-07-162-1/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964824 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2526 : Applied patch to module.xml that quotes LogMessage files for ↵Martin Ritchie2010-07-141-2/+2
| | | | | | processing in GenerateLogMessages, allowing builds with spaces in the full path to work git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964073 13f79535-47bb-0310-9956-ffa450edef68
* Exclude the Java broker InfoPlugin tests from the CPP profilesRobert Gemmell2010-07-121-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963232 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2726: add custom PlainPasswordCallback to enable PLAIN auth against ↵Robert Gemmell2010-07-102-16/+88
| | | | | | custom PrincipalDatabase's which cant actually return password data, and revert r961923 changes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@962870 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2726: move the password verification process to an easily overridable ↵Robert Gemmell2010-07-081-2/+15
| | | | | | protected method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961923 13f79535-47bb-0310-9956-ffa450edef68
* Contains test cases for QPID-2722 and QPID-2723Rajith Muditha Attapattu2010-07-081-48/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961869 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2723Rajith Muditha Attapattu2010-07-084-14/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2722Rajith Muditha Attapattu2010-07-081-5/+19
| | | | | | | The producer now checks for the presense of qpid.subject in the header and uses it as the routing-key if sending to an exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961862 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2719Rajith Muditha Attapattu2010-07-082-6/+17
| | | | | | | | The SSL receiver now logs the error and also reports it up the stack. It also notifies the sender not to wait any longer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2686: Update Ant doc taskRobert Gemmell2010-07-083-3/+44
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961820 13f79535-47bb-0310-9956-ffa450edef68
* Recreated client certificates as the previous once were expired.Rajith Muditha Attapattu2010-07-066-40/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960767 13f79535-47bb-0310-9956-ffa450edef68