summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4365 : [Java 1-0 JMS Client] Allow setting of client id to be deferred ↵Robert Godfrey2012-10-101-19/+68
| | | | | | / only create TCP connection when absolutely necessary git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1396700 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4314: Add distributed tests to measure the impact of selectors on ↵Alex Rudyy2012-10-096-0/+409
| | | | | | consumers' performance git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1396299 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4359: stop logging spurious error messages (when caused by expected ↵Robert Gemmell2012-10-051-4/+16
| | | | | | behaviour of an SSLSocket) during closure of a connection using SSL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1394457 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4355 : LICENSE and NOTICE included in jar files should be able to be ↵Robert Godfrey2012-10-0310-0/+651
| | | | | | module specific git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1393415 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4352: fix break in ConnectionFactory following SSL truststore/keystore ↵Robert Gemmell2012-10-024-30/+56
| | | | | | | | | password masking in URL toString(). Makes SSLTest use a ConnectionFactory instead of instantiating AMQConnections directly, exposing this issue. Replaces horrible use of an AMQConnectionURL objects in MultipleBrokersFailoverTest and FailoverBehaviourTest (which both broke after this fix) with fully string-generated connection strings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1393034 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused 'manual non-test' classesRobert Gemmell2012-10-022-532/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1393032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4352: Java client logs key_store_password/trust_store_password at debugKeith Wall2012-09-293-45/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391916 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3906 Fixed an error with the default. Added unit tests for testingRajith Muditha Attapattu2012-09-283-4/+31
| | | | | | StreamMessage encoding defaults. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391567 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3906 Switched the default to legacy stream message format.Rajith Muditha Attapattu2012-09-283-15/+155
| | | | | | | Allows the lists to contain elements of different types. Added a set of unit tests in place of the system tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391566 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3906 List Message support for JMS.Rajith Muditha Attapattu2012-09-2812-10/+1288
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391565 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4334: addressed Keith's review comments. Also moved ↵Keith Wall2012-09-288-88/+211
| | | | | | | | PlainConfigurationTest to the correct package. Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391431 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4334: removed the firewall plugin and moved its functionality into the ↵Keith Wall2012-09-2839-1941/+1439
| | | | | | | | Access Control plugin. Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4146 Applying patch attached by Pavel Moravec with modifications.Rajith Muditha Attapattu2012-09-251-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1389991 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4333: remove the 'queue reconfiguration' process and various clases ↵Robert Gemmell2012-09-2410-707/+13
| | | | | | | | leftover from SCD Work by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1389451 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: correct some test descriptions and make it explicit which ↵Robert Gemmell2012-09-2412-9/+15
| | | | | | acknowledgement mode is in use within the associated test definition git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1389268 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4341: ensure the Topic perftests actually use Topic destinationsRobert Gemmell2012-09-2311-19/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1389143 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: move test-only dependency on common into module.test.depends. ↵Robert Gemmell2012-09-232-4/+5
| | | | | | Clarify a comment slightly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1389142 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4277 The address handling code is now using the auto-deleteRajith Muditha Attapattu2012-09-211-1/+1
| | | | | | property when declaring the exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4340 The durable parameter from the address string is now used whenRajith Muditha Attapattu2012-09-211-1/+3
| | | | | | declaring the exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4311: throw exception if the test config requests a start delay greater ↵Robert Gemmell2012-09-212-17/+52
| | | | | | | | than the imposed maximum time limit for the test. Add some additional logging, extract some variables for clarity. Work by Oleksandr Rudyy and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4338: [Java Performance Charts] Added descriptions to all charts; use ↵Keith Wall2012-09-2130-14/+187
| | | | | | consistent colours across all charts; use dotted series for baselines git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388458 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4313: Address review comments from QPID-4109 (Reenable LoggingManagement)Keith Wall2012-09-217-48/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388457 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4338: Performance tests charting: Support long chart descriptions and ↵Keith Wall2012-09-2018-38/+323
| | | | | | allow colour/stroke to be controlled git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4310: Display performance test results in messages per secondRobert Gemmell2012-09-2024-50/+169
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4333: remove the Slow Consumer Detection plugin and associated ↵Robert Gemmell2012-09-2025-2823/+1
| | | | | | | | documentation Work by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388047 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Performance Tests] Add config to run/chart varying number of ↵Keith Wall2012-09-205-154/+218
| | | | | | participants tests for both auto-ack and session transacted mode git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1387905 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: use uptodate to prevent management-http's dojo unwar happening ↵Keith Wall2012-09-191-1/+11
| | | | | | unnecessarily git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1387583 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4321: Perf tests should not try to call Message#acknowledge on a ↵Keith Wall2012-09-197-61/+61
| | | | | | | | | | producing session * ProducerParticipant makes erroneous call to Message#acknowledge * Externalise the poll timeout used by QpidQueueCreator to drain the queue after test * Topic-AckModes.js - replace tests for client-ack, dups-okay-ack with session transacted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1387565 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4284: Remove system test dependencies on development and localhost ↵Keith Wall2012-09-1720-364/+146
| | | | | | virtual hosts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1386864 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4056: HAClusterManagementTest.testRemoveNodeFromGroup fails ↵Keith Wall2012-09-141-6/+26
| | | | | | | | occasionally on Apache CI Test should await all nodes knowning about one and other before commencing the remainder of the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384810 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4303: FailoverTest sometimes fails on slower CI boxes.Keith Wall2012-09-141-11/+14
| | | | | | | In non-transacted case, test should sync after producing messages in order to ensure that messages are on Broker before consumption begins. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384685 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4302: 0-8..0-9-1 client should sync after message.acknowledge()Keith Wall2012-09-132-10/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384512 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker] Add performance test script to highlight performance ↵Keith Wall2012-09-132-0/+137
| | | | | | | | | | | improvement from QPID-4125 QPID-4125 improved the performance of the Java Broker for persistent transacted messages for multiple channels on same connection. This change adds a perf test script allowing the performance improvement to be quantified. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4292: Java Web Management - standardise of the use of SC_FORBIDDEN and ↵Keith Wall2012-09-129-25/+25
| | | | | | | | avoid ugly stack trace in logs in response to some authorisation failures Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1383894 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4297: Broker should not rely on Subject.getPrincipals.iterator().next() ↵Keith Wall2012-09-113-8/+7
| | | | | | to find 'username principal' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1383639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4296: Push down 0-8..0-9-1 flow control implementation to ↵Keith Wall2012-09-113-79/+94
| | | | | | | | | | | | | AMQSession_0_8 (refactoring) Move method impls. isFlowBlocked(), setFlowBlocked() and checkFlowBlocked() and their associated fields down to AMQSession_0_8. On 0-10, isFlowBlocked() was already overridden to delegate to the 0-10 transport layer. The operation setFlowBlocked() makes no sense to 0-10, so will be implemented to throw UnsupportedOperationException. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1383638 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4292: add ACL rule to authorise access to the web management UIKeith Wall2012-09-1015-126/+306
| | | | | | | | | | | * added object name MANAGEMENT to represent both JMX and Web Management layers * Change both JMX/Web entry points to permission access with an access management check * Updated examples and docbook * Made Principals serialised to avoid container warnings when Qpid principals are placed within a HttpSession. Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382947 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add default config for http managementRobert Gemmell2012-09-101-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382915 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4289: Fix 0-8/0-9/0-9-1 failover issuesRobert Gemmell2012-09-1012-78/+429
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4275: Java Performance Tests - race condition between closing test ↵Keith Wall2012-09-072-3/+27
| | | | | | | | consumer and test connection Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382074 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4255: Add "log out" functionality to web UIKeith Wall2012-09-0610-26/+305
| | | | | | | | | | | * Added logout link to the Web Management UI (displayed once a user is logged in). * Added operation logging (open/close event) to report the fact that the user has logged in, logged out (or gone away i.e. web session timeout). * Allow Jetty web session timeout to be overridden from the config.xml Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1381637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4288 The pid and platform info are now fetched in a static blockRajith Muditha Attapattu2012-09-061-8/+19
| | | | | | and the cached value is returned. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1381625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4283: Make web management capable of using external authentication manager.Keith Wall2012-09-0410-342/+87
| | | | | | | | | | | also: * remove test servlets * rename management.html => index.html * allow sasl-auth to be disabled Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4271: improve behaviour when embedding the broker inside a containerKeith Wall2012-09-0411-48/+128
| | | | | | | | | | | | Avoid potential ThreadLocal leaks on Container owned threads for CurrentActor, AMQShortString and SecurityManager. Have LogRecorder unregistered itself from Log4J. Allow SIGHUP handling to be turned off (inappropiate to install signal handling when deployed inside Container. Allow use of custom RMI socket factory to be disabled. (The registration of a custom RMI socket with the JRE cannot be reversed (deficiency in JRE API) and this causes a large perm-gen leak). Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4282: Remove debug logging from web management consoleRobert Gemmell2012-09-031-11/+0
| | | | | | Applied patch from Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4238: escape tags for queue and virtualhost names with dots in them ↵Robert Gemmell2012-09-024-3/+53
| | | | | | | | | when accessing the XML configuration, works around CommonsConfiguration behaviour with element names containing dots Applied patch from Jakub Scholz git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4253: add configuration for basic-auth on http / https management and ↵Robert Gemmell2012-09-025-5/+139
| | | | | | set to disabled / enabled respectively by default git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4261: extend BindingURLs to allow specifying exchange ↵Robert Gemmell2012-09-0119-233/+391
| | | | | | | | | durable/autodelete/internal options, use the values when sending exchange declares during producer and consumer creation. Fix ExchangeDeclareHandler to set auto-delete properly (though we dont actually support it, and it was removed from the protocol in 0-9-1). Isolate AMQProtocolHandler use to the 0-8/0-9/0-9-1 specific Session/Producer/Consumer implementations that actually need it instead of letting it bleed through the abstraction and 0-10 implementations that dont use it. Add some other clarifying comments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1379748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4267 Committing a patch on behalf of Weston Price.Rajith Muditha Attapattu2012-08-311-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1379478 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4270: Change web management plugin to log management operational log ↵Keith Wall2012-08-306-34/+75
| | | | | | messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1379139 13f79535-47bb-0310-9956-ffa450edef68