summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-4617 Added a null check to clear ReplyTo.Rajith Muditha Attapattu2013-03-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4617 null is now returned when exchange and routingkey are set toRajith Muditha Attapattu2013-03-011-1/+1
| | | | | | null in a replyTo. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4608 Added code to handle TransportException and any otherRajith Muditha Attapattu2013-02-281-0/+8
| | | | | | RuntimeException. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451362 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4609: Use correct synchronization lock in BrokerAdapter#getKeyStores().Alex Rudyy2013-02-281-1/+1
| | | | | | Fix suggested by Jakub Scholz git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4608 Moved the exception handling code to a method. The method alsoRajith Muditha Attapattu2013-02-282-22/+26
| | | | | | | | | | checks for authorization denied exceptions and throws a JMSSecurityException instead of a regular JMSException. This allows applications that are specifically looking for authorization failures to handle that situation.There will not be any changes required for other applications. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4596: Add java broker ability to create/delete/update virtual hosts, ↵Alex Rudyy2013-02-2724-225/+1054
| | | | | | authentication providers and ports via REST interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450881 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4606: Java performance test unit test timeouts increased to allow for ↵Phil Harvey2013-02-273-7/+6
| | | | | | slow CI servers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450696 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4605: Java performance test and visualisation unit tests now subclass ↵Phil Harvey2013-02-2755-169/+154
| | | | | | QpidTestCase so that we benefit from helpful logging in QpidTestCase git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450687 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4602: Fix broker startup when default log4j configuration is used and ↵Alex Rudyy2013-02-264-17/+58
| | | | | | fix java system tests to pass correctly log4j configuration path to the spawn broker if it contains spaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450151 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4597: Java performance tests now support visualisation of timeseries data.Phil Harvey2013-02-2332-215/+885
| | | | | | | Refactored ChartBuilder hierarchy to reduce duplication, and renamed several classes to make them more intuitive. Added timeseries chart definitions in perftests/etc/c/timeseries/. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1449342 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-4594] Add command line option to start java broker in a management ↵Alex Rudyy2013-02-2216-15/+919
| | | | | | mode and options to set JMX and HTTP ports in management mode git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1448866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4593: add command line argument to pass path to initial storeAlex Rudyy2013-02-2013-151/+668
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1448306 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: Add getter to broker launcher to expose broker configured objectAlex Rudyy2013-02-193-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1447820 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: Introduce a configuration store in java broker allowing runtime ↵Alex Rudyy2013-02-19344-10336/+13614
| | | | | | modifications and replace existing xml file configuration with json configuration store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1447646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4533: Java Performance Tests - added Derby to module classpaths so DB ↵Phil Harvey2013-02-161-2/+2
| | | | | | persistence can be used from a standalone perftest installation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1446845 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4533: Java Performance Tests - addressed bug in JdbcSeriesBuilder that ↵Phil Harvey2013-02-098-19/+203
| | | | | | caused it to ignore the CSV series directory. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1444335 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4570 : Multiple AMQP1-0 Connections cause error if JMX management is ↵Robert Godfrey2013-02-072-5/+3
| | | | | | enabled git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443442 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4312: use the JMS Queue#getQueueName() implementation instead of ↵Robert Gemmell2013-02-051-1/+1
| | | | | | getName to ensure we actually report the queue name git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4312: reduce visibility and narrow argument type for new check methods, ↵Robert Gemmell2013-02-054-34/+95
| | | | | | add some unit testing of config and cleanup IDT systest a little git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4566 Allow a non UUID String to be set as message-id. This isRajith Muditha Attapattu2013-02-041-10/+9
| | | | | | | | | required when Qpid Messages are sent using a 3rd party JMS Message Producer. Ex a Message Bridge. This doesn't affect AMQP 0-10 compliance as the sender implementation will always assign an UUID string as the message-id. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4312 : [Java Client] add option for verification of queue existence ↵Robert Godfrey2013-02-049-29/+180
| | | | | | during creation of a MessageProducer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4533: fixed bug in perftest ResultsDbWriter's default run ID to make it ↵Phil Harvey2013-01-302-5/+23
| | | | | | timezone-agnostic git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1440399 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4533: Modified perftests to support writing results to a database, and ↵Phil Harvey2013-01-3030-172/+1198
| | | | | | | | | enhanced visualisation-jfc to allow it to read these results. Previously only CSV output/input was supported by these modules respectively. Also modified files in perftests/etc/ to allow convenient running of perftests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1440312 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4541 Added the ability to turn off replay at the time the sessionRajith Muditha Attapattu2013-01-254-8/+36
| | | | | | | | is created. The XASessionImpl will use this feature to turn off replay on the underlying JMS session. This prevents messages being replayed outside the boundaries of the XA transaction. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1438725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4550 : AMQP 1.0 Persistent Messages cause failure on restartRobert Godfrey2013-01-257-19/+137
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1438556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4281: Fix setting of log4j configuration in system tests. While testing ↵Alex Rudyy2013-01-2411-73/+302
| | | | | | | | the fix, some tests were found to be failing on spawned profile due to config problems - also fixed these. Applied patch from Philip Harvey <phil@philharveyonline.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1438053 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4540 The deletion of the subscription queue is now handledRajith Muditha Attapattu2013-01-163-1/+12
| | | | | | | separately. Enchnaced an existing test case to ensure this is handled properly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1434492 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4432: addressed excessive logging in AMQStateManagerPhil Harvey2013-01-161-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433911 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3569: Refactor TransactionTimeoutKeith Wall2013-01-0719-229/+477
| | | | | | | | | | | | | * Moved the duplicated transactionUpdateTime member from AMQChannel/ServerSession to ServerTransaction. ** LocalTransaction now maintains advances transactionUpdateTime on each enqueue/dequeue operation ** Other non-transactional ServerTransaction impls return transactionUpdateTime of 0 (as they already do for transactionStartTime). ** Changed LocalTransaction so that transaction start time is recorded on first enqueue or dequeue operation (rather than only first enqueue) * Moved duplicated logic from AMQChannel/ServerSession#checkTransactionStatus to TransactionTimeoutHelper * Make TransactionTimeoutTests use a durable queue so it is actually testing with store transactions. * Removed warnings if operational logging is turned off. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1429726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4491Weston M. Price2013-01-041-14/+12
| | | | | | | *Minor documentation fixes for property names that have changed over time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1428944 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4492Weston M. Price2013-01-041-0/+183
| | | | | | *Added README documentation for JBOSS/EAP6 environment. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1428915 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4318Weston M. Price2013-01-042-10/+183
| | | | | | | | *Added support to QpidConnectionFactoryProxy for Queue/TopicConnectionFactorys *Added simple system test git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1428896 13f79535-47bb-0310-9956-ffa450edef68
* 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