summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src
Commit message (Collapse)AuthorAgeFilesLines
* Tidy up various badly named testsAndrew Donald Kennedy2010-08-132-1/+35
| | | | 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-131-54/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@985202 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: Move QpidTestCase to Common test module so that any test can ↵Robert Gemmell2010-08-061-120/+0
| | | | | | | | | 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-2744: Unify 0-10 and 0-8 error messages for invalid object types in ↵Andrew Donald Kennedy2010-08-011-2/+13
| | | | | | properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@981231 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-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-261-13/+14
| | | | | | | 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-2744: Make 0-10 code path throw a MessageFormatException on null ↵Andrew Donald Kennedy2010-07-261-13/+2
| | | | | | 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/+64
| | | | | | | | | 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
* QPID-2657: Make Exceptions propagate to client for 0-10Andrew Donald Kennedy2010-07-224-39/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2744 : Add tests for correct exception when null object is set via ↵Martin Ritchie2010-07-221-0/+28
| | | | | | setObjectProperty in Field Table and via JMS Properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2682: Move slow consumer disconnection mechanism to the brokerAndrew Donald Kennedy2010-07-226-0/+868
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2738Rajith Muditha Attapattu2010-07-211-0/+40
| | | | | | | | 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@966284 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2735Rajith Muditha Attapattu2010-07-171-0/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@964998 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2736Rajith Muditha Attapattu2010-07-161-0/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@964984 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2731: enable getting/setting queue exclusivity via JMXRobert Gemmell2010-07-162-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@964825 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@961869 13f79535-47bb-0310-9956-ffa450edef68
* Excluded the test from the Java test profiles and remove the unnessecery ↵Rajith Muditha Attapattu2010-07-021-22/+0
| | | | | | profile check from the code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@960048 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2696Rajith Muditha Attapattu2010-06-251-1/+48
| | | | | | | | | Modified the PropertiesFileInitialContextFactory to allow the new addressing strings to be specified in the jndi properties file. Downgraded some "info" log messages in AMQDestination to "debug". Added a test cases to cover the issue reported in the JIRA. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@957942 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2654: Add Actor logging to the ACL pluginRobert Gemmell2010-06-171-0/+174
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2662: Use actual SocketAddress instead of the String representationRobert Gemmell2010-06-171-9/+9
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955617 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2625 : Moved Logging generation to moudule.xml to allow plugins to ↵Martin Ritchie2010-06-141-2/+1
| | | | | | | | | | | | | | | | | | utilise the same functionality. To enable generation for your plugin just add : <target name="precompile" depends="gen_logging"/> to your build.xml Logging is now defined in a X_logmessage.properties file. Where X is used to make the XMessages.java class. Also updated all existing usages to remove the 3 digit prefix that wasn't adding any info. Updated ConfigStore and Transaction Log to use named properties rather than numeric values. If we are going to continue with <3 alpha>-<4 numeric> ids for messages then we'll need to have some registry to prevent clases. Perhaps it is simpler to relax this and require a plugin creator to provide a unique identifier for their messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954432 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2650: Make use of connections with auto-commit transactions disabled ↵Robert Gemmell2010-06-091-2/+2
| | | | | | | | | | | for metadata, content, and queue entries. Additionally, make remaining uses of auto-commit enabled connections more visible and remove the erroneous explicit commits on these. Close completed Statements after use. Add/correct various related debug log statements. Stop adding vhost name to all environment paths, now just the default value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@952930 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2650: make PST check the recovered messages more precisely, and more ↵Robert Gemmell2010-06-081-2/+10
| | | | | | informative about the unexpected message it recieves when it fails git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@952694 13f79535-47bb-0310-9956-ffa450edef68
* Adjusted the capacity test case, verify the change made in rev 949083.Rajith Muditha Attapattu2010-06-071-7/+16
| | | | | | | This is related to QPID-2496 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@952451 13f79535-47bb-0310-9956-ffa450edef68
* For testOderingWithSyncConsumer I added a timeout for the individual ↵Rajith Muditha Attapattu2010-06-071-3/+12
| | | | | | | | | receive() methods, and another timeout for the while loop to prevent the test from hanging in case of an error. For testOderingWithAsyncConsumer I increased the timeout to 8 secs as there have been occasional failures with the test not being completed inside 5 secs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@952430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2599: restore log4j settings files which are not named log4j.xml or ↵Robert Gemmell2010-06-041-0/+28
| | | | | | log4j.properties and so need not be removed completely since they wont be automatically applied by log4j if found on the classpath like the others will git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@951419 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : External broker profile actually needs an InVM broker created to ↵Martin Ritchie2010-06-033-10/+59
| | | | | | | | | | process the configuration. As we don't automatically create the AppRegistry any more we need to explicitly create an InVM broker for these two tests. It may be necessary to move the IBBC creation from AbstractTestLogging to QBTC for external profile runs. However, testing to date has only shown these two tests failing due to missing AR. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@951170 13f79535-47bb-0310-9956-ffa450edef68
* Add the ASF License to various classes currently missing itRobert Gemmell2010-06-021-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950740 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2639: copy the old QpidTestCase@950614 to the new QpidBrokerTestCase, ↵Robert Gemmell2010-06-021-0/+1345
| | | | | | removing the exclusion features now handled by the new QpidTestCase git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2639: add ASF licence and correct Logger class to updated QpidTestCase, ↵Robert Gemmell2010-06-022-1346/+21
| | | | | | delete QpidBrokerTestCase such that the old QpidTestCase as at r950614 can be copied into its place with updates to retain history. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2632 : A couple of tests in Systests are actually InVM only tests but ↵Martin Ritchie2010-06-024-42/+39
| | | | | | | | | | are not marked as so. They only work InVM but require a client. These should be either updated to be broker tests and not need the client or updated to not relay on the InVM transport. Also updated the code in old_test to be in line with these changes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950640 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2639Rajith Muditha Attapattu2010-06-0284-169/+179
| | | | | | | Changed all existing test cases that extened QpidTestCase to QpidBrokerTestCase. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950617 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2639Rajith Muditha Attapattu2010-06-022-1322/+1348
| | | | | | | | Renamed the old QpidTestCase to QpidBrokerTestCase Created a new class QpidTestCase and moved the test exclusion logic to this class. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950615 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2569: Implement the SimpleXML as an OSGi pluginRobert Gemmell2010-05-311-7/+2
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949784 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2606: Access Control ModificationsRobert Gemmell2010-05-3112-550/+1536
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581: Update configuration manager to allow multiple plugins to handle ↵Robert Gemmell2010-05-314-15/+15
| | | | | | | | | the same configuration Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949779 13f79535-47bb-0310-9956-ffa450edef68
* Make PersistentStoreTest.testForcibleStartStopMidTransaction() do a ↵Robert Gemmell2010-05-311-2/+4
| | | | | | syncchronous op before killing the broker to ensure all the additional messages reach the broker before it is killed. Update message numbering to be based from 1 to aid log clarity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949735 13f79535-47bb-0310-9956-ffa450edef68
* Reduce the large number of persistent messages sent by DupsOkTest from 4999 ↵Robert Gemmell2010-05-251-2/+1
| | | | | | to 100 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@948038 13f79535-47bb-0310-9956-ffa450edef68
* Improved the asserts so we can see from the message what the failure ↵Martin Ritchie2010-05-202-17/+10
| | | | | | condition was git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@946670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2622 : Add Closeable interface and update Broker components to use it ↵Martin Ritchie2010-05-201-1/+2
| | | | | | and add close method in ApplicationRegistry to safely perform the close. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@946667 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the feature described in QPID-2515Rajith Muditha Attapattu2010-05-181-6/+63
| | | | | | | However a few issues needs to be ironed out - see the JIRA for these issues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945945 13f79535-47bb-0310-9956-ffa450edef68
* Modified the test slightly to make it work against the 0-10 code path.Rajith Muditha Attapattu2010-05-181-1/+10
| | | | | | | Verified that it works against the C++ broker and the Java broker (both 0-8 and 0-10 codepaths). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945789 13f79535-47bb-0310-9956-ffa450edef68
* This test is failed due to the checkin made in rev 942293 as a fix for ↵Rajith Muditha Attapattu2010-05-181-2/+1
| | | | | | | | | | | | QPID-2559. Since (from rev 942293) credit is not sent if the dispatcher is null, for consumerB, credit is not sent until it invokes receive(). However it only tries to receive after consumerA has received 2 messages. Since AUTO-ACK is used, completions are sent immediately which results in A receiving credit, hence receiving the next 2 messages as well. I changed the test to create consumer A & B using the same session. This ensures that both consumers gets a chance to request credit before they consume any messages. This modification does not alter the intent of the original test case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945444 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2599Rajith Muditha Attapattu2010-05-111-28/+0
| | | | | | | Removing all log4j xml and property files from the code base, except for the ones in test-profile folder and broker/etc folder. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Add initial test for SlowConsumersMartin Ritchie2010-05-071-1/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942106 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2583 : Update tests to correctly throw ConfigurationException where ↵Martin Ritchie2010-05-074-2/+15
| | | | | | requried and to correctly configure configuration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2582 : Print stack traces if the registry fails to clean up as a result ↵Martin Ritchie2010-05-071-1/+10
| | | | | | of a failed InVM broker startup git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942104 13f79535-47bb-0310-9956-ffa450edef68