summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-2425 : Update to automate the gathering of throughput min/max/avg.Martin Ritchie2010-04-121-1/+23
| | | | | | Merge 0.5.x-dev rev 917585 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933285 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2425 : Augment script to extract latency from csv file. Also updated ↵Martin Ritchie2010-04-123-20/+113
| | | | | | | | processAll script to colate the statistics for the given run. Merged from 0.5.x-dev rev 917482 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933284 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2425 : Augmented JUnit-Toolkit to emit latency information already ↵Martin Ritchie2010-04-128-17/+158
| | | | | | | | gathed by the PingAsyncTestPerf for each batch. Merged from 0.5.x-dev r 917464 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933283 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2424 : Augment processing scripts to generate min/max/avg stats file ↵Martin Ritchie2010-04-122-26/+297
| | | | | | | | for CPU/MEM, GC-Freq,GC-Duration, Heap-Size. Merged from 0.5.x-dev rev 917452 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933282 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2346 : Addressed the problems with ↵Martin Ritchie2010-04-124-52/+188
| | | | | | | | AcknowledgeAfterFailoverOnMessageTest, The issues were the same as AckAfterFailoverTest. So used same prepBroker approach. Test also need timeout increased as broke restarts took to long for a message to be sent/received. Finally the last change was thatthe queue needed to be re-declared so that the final queue depth check would have a queue to query. Merged from 0.5.x-dev @ r907004 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933281 13f79535-47bb-0310-9956-ffa450edef68
* Modified the test to make the results more predictable.Rajith Muditha Attapattu2010-04-091-19/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932634 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2493Rajith Muditha Attapattu2010-04-093-1/+134
| | | | | | | Added test cases as well. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add ability to respond to method requests with non-zero status ↵Robert Gemmell2010-04-093-18/+76
| | | | | | codes, use to signal unimplemented methods. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add Session.close() method implementationRobert Gemmell2010-04-096-13/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932429 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add Connection.close() method implementationRobert Gemmell2010-04-096-7/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932428 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2361: actually write out the required default virtualhost propertyRobert Gemmell2010-04-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931132 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2361: Fix to correctly set default virtualhost name in external ↵Robert Gemmell2010-04-052-0/+9
| | | | | | | | | configuration file Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@930877 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2472: correction to count direction commentRobert Gemmell2010-04-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@930016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2472: Correct log4j XML configuration commentsRobert Gemmell2010-04-011-26/+37
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@930015 13f79535-47bb-0310-9956-ffa450edef68
* Add a java-derby.0.10 test profileRobert Gemmell2010-04-011-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929981 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2478: exclude testGetDestinationWithCustomExchange() from 0-8/9 runs ↵Robert Gemmell2010-04-013-1/+8
| | | | | | against the java broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929980 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2418: revert changes to testResubscribeWithChangedSelector()Robert Gemmell2010-04-011-11/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2630, QPID-2631: Restore the virtualhosts.xml file. When a ↵Robert Gemmell2010-03-3033-842/+1500
| | | | | | | | | virtualhosts.xml file is specified load it as its own Configuration object to ensure the property heirarchy is not lost. Enforce that virtualhost config can only be specified in either the main config.xml file or the virtualhosts.xml file, but not both. Allow the virtualhosts.xml file to be a combined configuration and use to provide override abilities for testing. Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929136 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417 , QPID-2418 , QPID-2449 : expand topic testing, specifically ↵Robert Gemmell2010-03-304-5/+392
| | | | | | around the change and unsubscription of durable subscriptions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2465: Set javac includeantruntime property in build filesRobert Gemmell2010-03-294-4/+4
| | | | | | | Applying patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@928701 13f79535-47bb-0310-9956-ffa450edef68
* Added test case for QPID-2242 using a custom exchange to verify the fix.Rajith Muditha Attapattu2010-03-231-0/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@926829 13f79535-47bb-0310-9956-ffa450edef68
* Added a jndi file, README and log4j file needed for testkit.Rajith Muditha Attapattu2010-03-233-0/+216
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@926804 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add the queue UnackedMessage countsRobert Gemmell2010-03-236-15/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@926530 13f79535-47bb-0310-9956-ffa450edef68
* Added the new certificates.Rajith Muditha Attapattu2010-03-2216-0/+99
| | | | | | | | The keystore now contains multiple certificates to enable testing of QPID-2447 It also indirectly tests part of QPID-2445 (retrieving of the client identity). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@926383 13f79535-47bb-0310-9956-ffa450edef68
* Removed the old ssl certificates.Rajith Muditha Attapattu2010-03-228-33/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@926381 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2447Rajith Muditha Attapattu2010-03-226-59/+265
| | | | | | | | | | | | Added QpidClientX509KeyManager (a customer KeyManager) which will return the ssl_client_alias specified in the Connection URL. Note the alias here is actually the certificate name and not the alias used in the keytool. I also fixed a minor bug in SSLUtil to retrive the identitiy of the local certificate instead of the peer's certificate. Added a test for the above JIRA. Added AMQTestConnection_0_10 which allows the SecurityLayer to be exposed for testing purposes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@926380 13f79535-47bb-0310-9956-ffa450edef68
* Modified SSLTest to temporarily set all ssl jvm args to invalid values, to ↵Rajith Muditha Attapattu2010-03-191-8/+16
| | | | | | test all connection level ssl params. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@925473 13f79535-47bb-0310-9956-ffa450edef68
* Added test cases for QPID-2444 and QPID-2446Rajith Muditha Attapattu2010-03-192-2/+114
| | | | | | | Modified SSLUtil to handle the case where distinguished name only contains the CN component. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@925469 13f79535-47bb-0310-9956-ffa450edef68
* Added support for QPID-2444 QPID-2446Rajith Muditha Attapattu2010-03-192-38/+91
| | | | | | | | | | 1. You could specify ssl_verify_hostname as a Broker argument in the Connection URL to explicitly enable SSL hostname verification. 2. You could specify a per connection trust store and key store to allow each connection to use it's own client certificate. trust_store,trust_store_passowrd, key_store, key_store_password could be specified as Broker arguments in the Connection URL. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@925289 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2444 and QPID-2445Rajith Muditha Attapattu2010-03-195-9/+48
| | | | | | | | | If SASL EXTERNAL is used the CN and DC components will be extracted from the clients certificate to construct a user ID which will then be set in the out going messages. This also contains support for verifying the server when using SSL. The hostname is checked against the server certificates CN. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@925288 13f79535-47bb-0310-9956-ffa450edef68
* Did some general refactoring to support QPID-2444 QPID-2445 QPID-2446 QPID-2447Rajith Muditha Attapattu2010-03-1911-52/+575
| | | | | | | | | | 1. Provided a mechanism to register any transport using qpid.transport jvm arg. 2. Created a TransportBuilder class which abstracts the building of receiver and sender pipes. 3. Created a ConnectionSettings class that contains all connection level parameters. This enhancement is also required to support QPID-2343 4. Added SecurityLayer class that adds the nessacery codecs and cordination to retrive the userID for mechanisms like EXTERNAL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@925261 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: remove mistakingly commited temporary logging additionsRobert Gemmell2010-03-181-8/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@924934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add Binding.msgMatched() support to the ManagementExchange. ↵Robert Gemmell2010-03-185-102/+47
| | | | | | Remove the ManagementExchange from the list of creatable exchange types returned for use by the JMX management console. Remove the use of TopicBinding's and then remove the now-unused class entirely. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@924882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2397: add Binding.msgMatched() support to the TopicExchange, and remove ↵Robert Gemmell2010-03-185-58/+97
| | | | | | its internal usage of the TopicBinding class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@924881 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: remove some unused parametersRobert Gemmell2010-03-181-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@924880 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add Binding.msgMatched() support to the HeadersExchangeRobert Gemmell2010-03-186-206/+268
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@924879 13f79535-47bb-0310-9956-ffa450edef68
* Updated the references to the new SSL package.Rajith Muditha Attapattu2010-03-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@923434 13f79535-47bb-0310-9956-ffa450edef68
* Moved the SSL code under the security package.Rajith Muditha Attapattu2010-03-153-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@923433 13f79535-47bb-0310-9956-ffa450edef68
* This is related to rev 922479Rajith Muditha Attapattu2010-03-151-4/+122
| | | | | | | This change should have been commited with the above revision. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@923241 13f79535-47bb-0310-9956-ffa450edef68
* Added utility methods to be used in providing a solution for QPID-2445Rajith Muditha Attapattu2010-03-131-0/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@922479 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: only inc/dec the outstanding txn count if the channel/session is ↵Robert Gemmell2010-03-102-12/+25
| | | | | | transactional, obviously. Inc txnStart on ServerSession when selectTX is invoked. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@921371 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add getDelivered() to SubscriptionRobert Gemmell2010-03-104-5/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@921370 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2430: when the AcceptMode=NONE, dont add the ↵Robert Gemmell2010-03-101-1/+1
| | | | | | MessageAcceptCompletionListener if AcquireMode is not PRE_ACQUIRED, fallback to just using the restorecredit listener if using WINDOW flow mode git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@921369 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: ensure SubFlushRunner runnable changes thread name back to ↵Robert Gemmell2010-03-101-17/+24
| | | | | | previous value, use corrects Logger for the class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@921368 13f79535-47bb-0310-9956-ffa450edef68
* Fixed test cases to include the queue name in the expected error stringRajith Muditha Attapattu2010-03-081-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@920466 13f79535-47bb-0310-9956-ffa450edef68
* Added "testActiveTTLwithDurableSubscription" to the CPPExcludes listRajith Muditha Attapattu2010-03-081-1/+4
| | | | | | | Look at QPID-1575 for more details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@920365 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2432Rajith Muditha Attapattu2010-03-052-37/+77
| | | | | | | | | | | Modified the XAResourceImpl to maintain the timeout value and set it to any XID in the start method if the time value > 0 Also the XID nulled after commit, rollback and forget, to prevent a timeout being set on an invalid xid. The setTimeout method will only set the timeout if xid is not null and if the timeout value is different from the previous value. Modified the test cases in FaulTest to adhere to the correct behaviour and also added a new test case to cover the issue mentioned in the JIRA. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@919666 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: defer getShadow property to ConnectionConfig objects instead of ↵Robert Gemmell2010-03-045-3/+18
| | | | | | hardcoding in the delegate git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918944 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: move getCreateTime() up to the ConfiguredObject supertype, add ↵Robert Gemmell2010-03-0421-27/+50
| | | | | | implementation to remaining *Config implementors and their associated QMFService delegates git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918943 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add BytesTxnDequeues and MsgTxnDequeues on Queue delegateRobert Gemmell2010-03-0412-10/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918942 13f79535-47bb-0310-9956-ffa450edef68