summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-4527: update the JCA module to use the standard build target ↵Robert Gemmell2013-01-043-21/+16
| | | | | | | | | implementation, rather than replacing it. - Overrides the output destinations (to give the filenames 'ra' instead of 'jca' as it was doing) and uses the postbuild target to additionally create the rar and examples. - Moves the META-INF resources for the rar file to their own directory, removing need to specifically prevent their inclusion in the jar file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1428787 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4526: stop deleting (and logging that we are) the scratch profile ↵Robert Gemmell2013-01-041-3/+2
| | | | | | properties file so that it then gets (re)created, just use force the concatenation without appending, i.e overwrite. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1428785 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4526: stop logging warnings about <module>/resource dirs not existingRobert Gemmell2013-01-041-10/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1428784 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4525: remove the ChannelCloseTest and ChannelCloseOkTest system testsRobert Gemmell2013-01-044-640/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1428774 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4517: modify broker log4j configuration to use logger names instead of ↵Phil Harvey2013-01-032-4/+4
| | | | | | file and line numbers, for performance reasons. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1428170 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker] Perf Tests - tweak queue drain algorithm to better ↵Keith Wall2012-12-272-13/+25
| | | | | | handle a slow broker (exposed by new batch size tests) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1426152 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4521: ensure that the routing key is properly passed to the alternate ↵Robert Gemmell2012-12-232-1/+98
| | | | | | Topic exchange by the adapter. Add unit tests for the adapter methods. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1425515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4502: [Java Broker] Document DLQ/Maximum Delivery Count featuresKeith Wall2012-12-221-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1425377 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4519: return true for VirtualHost MBean isStatusEnabled, dont update ↵Robert Gemmell2012-12-201-3/+2
| | | | | | stats when doing so, and stop using a synchronized method as a result git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424763 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4512: stop the delete visitor indicating completion upon the first ↵Robert Gemmell2012-12-202-4/+55
| | | | | | matching queue entry, or any for that matter: it needs to check them all. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424757 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker] Added new perf test script to test the varying ↵Keith Wall2012-12-209-98/+377
| | | | | | | | | consumer/producer batch size independently of the other. This simulates a use-case that has been problematic for previous Qpid versions. Changed visualisation-jfc to allow the perf-test result summary page title to be specified from the command line. Converted BatchSize script from JSON to Javascript. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4513: improve client handling of discovery that its SASL Provider has ↵Robert Gemmell2012-12-203-10/+204
| | | | | | | | | | already been registered when it attemts to do so, as occurs in cases with multiple classloaders. Verifies if the previously registered Provider matches the new Provider trying to be registerered; accepts it if it does, logs a warning if it doesnt (and logs the properties at debug to aid discovering why), and now only logs the error if we cant determine either way (rather than all the time as it did previously). Also corrects and clarifies some of the other existing logging to make it clearer. Work by Alex (orudyy) and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4503: Producer transaction timeout detection feature may produce ↵Keith Wall2012-12-202-0/+5
| | | | | | | | spurious open/idle alerts and close client connections/sessions without good cause Address second race condition: Transaction update time should be reset on session commit or session rollback git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424427 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4515: improved broker logging, particularly when receiving/sending AMQP ↵Phil Harvey2012-12-207-54/+151
| | | | | | | | 0-8/0-9 frames and when committing transactions. Work done by Keith (kwall) and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4511: move the broker-plugins lib dir under build/scratch to prevent it ↵Robert Gemmell2012-12-193-5/+5
| | | | | | | | being included in the binary produced by 'ant release'. Updates the 'if' conditional on the copy target for compatibility with Ant versions < 1.7.1. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4458: remove unused subdirs and files from gentools then move the ↵Robert Gemmell2012-12-1846-82/+8667
| | | | | | | | | | | remainder src to java/common/gentools. - Integrate into the java common module build process - Retrieve the Velocity dependencies using Ivy. - Remove unused java/common/protocol-version.xml and cpp/src/generate.sh files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423705 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4503: Producer transaction timeout detection feature may produce ↵Keith Wall2012-12-143-20/+13
| | | | | | | | | | | | | | | | suprious open/idle alerts and close client connections/sessions without good cause Race conditon existed between the initial check that determined transaction timeout detection was required and the subsequent re-observeration required to perform the open and idle calculation. In the unlucky timing, the state of the transaction changed between these two points. (To produce the time-since-epoch type the transaction needs to be committed between these two points). Changed checkTransactionStatus so that transactionStartTime and transactionUpdateTime are observed once only. There still exists the possibility that the transaction status change change between the reading of transactionStartTime and transactionUpdateTime times, but I do not see how this could produce a suprious report (or close). The alternative (to take a locks to ensure consistent observations are made) seems unjustifiably costly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1421884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: add missing licence headers to various files in the Java treeRobert Gemmell2012-12-1116-8/+314
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420285 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4496 Fixed a typo in the error message and adjusted the ifRajith Muditha Attapattu2012-12-101-2/+8
| | | | | | condition to confirm to the Qpid coding style. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1419708 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: only perform the uptodate check on dojo at the precompile point, ↵Robert Gemmell2012-12-091-3/+5
| | | | | | | | | after the lib will have been downloaded and put in place by Ivy. Prevents failure at the management-http module when using a fresh checkout and running a non-build target (e.g clean) before the first build operation is performed, as encountered occasionally on CI nodes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1419141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3317 Adjusted the test after adding the exception for marking tempRajith Muditha Attapattu2012-12-071-1/+1
| | | | | | queues as durable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418543 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4497 Allow the exclusive property to be set for the subscriptionRajith Muditha Attapattu2012-12-072-1/+6
| | | | | | | | queue. QPID-3317 We now throw an exception if a subscription queue is marked durable without providing a queue name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418541 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4496 Set the assert property to false when checking if a queueRajith Muditha Attapattu2012-12-071-5/+5
| | | | | | doesn't exist. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418540 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4496 Added error handling to cover the cases mentioned in the JIRA.Rajith Muditha Attapattu2012-12-072-12/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418539 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA added consumer.close() and producer.close() to Drain and Spout.Rajith Muditha Attapattu2012-12-052-1/+2
| | | | | | | | | | This allows proper demonstration of the delete keyword in addressing. Allthough session.close() does call consumer and producer close, the session is marked closed, thereby preventing the qeueue or exchange delete being sent. This is a safety mechanism to prevent a deadlock situation in the client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1417692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4454 : [AMQP 1.0 JMS Client] Applied patch (with modifications) to ↵Robert Godfrey2012-12-0510-42/+316
| | | | | | annotate messages with the implied type of to and reply-to destinations git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1417368 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4489: ensure the IoSender is closed when the IoReceiver closes before a ↵Robert Gemmell2012-12-031-1/+23
| | | | | | protocol version initiation is received git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1416716 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: update description to correctly reflect the test behaviourRobert Gemmell2012-12-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1416715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4483: Add system tests for Sasl authentication in Java Broker web ↵Alex Rudyy2012-11-291-1/+389
| | | | | | management console git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415148 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4441: add system test verification of the priority queue and queue with ↵Robert Gemmell2012-11-292-3/+118
| | | | | | DLQ following the store upgrade git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4476: ensure that the Principal in the AuthenticationResult has the ↵Robert Gemmell2012-11-271-31/+66
| | | | | | same format (the username) in both sasl and non-sasl cases, reworking handling of authentication success/failure/error to improve user experience slightly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4475: enable the web management UI support the PLAIN mechanism for SASL ↵Robert Gemmell2012-11-272-2/+41
| | | | | | login git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4472 : [Java Test] Fix MultiVersionProtocolEngineTest to work with AMQP ↵Robert Godfrey2012-11-261-0/+26
| | | | | | 1.0 connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4474: quote the name within the JMX ObjectName for the ↵Robert Gemmell2012-11-264-4/+8
| | | | | | BDBHAMessageStore MBean git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4473: Resolve 'stream might not be closed' issue reported by findbugs ↵Alex Rudyy2012-11-261-1/+8
| | | | | | tool in JMSObjectMessage git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4472 : [Java Broker] NPE with non-SASL AMQP 1.0 ConnectionRobert Godfrey2012-11-262-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413627 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Exclude test which requires client initiated 0-10 heartbeats for ↵Robert Godfrey2012-11-261-0/+4
| | | | | | CPP broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413567 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Addressed review commentsRobert Godfrey2012-11-265-8/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Added Java system test for heartbeatingRobert Godfrey2012-11-2610-131/+159
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4431: base the maven output on the next release version (even) rather ↵Robert Gemmell2012-11-252-1/+4
| | | | | | than the development version (odd) number so the snapshots versions are meaningful git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4456: ensure the qpid-server.bat script for windows picks up the broker ↵Robert Gemmell2012-11-251-2/+2
| | | | | | plugins. Update example output from running the startup commands." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413444 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4338: [Java Perf Tests] Clarify chart titlesKeith Wall2012-11-252-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413439 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4338: [Java Performance Charts] Renamed SeriesStokeAndPaintAccessor and ↵Keith Wall2012-11-256-26/+28
| | | | | | | | modified its api to make its intention more obvious. Also minor code tidy-ups in ColorFactory. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413438 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4470: Allow 'maximum queue depth' queue alerting threshold to be set ↵Keith Wall2012-11-253-14/+58
| | | | | | from JMX/AMQP git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Implement hearbeating in Java Broker (all protocol versions) and ↵Robert Godfrey2012-11-2524-49/+781
| | | | | | Java Client (0-8/9/9-1 path) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413376 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4468: restore connection level ssl option to provide compatibility with ↵Robert Gemmell2012-11-256-3/+147
| | | | | | older client configuration, add ability to override brokerlist ssl option git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4469: remove the unused sslContext parameter in ↵Robert Gemmell2012-11-255-29/+5
| | | | | | OutgoingNetworkTransport#connect() and cleanup associated dead code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4461: remove spaces to ensure the log prefix/suffix options are passed ↵Robert Gemmell2012-11-231-4/+4
| | | | | | correctly following prior changes to argument construction git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412822 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4458: revert changes in r1412380, a CI build failure after a clean ↵Robert Gemmell2012-11-235-8/+77
| | | | | | checkout showed there is a usage path the changes didnt cover git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4458: remove the gentool/lib folder, retrieve the velocity dependencies ↵Robert Gemmell2012-11-225-77/+8
| | | | | | using Ivy, remove seemingly unused common/protocol-version.xml file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412380 13f79535-47bb-0310-9956-ffa450edef68