summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4111: add licence header to various filesRobert Gemmell2012-08-1216-2/+318
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1372144 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4195 : Add AMQP 1.0 JMS Client to the release scriptRobert Godfrey2012-08-082-0/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1370693 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4184: enable the notifications beign logged by configuring the ↵Robert Gemmell2012-08-031-0/+5
| | | | | | | | | associated logger merge from trunk r1368597 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1368857 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4173: Switch off subscription.state logger to reduce the verbosity for ↵Robert Gemmell2012-08-031-0/+6
| | | | | | | | | | | client with low prefetch Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> merge from trunk r1368528 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1368854 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4172: HouseKeepingTask now reverts thread name before exiting to reduce ↵Robert Gemmell2012-08-032-2/+51
| | | | | | | | | | | confusion when inspecting thread dumps. Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> merged from trunk r1368519 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1368846 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4182: Set the default minimumAlertRepeatGap value to 30 secondsRobert Gemmell2012-08-034-14/+24
| | | | | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> merged from trunk r1368506 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1368844 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4183 : [Merge from trunk] Implement Session/ConnectionModel interfaces ↵Robert Godfrey2012-08-025-5/+360
| | | | | | in AMQP 1.0 code to restore functionality git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1368514 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4171: Fix enqueue ordering for persistent messsagesRobert Gemmell2012-08-024-22/+165
| | | | | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy <orudyy@gmail.com> merged from trunk r1367990 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1368401 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4167: Fix a cycle in the JSON output of the AlternateExchange attribute ↵Robert Gemmell2012-08-016-14/+71
| | | | | | | | | which would lead to massive/broken output that would cripple the webui. Add checkbox to create a DLQ for the new queue, and display the alternateExchange attribute. Work by myself and Keith Wall. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1367978 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4167: Fix setting of queue attributes via web management console and ↵Robert Gemmell2012-08-019-55/+139
| | | | | | | | | | | rest interfaces. Also import Subscription into the bundle to resolve CDNFExcept ion when viewing a queue with Consumers. Work by Oleksandr Rudyy, Keith Wall and myself. merged from trunk r1367796 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1367973 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4170: prevent JMX threads from spinning in the Queue MBean if the ↵Robert Gemmell2012-08-012-8/+84
| | | | | | | | | content retrieval fails, log an error if it does. Add unit tests to expose issue and verify fix. merged from trunk r1367084 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1367967 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: Patch to extend MaxDeliveryCountTest to check for this bugRobert Gemmell2012-07-312-53/+23
| | | | | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> merged from trunk r1367095 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1367534 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: only keep a hard reference to the meta data if it has yet to be ↵Robert Gemmell2012-07-312-2/+8
| | | | | | | | | persisted merged from trunk r1366339 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1367531 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: Prevent the erroneous re-storing of recovered messages during ↵Robert Gemmell2012-07-314-55/+138
| | | | | | | | | move/copyMessage management functions. merged from trunk r1365832 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1367529 13f79535-47bb-0310-9956-ffa450edef68
* Porting to 0.18 branch.Rajith Muditha Attapattu2012-07-301-9/+12
| | | | | | | | | | QPID-3575 Changed the name of the system prop to "qpid.session.legacy_exception_behaviour". The system prop will now restore the old behavior. (cherry picked from commit 3f3d5165649e78bba094dce6443ff9eeeb56af0c) git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1367309 13f79535-47bb-0310-9956-ffa450edef68
* Porting to 0.18 branch.Rajith Muditha Attapattu2012-07-302-3/+4
| | | | | | | | | | | QPID-3575 The added a system prop to revert to the previous behavior if need be. Modified the SelectorTest#testRuntimeSelectorError test case to suit the new behavior. (cherry picked from commit 1b11ea556b73c4374a1c93d8707dc9aa57b209e1) git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1367308 13f79535-47bb-0310-9956-ffa450edef68
* Porting to 0.18 branch.Rajith Muditha Attapattu2012-07-303-12/+48
| | | | | | | | | | QPID-3575 SessionExceptions (0-10 code path) are now marked as soft errors. When a Session receives an exception it is closed and the exception is notified via the ConnectionListener as well. However the exception is marked as a soft-error, therefore the connection will not be closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1367307 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4151: Add validation for reserved exchange names into addExchange ↵Robert Gemmell2012-07-201-1/+2
| | | | | | | | | | | dialog in web management UI Applied patch from Oleksandr Rudyy <orudyy@gmail.com> merged from trunk r1363307 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1363813 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4149: Add REST functionality to delete exchanges, queues and bindings, ↵Robert Gemmell2012-07-2018-59/+450
| | | | | | | | | | | add queue/exchange/binding delete operations into web UI Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and myself. merged from trunk r1363298 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1363810 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4150: Display the name of queue type key(sortKey,priorities,lvqKey) and ↵Robert Gemmell2012-07-202-2/+27
| | | | | | | | | | | its value Applied patch from Oleksandr Rudyy <orudyy@gmail.com> merged from trunk r1363297 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1363809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998: Add HTTPS support for the REST management interfaceRobert Gemmell2012-07-1921-93/+337
| | | | | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> merged from trunk r1361239 with test from 1363413 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1363418 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4131: On 0-8...0-9-1 code path broker now closes the connection when ↵Keith Wall2012-07-193-21/+40
| | | | | | | | | | the housekeeping thread times out a transaction. AMQChannel now uses AMQProtocolEngine's _receivedLock so that this connection-closing is thread-safe. This gives better compatibility with older clients that do not hand session closes correctly. 0-10 behaviour unaffected by this change. Merged 1360651 from trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1363403 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4114: broker release now includes BDB if optional=true sys property is setKeith Wall2012-07-193-15/+31
| | | | | | | | | | Applied patch from Phil Harvey <phil@philharveyonline.com>. Merged 1359595 from trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1363396 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999: System tests for Rest API, small fixups for the ↵Robert Gemmell2012-07-1334-23/+2304
| | | | | | | | | | | adapters and web ui. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> Merged from trunk r1360121 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1361113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999: get the user name from ↵Robert Gemmell2012-07-131-0/+4
| | | | | | | | | | | HttpServletRequest#getRemoteUser() in SaslServlet Applied patch from Oleksandr Rudyy <orudyy@gmail.com> Merged from trunk r1360120 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1361105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4111: Adjust versions to 0.18 on the release branchJustin Ross2012-07-098-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.18@1359232 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923, QPID-3998: split out the IDs used for QMF (which have a different ↵Robert Gemmell2012-07-0838-168/+217
| | | | | | format) from those for the new config model, make it clearer which is being used where git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358759 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923, QPID-3998: update the Adapter layer to either use UUIDGenerator ↵Robert Gemmell2012-07-0816-87/+203
| | | | | | itself, or use the ID directly from the entity being adapted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358758 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999, QPID-4093: rename new pluginsRobert Gemmell2012-07-08106-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358757 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4113: no longer caching duration override because it broke inter-test ↵Robert Gemmell2012-07-061-9/+9
| | | | | | | | | isolation. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4113: added support for a system property to override all participant ↵Robert Gemmell2012-07-062-1/+81
| | | | | | | | durations. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358281 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4114: add a release-bin target to perftests so we can create a ↵Robert Gemmell2012-07-062-1/+10
| | | | | | | | deployable tar.gz file. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4110: Java Performamce Tests. Cleaning up the subscriptions map at the ↵Keith Wall2012-07-061-0/+1
| | | | | | | | | | end of each test so we don't try to unsubscribe them again after subsequent tests Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4093: [Java Broker] Prevent new queues and exchanges from being created ↵Keith Wall2012-07-063-15/+55
| | | | | | on vhosts that are not active git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358217 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4093: Prevent NullPointerException from ExchangeMBean when target queue ↵Keith Wall2012-07-062-27/+251
| | | | | | does not exist git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358216 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4112: Virtualhosts recover exchanges before queuesKeith Wall2012-07-066-38/+44
| | | | | | | Switch the recover order from queues,exchanges,... to exchanges,queues,.. so that when a queue with an alternate exchange is recovered, the exchange's uuid is already in the registry. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358118 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3977: tidy up chart generation.Keith Wall2012-07-0541-27721/+80
| | | | | | | | | | | Specifically: - chart-summary.html now shows charts in deterministic order (dictated by the chart file names) - We now only have one set of test definitions rather than maintaining both short and standard sets of files. We will use QPID-4103 to adjust the durations across the board. - Charts have been given subtitles, and sloping CategoryLabelPositions to Plots that aren't CategoryPlots. Also added test for statistical bar charts to ChartProductionTest. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357682 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4110 added topic support to performance tests.Keith Wall2012-07-0514-36/+501
| | | | | | | | | | | Specifically: - Added support for creating and tearing down durable subscriptions - Improved IterationValueTest so that we test the format for boolean properties (such as durableSubscription) - Added test and chart definitions Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4109: Re-enable LoggingManagement MBeanKeith Wall2012-07-0542-1296/+1421
| | | | | | | | | | | | | * Re-wire up LoggingManagementMBean. * Centralise log4j specific functionality into LoggingFacade class (moving implementation from LoggingManagementMBean and QpidLog4JConfigurator together). * Implement unit-tests for MBean and Facade levels. Reenforce units tests with system tests testing logging management end to end. * Changed QpidBrokerTestCase so that log4j.configuration is _always_ used to obtain the log4j config file regardless of whether test type is spawned or internal (previously log4j.configuration was respected only for internal tests). This was require to be able to write a logging management system test that could safely change the contents of the log4j config without running the risk of effecting other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357528 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4105: perf test tidy-up code changes:Keith Wall2012-07-048-45/+70
| | | | | | | | | - Now accessing sessions in a threadsafe manner - Corrected spelling of ParticipantAttribute.IS_BROWSIING_SUBSCRIPTION Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357295 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4103: [Java Performance Tests] Allow specifying of test configuration ↵Keith Wall2012-07-0414-53/+1045
| | | | | | | | with javascript Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357294 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4104: Create and bind second queue in test ↵Keith Wall2012-07-041-0/+1
| | | | | | | | StoreOverfullTest#testCapacityExceededCausesBlockTwoConnections Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357292 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add missing Apache licenses to Java source files; correct ↵Keith Wall2012-07-0274-244/+527
| | | | | | positioning of the license wrt to the package statement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4089: Add latency tests into java performance test frameworkKeith Wall2012-07-0242-50/+12574
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356250 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4093: Resolve some outstanding TODOs in new JMX moduleKeith Wall2012-07-0212-57/+150
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356248 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923: remove deprecated test-only AMQQueueFactory method and update ↵Robert Gemmell2012-07-0115-123/+75
| | | | | | tests accordingly, rename method for generating random IDs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355995 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923: update ID generation to be consistent across all ↵Robert Gemmell2012-07-0112-53/+191
| | | | | | queues/exchanges/bindings as opposed to deterministic for some and not for others git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355994 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4090: Bug fix: allow Java client to make connections to Java Broker ↵Keith Wall2012-06-303-9/+93
| | | | | | using CRAM-MD5-HASHED mechanism. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355775 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4902: NPE from SimpleAMQQueue and RejectedExecutionExecution handlingKeith Wall2012-06-305-22/+29
| | | | | | | | Guard against NPE in setLastSeenEntry. #execute() method change to ignore REE in the case where the queue has already been stopped (logged at ERROR otherwise). Change Subscription*#_queueContext member to volatile as this member is get/set from different threads during the queue's lifecycle git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355721 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4099: Fix race condition in test ↵Keith Wall2012-06-291-1/+4
| | | | | | FailoverBehaviourTest.testFlowControlFlagResetOnFailover git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355449 13f79535-47bb-0310-9956-ffa450edef68