summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3917 : Fix failing BDB test, remove unusued readOnly flagRobert Godfrey2012-04-133-59/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1325661 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3917 : Refactor changes to MessageStore to use listeners and not decoratorsRobert Godfrey2012-04-1229-793/+726
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1325467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3941 Handles the stat collecting and reporting module for the jmsRajith Muditha Attapattu2012-04-104-0/+459
| | | | | | | | perf tools housed under the java/tools module. This again closely followed the c++ versions. The Mercury tool has it's own stat and report implementation to facilitate exisitng scripts. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3941 The existing PerfProducer, PerfConsumer and TestControllerRajith Muditha Attapattu2012-04-105-477/+210
| | | | | | | | | were refactored to act more as controllers while the actual sending and receiving is now delegated to the QpidSend and QpidReceive classes. The stat collecting and reporting is now handled by the Report and Statistics classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3941 Refactored existing code in PerfConsumer and PerfProducer toRajith Muditha Attapattu2012-04-102-0/+472
| | | | | | | | extract QpidSend and QpidReceive. These classes closely follow the C++ qpid-send.cpp and qpid-receive.cpp More work needs to be done to make them identical. This is still WIP. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3941 Removed the old LatencyTest as it's no longer useful.Rajith Muditha Attapattu2012-04-101-349/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3941 Test configuration is now accessed via the TestConfigurationRajith Muditha Attapattu2012-04-102-25/+348
| | | | | | | | | | interface. This would allow the various test tools to easily add/change the configuration mechanism. The existing jvm arg based system is now implemented via the JVMArgConfiguration class. Some tools will prefer program arguments and you could implement a ProgramArgConfiguration class. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311674 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3941 Renamed existing files as the first step. The existingRajith Muditha Attapattu2012-04-109-0/+0
| | | | | | | | | distributed testing framework is now named Mercury, and the related files are prefixed with that name for easy identification. The existing perf-report was renamed as jms-quick-perf-report, as that is exactly what it does. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311673 13f79535-47bb-0310-9956-ffa450edef68
* Replace log message formatting with null object dereferencesAndrew Donald Kennedy2012-04-091-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311361 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: disable the systests temporarilyRobert Gemmell2012-04-061-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1310405 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3911: Fix deadlock on concurrent invocation of MessageConsumer#close() ↵Robert Gemmell2012-04-063-21/+68
| | | | | | | | | | | | | | and Session#rollback() from consumer MessageListener This patch contains the following changes: - Add synchronization on AMSession#_messageDeliveryLock into MessageConsumer#close() in order to block until message listener in progress has completed(as required in JMS javadoc for MessageConsumer#close()). - Change the session dispatcher to stop messages delivery into consumer local message queue if the consumer in the process of closing. This eliminates the need to stop the dispatcher on rejecting pending messages for closing consumer. - Remove the synchronization on the dispatcher lock from AMQSession.Dispatcher#rejectPending and code to stop the dispatcher, as we are synchronizing on the deliveryLock now and incoming messages are not dispatched into closing consumers anymore. - Add a system test to reproduce the deadlock and verify its resolution. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1310275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: add missed file from previous checkinRobert Gemmell2012-04-051-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3936: initial checkin of new testing framework, initially to be used ↵Robert Gemmell2012-04-05165-1/+36957
| | | | | | | | for performance testing but later to be expanded for use with other testing scenarios. Applied patch from Philip Harvey <phil@philharveyonline.com>, Oleksandr Rudyy <orudyy@gmail.com>, Andrew MacBean <andymacbean@gmail.com>, Keith Wall <kwall@apache.org>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309918 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3933: define an empty value for amqp-1-0-common.libs to allow the pom ↵Robert Gemmell2012-04-051-0/+1
| | | | | | generation process to succeed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309633 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3933 : [Java] Add interim AMQP 1-0 implementationRobert Godfrey2012-04-04461-94/+54580
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3929: remove old perftests + integrationtests + junit-toolkit modules ↵Robert Gemmell2012-04-04190-31809/+5
| | | | | | and associated files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3927: add a systest which would highlight the underlying issue by ↵Robert Gemmell2012-04-031-0/+100
| | | | | | failing to receive all messages present on the priority queue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309155 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3927: ensure that priority is properly accounted for when comparing ↵Robert Gemmell2012-04-033-4/+165
| | | | | | messages on different QueueEntryLists contained within the encompassing PriorityQueue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309050 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3917: Refactor VirtualHost/MessageStore implementations to be ready for ↵Keith Wall2012-03-30106-4127/+4120
| | | | | | | | BDB-HA Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3916: Change message store interface to extend ↵Keith Wall2012-03-3045-371/+437
| | | | | | | | DurableConfigurationStore and change VirtualHost contructor Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307317 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: QpidBrokerTestCase - minor improvementsKeith Wall2012-03-305-32/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307316 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3913: Remove unused logsubjectKeith Wall2012-03-298-50/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306747 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3912: Client failover fails to reconnect if a previous attempted ↵Keith Wall2012-03-283-1/+8
| | | | | | | | reconnection has failed 'late' in the connection start process. Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306208 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3913: Fix BDBUpgradeTest for spawn test profilesKeith Wall2012-03-281-1/+6
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306207 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3913: Add functionality to upgrade bdbstore automatically on broker ↵Keith Wall2012-03-2761-2886/+3227
| | | | | | | | start-up. Store message content using single chunk. Change store version to 6. Remove implementations of tuple bindings for previous versions. Applied patch from Phil Harvey<phil@philharveyonline.com> Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1305809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3903: Session#close() should not wait forever if broker fails to ↵Keith Wall2012-03-252-22/+20
| | | | | | respond to channel close (0-8..0-9-1 protocols) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1304971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3905: NullPointerException is thrown on rejecting messages whilst ↵Keith Wall2012-03-251-3/+3
| | | | | | closing the connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1304970 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3904: Java client should set AMQConnection#_closed flag on receipt of ↵Keith Wall2012-03-212-0/+19
| | | | | | 0-10 connection.close git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1303360 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add Mockito (Java mocking framework)Keith Wall2012-03-202-1/+2
| | | | | | | | | Add Mockoito as Java *test-only* dependency to allow for the convenient mocking and aid the writing of better unit tests. http://code.google.com/p/mockito/ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1302874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3895: Remove blocked channel/session from the list of blocked channels ↵Keith Wall2012-03-197-19/+163
| | | | | | | | | | | | | on channel/session close This patch adds the fllowing: - fixes AMQChannel to stop sending flow commands if channel is closing - fixes AMQChannel#compareTo ServerSession#compareTo - removes AMQSessionModel#getID() method from AMQChannel and Server session in order to avoid confusions Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1302455 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3751 : Re-enable JCA tests for 0-10 Java Broker, disable for pre-0-10 ↵Robert Godfrey2012-03-192-2/+4
| | | | | | (someone should verify whether some tests would actually work on pre-0-10) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1302345 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3776 Applying a patch from Weston Price.Rajith Muditha Attapattu2012-03-144-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3776 Applying a patch by Weston Price.Rajith Muditha Attapattu2012-03-142-0/+534
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300590 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3751 Excluding JCA system tests all together from the Java broker.Rajith Muditha Attapattu2012-03-141-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3751 I had missed this file when I was applying Weston's patch.Rajith Muditha Attapattu2012-03-131-0/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300156 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Java Broker: Remove unused code from VirtualHostImplKeith Wall2012-03-133-168/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3868: Extra logging at DEBUG to better understand this failureKeith Wall2012-03-131-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3879: Session#close() on session can produce spurious "dispatcher is ↵Keith Wall2012-03-111-1/+1
| | | | | | not started" messages at ERROR to client logs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299426 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3894: MessageListener test improvmentsKeith Wall2012-03-1113-1106/+506
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299425 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3873: update test additions to fix defects around deliverymode ↵Robert Gemmell2012-03-111-41/+10
| | | | | | variation, reduce the unecessarily large number of messages sent, remove the effectively duplicate tests using topics git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299396 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3873: Add tests to verify that publishing of unroutable messages does ↵Robert Gemmell2012-03-111-0/+66
| | | | | | | | | not cause long running store transactions Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3806 Committing a patch by Weston Price.Rajith Muditha Attapattu2012-03-084-6/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3732 Committing a patch by Weston Price.Rajith Muditha Attapattu2012-03-081-0/+283
| | | | | | | This file somehow slipped through the cracks when committing the first patch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298598 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3751 Committing patch from Weston Price.Rajith Muditha Attapattu2012-03-086-15/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3732 Committing a patch by Weston Price.Rajith Muditha Attapattu2012-03-0814-102/+138
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3884 Applying a patch by Kevin Conner.Rajith Muditha Attapattu2012-03-082-0/+24
| | | | | | | The message-acks are now sent when we "end" the transaction as opposed to sending them synchronously after each message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298564 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3885 Changed the log level for flow control messages to info (wasRajith Muditha Attapattu2012-03-081-4/+4
| | | | | | debug). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3885 Applying a patch by Kevin Conner.Rajith Muditha Attapattu2012-03-088-43/+81
| | | | | | | | | For the most part it reduces noise by downgrading most log messages from info to debug. It also adds a if(logger.isDebugEnabled()) to save on any unnecessary (and potentially expensive) string concatenations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298555 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3886 Committing a patch by Kevin Conner.Rajith Muditha Attapattu2012-03-085-11/+186
| | | | | | | The purpose of the patch is to improve the efficiency of processing known-complete (command id ranges). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3864: Adjust version numbers on trunk for development toward 0.18Justin Ross2012-03-0813-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298340 13f79535-47bb-0310-9956-ffa450edef68