summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@918942 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add BytesTxnEnqueues and MsgTxnEnqueues on Queue delegateRobert Gemmell2010-03-0411-14/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918941 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: increase the QMF management update interval from 10ms to 10secRobert Gemmell2010-03-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918940 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add TxnStarts, TxnCommits, TxnRejects, TxnCount on Session delegateRobert Gemmell2010-03-044-10/+111
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918939 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379: add ConsumerCountHigh to Queue delegateRobert Gemmell2010-03-044-3/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918938 13f79535-47bb-0310-9956-ffa450edef68
* BasicMessageProducer_0_10.java contains a fix for QPID-2428.Rajith Muditha Attapattu2010-03-043-4/+19
| | | | | | | | | I also changed the exception handling code to use initCause() instead of setLinkedException as the latter does not show the 'cause' properly. AMQSession_0_10.java was modified to include the 'name' in the error message thrown if the address does not resolve to an exchange or a queue. AddressHelper.java - added a null check. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918842 13f79535-47bb-0310-9956-ffa450edef68
* Moved the scripts and config files to the tools module as the Perf Producer ↵Rajith Muditha Attapattu2010-03-045-214/+4
| | | | | | and Consumer are now housed under the tools module. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918790 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417: add a volume test for transient message delivery using topics + ↵Robert Gemmell2010-03-032-0/+348
| | | | | | selectors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918556 13f79535-47bb-0310-9956-ffa450edef68
* Moved the slf4j-log4j deps to the common libs. If one only builds the client ↵Rajith Muditha Attapattu2010-03-021-2/+2
| | | | | | and common modules it doesn't work as slfj will complain that it doesn't have a binding git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918215 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417: update exclude files with correct test name and locations to ↵Robert Gemmell2010-02-263-2/+4
| | | | | | allow running the DurableSubscriberTest on the derby profile once QPID-2422 is fixed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417: add a test that restarts the broker at the end to validate the ↵Robert Gemmell2010-02-251-4/+27
| | | | | | store if it is persistent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916359 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417: add ability to run DurableSubscriberTest on the java-derby ↵Robert Gemmell2010-02-254-2/+11
| | | | | | profile once QPID-2422 is fixed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916358 13f79535-47bb-0310-9956-ffa450edef68
* Add topic entry required by the MultiMessageDispatcher exampleRobert Gemmell2010-02-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916357 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417: unsubscribe the durable subscriptions when done to delete the queuesRobert Gemmell2010-02-251-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916356 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2421 : Update to expose the PingClient count so we can set the ↵Martin Ritchie2010-02-252-1/+6
| | | | | | correlationID correctly for test with > 1 -c[] value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2421 : Augmented Async Performance test to take new 'preFill' value, ↵Martin Ritchie2010-02-256-13/+300
| | | | | | | | | | | | | | | | that puts <n> messages onto the broker destination before the test begins. When running on a non-TX'd producer session the use of the new 'delayBeforeConsume' will pause the client for <n> ms before the test starts, giving the producer session time to flush. This new functionality can be explored with the new 'testWithPreFill' script. The 'numConsumer' parameter was augmented to allow a 0 value which disables all the consumers. This can be seen with the 'fillBroker' script. To complement that a new 'consumeOnly' boolean was added to disable sending messages. This can be seen with the 'drainBroker' scripts. All scripts are located in java/perftests/etc/scripts Merged from 0.5.x-dev commit r916304 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916318 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417: add TTL testing of durable topic subscriptionRobert Gemmell2010-02-241-0/+155
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@915867 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417: update the auto-ack tests to leave an unacked message on the ↵Robert Gemmell2010-02-241-23/+80
| | | | | | durable subscriptions queue between disconnect and reconnect, create consumer1 on the correct connection in SessionPerConnection tests, add single connection NO_ACK test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@915866 13f79535-47bb-0310-9956-ffa450edef68
* Move queue info example to the new management/examples submoduleRobert Gemmell2010-02-181-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911333 13f79535-47bb-0310-9956-ffa450edef68
* Add some initial examples of using jmx to add new queues and delete messages ↵Robert Gemmell2010-02-183-0/+295
| | | | | | from tmp_* queues. Create new management/examples submodule to hold them git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911326 13f79535-47bb-0310-9956-ffa450edef68
* Adding example jmx script for extracting queue information form the Java ↵Marnie McCormack2010-02-181-0/+177
| | | | | | broker for monitoring/stats purposes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911306 13f79535-47bb-0310-9956-ffa450edef68