summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | QPID-6192: [Java Broker] Add supporting test case guarding case when ↵Keith Wall2014-10-291-0/+101
| | | | | | | | | | | | failover occurs when busy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1635076 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6175 : [Java Broker] allow maximum message size to be restrictedRobert Godfrey2014-10-211-0/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633466 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6165 : [Java Broker] Allow the number of open connections to be limited ↵Robert Godfrey2014-10-171-3/+7
| | | | | | | | | | | | on a per port basis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632655 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6164 : Add synchronous publish capability to 0-8/9/9-1Robert Godfrey2014-10-171-0/+131
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632585 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6125 : [Java Broker] AMQP 0-8/9/9-1 protocol handler refactoringRobert Godfrey2014-10-174-100/+43
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632583 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6162 : Add authentication providers which store user data in the config ↵Robert Godfrey2014-10-174-114/+50
| | | | | | | | | | | | file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632576 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6161 : [Java Broker] add virtual host aliasesRobert Godfrey2014-10-173-2/+44
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632553 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6156 : [Java] Prevent downgrade to SSLv3 on secure connectionsRobert Godfrey2014-10-161-2/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632285 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6126: Add ability to validate CO attributes on creation, transit COs ↵Alex Rudyy2014-10-011-3/+3
| | | | | | | | | | | | into ERRORED state if exception occurs on recovery, allow ERRORED CO restart after remediation of configuration problem git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1628867 13f79535-47bb-0310-9956-ffa450edef68
* | NO-JIRA: [Java Broker Tests] Fix for occasionally failing ↵Keith Wall2014-09-251-0/+10
| | | | | | | | | | | | ConnectionManagementTest on 0-10 path git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627472 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3678 : [Java Client] Add support for setting link capacity to zero in ↵Robert Godfrey2014-09-231-0/+39
| | | | | | | | | | | | ADDR addresses git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626995 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6088 : [Java Client] reenable logging testRobert Godfrey2014-09-081-9/+9
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1623432 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6088 : [Java Client] AMQP 0-8/8/9-1 prefetch should auto expand when ↵Robert Godfrey2014-09-081-8/+66
| | | | | | | | | | | | receive is called in a situation where the prefetch buffer is full git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1623422 13f79535-47bb-0310-9956-ffa450edef68
* | NO-JIRA: [Java System Tests] ConsumerLoggingTest: Temporary code in test ↵Keith Wall2014-09-031-3/+14
| | | | | | | | | | | | class to better understand a failure in a CI environment. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622217 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6066: [Java Client] 0-8..0-9-1 only - Add system property to allow ↵Keith Wall2014-09-031-21/+56
| | | | | | | | | | | | | | | | | | call to exchange.bound during AMQSession#getQueueDepth to be omitted This prevents interoperabiliy problem with older Java Brokers, and gives users a change to restore old behaviour (AMQChannelException in the event that the queue does not exist) if desired. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622176 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6055 : [Java Broker] Ensure max frame size is always less than ↵Robert Godfrey2014-08-301-1/+1
| | | | | | | | | | | | Integer.MAX_VALUE git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621498 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6052 : Use ADDR addresses for JMSDestination on incoming messages in ↵Robert Godfrey2014-08-281-1/+1
| | | | | | | | | | | | 0-9-1 when the address mode is ADDR git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621150 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6040 : [Java Broker] [Java Client] add the ability to create a single ↵Robert Godfrey2014-08-261-20/+17
| | | | | | | | | | | | consumer that is consuming across a collection of queues git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1620659 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6037 : [Java Client] Enhance experimental support for ADDR addressing ↵Robert Godfrey2014-08-241-69/+86
| | | | | | | | | | | | to the 0-8/9/9-1 client git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1620147 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6010 : [Java Broker] Remove unnecessary system properties for ↵Robert Godfrey2014-08-191-4/+1
| | | | | | | | | | | | controlling which AMQP protocols are made available git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618858 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6017 : [Jaa Broker] Provide a mechanism by which "secure" attributes in ↵Robert Godfrey2014-08-192-0/+2
| | | | | | | | | | | | the configuration can be encrypted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618815 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6010 : [Java Tests] Use context defaulting to select protocols in useRobert Godfrey2014-08-171-8/+43
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618478 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6000 : [Java Broker] [Java Client] add the ability to configure ↵Robert Godfrey2014-08-161-0/+236
| | | | | | | | | | | | automatic message compression git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618375 13f79535-47bb-0310-9956-ffa450edef68
* | NO-JIRA: Remove unused test support classesKeith Wall2014-08-145-900/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617894 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5992 : [Java Broker] Allow HTTP management responses to be compressedRobert Godfrey2014-08-131-0/+141
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617707 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5989: [Java Tests] Relocate system test classes to beneath src/test/javaKeith Wall2014-08-12198-0/+52153
|/ | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617503 13f79535-47bb-0310-9956-ffa450edef68
* QPID-146 QPID-112 QPID-278Martin Ritchie2007-01-1229-3941/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary Reworked a lot of the distribution work done by the build system. This ended up with me creating a reduced client distribution (hope that is ok Steve) Each module now has has a distribution directory (except common it may need a tests build later) This will build the individual components in to a distribution binary only, binary with tests and source. To build the binary with tests in the distribution directory use profile tests so $mvn -Ptests In all cases the dependencies have been reduced and correctly assigned to the correct scope. There were a couple of cases where a runtime dependency of one of our dependencies didn't make it in to the distributions so they were added explicitly. This should be looked at again. Specifics Broker: Three new assembly files are located in the distribution/src directory (broker-bin taking heavily from distribution - bin) these generate the three distributions. SimpleFilterManager.java removed slf4j reference broker/test directory removed as it was left over from the ant system Client: Added intelij files to ignore list. client/dist deleted as it was left over from the ant system client/distribution as for the broker three assemblies matching the three distributions Renamed log4j.properties to client.log4j to prevent issues when it is packaged into the jar. Removed old_test ping and requestreply1 as they have been moved to perftests Moved broker back to a test dependency. This required modifying AMQSession.java to remove reference to ExchangeBoundHandler.java Common: Added more common dependencies from broker and client here. Distribution: Reduced the assemblies to only build the full project binary, binary with tests and source. Perftests: Added building of perftests distribution so this can be bundled separately. Resources: Moved Resources from distribution project to root level this allows them to be easily incorporated in all projects. Systests: as with perftests now builds a separate distribution that can be used on an existing installation. renamed log4j.properties to systests.log4j to prevent logging problems. As systests is a module having the code under the test folder isn't accurate as it is the main code. Test code here should be testing the tests :D !! git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@495455 13f79535-47bb-0310-9956-ffa450edef68
* QPID-32: fixed compile problemRobert Greig2007-01-111-13/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@495373 13f79535-47bb-0310-9956-ffa450edef68
* QPID-32: transaction fixesRobert Greig2007-01-111-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@495304 13f79535-47bb-0310-9956-ffa450edef68
* Added empty signatures for recently added MessageStore interface methods, ↵Marnie McCormack2007-01-111-0/+16
| | | | | | for build success (empty implementations appropriate for this class) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@495230 13f79535-47bb-0310-9956-ffa450edef68
* QPID-268 : (Patch supplied by Rob Godfrey) Improvements to performance of ↵Robert Greig2007-01-096-12/+43
| | | | | | generated code git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@494650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-255 : Patch Supplied by Rob Godfrey - Change to use bespoke ↵Robert Greig2007-01-0810-52/+65
| | | | | | AMQShortString rather than converting to String git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@494121 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@494018 ↵Bhupendra Bhusman Bhardwaj2007-01-081-12/+13
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* QPID-32: new model for holding and processing message in memory to support ↵Robert Greig2007-01-0713-177/+324
| | | | | | new persistent stores git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@493872 13f79535-47bb-0310-9956-ffa450edef68
* test queue and exchange names changed.Bhupendra Bhusman Bhardwaj2006-12-291-16/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@490985 13f79535-47bb-0310-9956-ffa450edef68
* QPID-188 Bhupendra Bhusman Bhardwaj2006-12-282-12/+91
| | | | | | Unit tests added git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@490709 13f79535-47bb-0310-9956-ffa450edef68
* QPID-229 : Patch supplied by Rob Godfrey - Change implementation of FieldTableRobert Greig2006-12-223-19/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@489748 13f79535-47bb-0310-9956-ffa450edef68
* AMQP version using new generator - Part 1. In these changes, all places ↵Kim van der Riet2006-12-224-4/+12
| | | | | | where version-specific info is required, it has been hard-wired to major=8, minor=0. The next phase of changes will connect the version info to that obtained from ProtocolInitiation for the current session. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@489691 13f79535-47bb-0310-9956-ffa450edef68
* QPID-188 Bhupendra Bhusman Bhardwaj2006-12-211-1/+2
| | | | | | test updated git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@489331 13f79535-47bb-0310-9956-ffa450edef68
* QPID-188 Bhupendra Bhusman Bhardwaj2006-12-211-15/+7
| | | | | | Unit test for AMQProtocolSession mbean updated and closeChannel() method removed from mbean because it didn't seem to be a required feature for management console. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@489330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-101Martin Ritchie2006-12-201-0/+15
| | | | | | | | | | | | | | | | | | | | | Initial Implementation of Queue Browsing by Robert Godfrey and Martin Ritchie AMQChannel.java - record messages browsed so not to discard them on ack. FilterManagerFactory.java - Added a NoConsumerFilter ConcurrentSelectorDeliveryManager.java - Update to send browsers messages without taking the message from other consumers Subscription.java - Added autoClose and isBrowser methods SubscriptionTestHelper.java / RemoteSubscriptionImpl.java / SubscriptionImpl.java - implemented new interface methods Added NoConsumerFilter.java Patches from Rob Godfrey for client implmentation AMQSession.java - Added AUTO_CLOSE and NO_CONSUME properties to arguments FieldTable for consume method. BasicMessageConsumer.java - updates to correctly close consumer when an BasicCancel is received from the broker. AMQProtocolSession.java - method to allow cancellation of the client AMQStateManager.java - added handler for BasicCancelOkMethodHandler.java Added new AMQQueueBrowser.java BasicCancelOkMethodHandler.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@489106 13f79535-47bb-0310-9956-ffa450edef68
* Maven output clean up.Martin Ritchie2006-12-191-21/+26
| | | | | | Mainly removed exception stack traces from expected exceptions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@488715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-216Martin Ritchie2006-12-191-0/+10
| | | | | | | | | | | | | | | | | | BasicConsumeMethodHandler.java - Pulled the nolocal param from the method body and passed down channel to subscription. SubscriptionFactory.java / AMQQueue.java/AMQChannel.java - passed the nolocal parameter through to the Subscription ConnectionStartOkMethodHandler.java - Saved the client properties so the client identifier can be used in comparison with the publisher id to implement no_local AMQMinaProtocolSession.java - added _clientProperties to store the sent client properties. AMQProtocolSession.java - interface changes to get/set ClientProperties ConcurrentSelectorDeliveryManager.java - only need to do hasInterset as this will take care of the hasFilters optimisation check. SubscriptionImpl.java - Added code to do comparison of client ids to determin insterest in a given message. SubscriptionSet.java - tidied up code to use hasInterest as this is where the nolocal is implemented. ConnectionStartMethodHandler.java - Moved literal values to a ClientProperties.java enumeration and a QpidProperties.java values. QpidConnectionMetaData.java - updated to get values from QpidProperties.java MockProtocolSession.java - null implementation of new get/set methods git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@488712 13f79535-47bb-0310-9956-ffa450edef68
* QPID-188 Bhupendra Bhusman Bhardwaj2006-12-191-0/+123
| | | | | | Unit test for Exchange MBeans git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@488711 13f79535-47bb-0310-9956-ffa450edef68
* QPID-188 Bhupendra Bhusman Bhardwaj2006-12-191-0/+118
| | | | | | Adding unit tests for Java broker JMX functionality git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@488705 13f79535-47bb-0310-9956-ffa450edef68
* QPID-188 Bhupendra Bhusman Bhardwaj2006-12-191-1/+2
| | | | | | Adding unit tests for Java broker JMX functionality git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@488701 13f79535-47bb-0310-9956-ffa450edef68
* QPID-21Martin Ritchie2006-12-192-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added: SelectorParser.jj - ActiveMQ selector javacc grammar used to generate SelectorParser.java server/filter - Selector Filtering code from ActiveMQ project adjusted to suite our class and package structure. server/message - Decorator classes to allow access to the JMSMessage inside the AMQMessage ConcurrentSelectorDeliveryManager.java - A new DeliveryManager that utilises PreDeliveryQueues to implement selectors AMQInvalidSelectorException.java - thrown on client and broker when the Selector text is invalid. Common: log4j.properties to remove error log4j warnings on Common tests. Modified: broker/pom.xml - to generate SelectorParser.java AMQChannel.java - Addition of argument fieldtable for filter setup. BasicConsumeMethodHandler.java - writing of InvalidSelector channel close exception. AMQMessage.java - Added decorator to get access to the enclosed JMSMessage AMQQueue.java - Enhanced 'deliverymanager' property to allow the selection of the ConcurrentSelectorDeliveryManager. Subscription.java - Enhanced interface to allow a subscription to state an 'interest' in a given message. SubscriptionFactory.java - Added method to allow passing of filter arguments. SubscriptionImpl.java - Implemented new Subscription.java methods. SubscriptionManager.java - Added ability to get a list of current subscribers. SubscriptionSet.java - augmented nextSubscriber to allow the subscriber to exert the new hasInterest feature. SynchronizedDeliveryManager.java - fixed Logging class AMQSession - Added filter extraction from consume call and pass it on to the registration. ChannelCloseMethodHandler.java - Handle the reception and correct raising of the InvalidSelector Exception AbstractJMSMessage.java - Expanded imports BlockingMethodFrameListener.java - added extra info to a debug output line. SocketTransportConnection.java - made output an info not a warn. PropertiesFileInitialContextFactory.java - updated to allow the PROVIDER_URL to specify a property file to read in for the initial values. ClusteredSubscriptionManager.java - Implementation of SubscriptionSet.java NestedSubscriptionManager.java - Implementation of SubscriptionManager.java RemoteSubscriptionImpl.java - Implementation Subscription.java AMQConstant.java - Added '322' "Invalid Selector" SubscriptionTestHelper.java - Implementation of Subscription.java Edited specs/amqp-8.0.xml to add field table to consume method. Thanks to the ActiveMQ project for writing the initial SelectorParser.jj and associated filter Expressions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@488624 13f79535-47bb-0310-9956-ffa450edef68
* Name correctedBhupendra Bhusman Bhardwaj2006-12-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@488594 13f79535-47bb-0310-9956-ffa450edef68
* clean up warnings about unused variablesStephen Vinoski2006-12-182-12/+2
| | | | | | | | Remove all warnings in common, broker, client, and systests regarding unused variables, as indicated by Eclipse builds. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@488450 13f79535-47bb-0310-9956-ffa450edef68
* QPID-188 Bhupendra Bhusman Bhardwaj2006-12-181-0/+179
| | | | | | Adding unit tests for Java broker JMX code git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@488281 13f79535-47bb-0310-9956-ffa450edef68