summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2496Rajith Muditha Attapattu2010-04-151-1/+1
| | | | | | | Fixed a minor bug when processing link props. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934582 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2496Rajith Muditha Attapattu2010-04-157-280/+835
| | | | | | | | | | The changes include support the new addressing structure and most items on the list specified in the JIRA. The following is not included in the commit 1. Add subject as filter in JMS - for exchanges use it as binding key and for queues use it as a selector - this needs to be thought through. Besides JMS already provides a way to handle this. 2. Implementation of DELETE option. Further testing needs to be done to figure out the impact. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934563 13f79535-47bb-0310-9956-ffa450edef68
* Made minor enchancements to the following support classes.Rajith Muditha Attapattu2010-04-152-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934560 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2496Rajith Muditha Attapattu2010-04-153-2/+18
| | | | | | | This allows a user to pass in an address string when creating a queue or topic using the JMS 1.0 methods (session.createQueue(String s) and session.createTopic(String s) ) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934559 13f79535-47bb-0310-9956-ffa450edef68
* Temporarily disabled the RecoverTests until properly investigated.Rajith Muditha Attapattu2010-04-151-0/+4
| | | | | | | | | The same tests are working well against the c++ broker. These tests are failling due to the commit made in rev934236 See QPID-2471 for more details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934556 13f79535-47bb-0310-9956-ffa450edef68
* Temporarily disabled the RecoverTests until properly investigated.Rajith Muditha Attapattu2010-04-151-0/+5
| | | | | | | | | The same tests are working well against the c++ broker. These tests are failling due to the commit made in rev934236 See QPID-2471 for more details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934287 13f79535-47bb-0310-9956-ffa450edef68
* Commiting the patch attached to QPID-2471Rajith Muditha Attapattu2010-04-145-11/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2503 : Updated CommandLineParser to output '-' in front of options.Martin Ritchie2010-04-141-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934005 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2484 : Commit from Andrew Kennedy to work around the inability to ↵Martin Ritchie2010-04-123-15/+17
| | | | | | | | toString sent messages, the test now use getJMSMessageID() rather than toString(). Merged from 0.5.x-dev rev 931508 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933289 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2438 : Implemented option 1. Fixed the divide to correct our message size.Martin Ritchie2010-04-121-2/+2
| | | | | | Merged from 0.5.x-dev rev 920765 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933288 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2424 : Update tests to correctly handle timestamps from stat that are ↵Martin Ritchie2010-04-122-3/+7
| | | | | | | | | | in nano seconds rather than millis. Fixed GC_FREQ generation it was not using GC_TIME.log as input Merged from 0.5.x-dev rev 920394 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933287 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2421 : Fixed preFill when numConsumers > 1. This requried the ↵Martin Ritchie2010-04-126-45/+131
| | | | | | | | | | introduction of a new phase in TestThreadAware : postThreadSetup. This ensures that all the threads have correctly setup their clients and so registered their topic subscribers. We can then preFill in the postThreadSetup and reliably receive the data from each of the client's publishers. Added new sendOnly parameter to allow send only testing with topics where numConsumers must be set. Merged from 0.5.x-dev rev 920389 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933286 13f79535-47bb-0310-9956-ffa450edef68
* 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@929979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2360, QPID-2361: 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@923433 13f79535-47bb-0310-9956-ffa450edef68