summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2585: Upgrade Felix to 2.0.5Robert Gemmell2010-05-315-169/+254
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949780 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581: Update configuration manager to allow multiple plugins to handle ↵Robert Gemmell2010-05-3127-650/+411
| | | | | | | | | the same configuration Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@949735 13f79535-47bb-0310-9956-ffa450edef68
* 1. Capacity can now be specified as " capacity : {source: 5, target 10}" in ↵Rajith Muditha Attapattu2010-05-285-28/+56
| | | | | | | | | | | addition to "capacity:10" where both source and target is set to 10. 2. If the exchange type if direct and no subject is set, then the routing_key is set to "" instead of throwing an exception. 3. Added a fix to infer the exchange type if specified in the x-declares section. 4. The link can now specify an optional 'name' parameter which will be used as the queue name if present. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2629Rajith Muditha Attapattu2010-05-288-22/+1267
| | | | | | | | | Removed commons collections from the build deps. Added the ReferenceMap and supported classes under a subpackage in qpid. These classes were copied from the Commons Collections release tag 3_2. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949076 13f79535-47bb-0310-9956-ffa450edef68
* Deleted the old examples to avoid confusion.Rajith Muditha Attapattu2010-05-2658-3435/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948637 13f79535-47bb-0310-9956-ffa450edef68
* Added examples to match the c++ and python clients.Rajith Muditha Attapattu2010-05-267-0/+805
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948636 13f79535-47bb-0310-9956-ffa450edef68
* Set property for native line endings on QueuePurgeHandlerRobert Gemmell2010-05-251-128/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948059 13f79535-47bb-0310-9956-ffa450edef68
* Set property for native line endings on BasicGetMethodHandlerRobert Gemmell2010-05-251-212/+212
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948051 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/qpid@948038 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2626: Fix typo and unchecked assignment warning in ServerConnectionDelegateRobert Gemmell2010-05-251-2/+2
| | | | | | | Applied patch from Emmanuel Bourg <ebourg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948001 13f79535-47bb-0310-9956-ffa450edef68
* Enforce usage of the requested test profile by failing immediately if it ↵Robert Gemmell2010-05-241-1/+6
| | | | | | isnt found, preventing a silent fallback to the default test profile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2611: AMQConnectionFailureException records AMQPConstant message if ↵Robert Gemmell2010-05-241-4/+1
| | | | | | | | | cause is AMQPException Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2608: AMQPException messages contain duplicate error codeRobert Gemmell2010-05-241-8/+10
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947649 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2610: Corrected Map usage and removed Integer object creationRobert Gemmell2010-05-241-3/+3
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947640 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2609: Implement getName for MockAMQQueueRobert Gemmell2010-05-241-1/+1
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2555 : Commit Info OSGi plugin provided by Sorin Suciu.Martin Ritchie2010-05-2418-2/+927
| | | | | | Adds two new libraries to lib dir both ASL licensed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947629 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2607: Fix package name typo for CRAMMD5HexInitialiserTest.javaRobert Gemmell2010-05-241-7/+1
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947606 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update ConfigurationPlugin to provide a validateConfiguration() ↵Martin Ritchie2010-05-2111-50/+55
| | | | | | method simplifying the plugins git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947177 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Complete SCDPolicyConfiguration TestingMartin Ritchie2010-05-2110-154/+504
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Complete SCDQueueConfiguration TestingMartin Ritchie2010-05-211-10/+134
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947175 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2585 : Prevent NPE if plugins are not enabled but requestedMartin Ritchie2010-05-212-0/+72
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947174 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/qpid@946670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Modified VirtualHostHouseKeepingPlugin to return a TimeUnit and ↵Martin Ritchie2010-05-206-36/+318
| | | | | | | | force plugin to perform validation. Potentially could be refactored to allow all VHHKPlugins to process TimeUnits in a consistent way. Add Config validation and UnitTest for SlowConsumerDetctionConfiguration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946669 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Clean up TopicDeletePolicy Test and provide validation and ↵Martin Ritchie2010-05-205-12/+74
| | | | | | testing of Configuration loading. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946668 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2622 : Add Closeable interface and update Broker components to use it ↵Martin Ritchie2010-05-2015-97/+141
| | | | | | and add close method in ApplicationRegistry to safely perform the close. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Full test the TopicDeletePolicy, udpate MockAMQQueue and ↵Martin Ritchie2010-05-207-28/+297
| | | | | | | | | InternalTestProtocolSession to allow: - Queue- Setting of AutoDelete - ProtocolSession - Closing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946665 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Update TopicDeletePolicy to have it's own ConfigurationPlugin ↵Martin Ritchie2010-05-206-32/+93
| | | | | | for handling the configuration section. Improved configuration section based on feedback from Sorin Suciu git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946664 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2466: swap WeakReference usage to keep handles to message content to ↵Robert Gemmell2010-05-192-8/+8
| | | | | | | | | SoftReference's. Applied patch from Andrew Kennedy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946227 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2422: reenable the DurableSubscriberTestRobert Gemmell2010-05-191-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946200 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2422: add a boolean exclusive property to queues, update the DerbyStore ↵Robert Gemmell2010-05-1926-80/+129
| | | | | | and virtualhost recovery process to allow restoring exclusivity. Also persist and restore queue arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946199 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the feature described in QPID-2515Rajith Muditha Attapattu2010-05-183-23/+118
| | | | | | | 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/qpid@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/qpid@945789 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1447 : Update Plugins to use changes to ConfigurationPlugin, Update ↵Martin Ritchie2010-05-187-42/+126
| | | | | | | | Test to correctly run and prevent failover. Update excludes to include test in Java Broker runs but not CPP or 010. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945683 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584 : Add Logging Actor to HouseKeepingTasksMartin Ritchie2010-05-181-1/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945682 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2581 : Update ConfigurationPlugin to correctly handle attributes in ↵Martin Ritchie2010-05-182-2/+108
| | | | | | | | | | configuration. Added work around for the fact that we use a Composite Configuration that turns an XML attribute key of '[@attribute]' in to '@attribute]'. Added test for to this conversion. This makes the Plugin Configuration interface consistent so if we swap our configuration format. The key style of '[@attribute]' will work as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2614 : Update QueueConfiguration to take two parameters, moved Munging ↵Martin Ritchie2010-05-183-44/+54
| | | | | | | | code from VHC to QC. Updated Test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2585 : Ensure plugins are correctly loaded, so can renenable ↵Martin Ritchie2010-05-182-8/+11
| | | | | | PluginTest. (Patch provided by Andrew Kennedy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945679 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584 : Convert all TimerTasks to HouseKeepingTasks for running in the ↵Martin Ritchie2010-05-189-88/+251
| | | | | | | | | VHost thread pool. Update VirtualHost and Configuration to allow configuration and testing of VirtualHostHouseKeepingPlugins. Added system test to validate the loading of VHPlugins is performed correctly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584, QPID-1447 : Update SCD Plugin to use new VHPlugin abstract classMartin Ritchie2010-05-181-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2584 : Update VirtualHostImp and VHPlugin to ensure that a ↵Martin Ritchie2010-05-184-5/+34
| | | | | | RuntimeException occuring in a plugin will not cause the Plugin to stop running. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2613: flush 0-8/0-9 message to store when delivery beginsRobert Gemmell2010-05-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945536 13f79535-47bb-0310-9956-ffa450edef68
* Added an exclude file for no-prefetch test profile.Rajith Muditha Attapattu2010-05-182-1/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945469 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/qpid@945444 13f79535-47bb-0310-9956-ffa450edef68
* Make constructor public instead of packageRobert Gemmell2010-05-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2422: exclude DurableSubscriberTest until queue exclusivity is persistedRobert Gemmell2010-05-173-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945078 13f79535-47bb-0310-9956-ffa450edef68
* disable setting on the java-derby test profile which restricts client ↵Robert Gemmell2010-05-171-1/+5
| | | | | | protocol version, allow the client to perform normal negotiation to broker suppported version git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945017 13f79535-47bb-0310-9956-ffa450edef68
* Removing the tests excluded due to the failures associated with 942098Rajith Muditha Attapattu2010-05-141-14/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944458 13f79535-47bb-0310-9956-ffa450edef68
* I am reverting a change made by martin on rev 942098 (QPID-2586) as the 0-10 ↵Rajith Muditha Attapattu2010-05-141-1/+1
| | | | | | | | | | code path relies on that for failover. Currently due to the above commit all failover related tests are failing. However we will try to address the issue mentioned in QPID-2586. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944457 13f79535-47bb-0310-9956-ffa450edef68
* Removing the examples under this folder as they are not written against a ↵Rajith Muditha Attapattu2010-05-1414-1164/+0
| | | | | | | | | proper API. As of now we only support the JMS API. Therefore we shouldn't carry any other examples as it can create confusion. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944086 13f79535-47bb-0310-9956-ffa450edef68