summaryrefslogtreecommitdiff
path: root/qpid/java/client
Commit message (Collapse)AuthorAgeFilesLines
...
* Implemented the feature described in QPID-2515Rajith Muditha Attapattu2010-05-182-17/+55
| | | | | | | However a few issues needs to be ironed out - see the JIRA for these issues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945945 13f79535-47bb-0310-9956-ffa450edef68
* I am reverting a change made by martin on rev 942098 (QPID-2586) as the 0-10 ↵Rajith Muditha Attapattu2010-05-141-1/+1
| | | | | | | | | | code path relies on that for failover. Currently due to the above commit all failover related tests are failing. However we will try to address the issue mentioned in QPID-2586. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944457 13f79535-47bb-0310-9956-ffa450edef68
* Removing the examples under this folder as they are not written against a ↵Rajith Muditha Attapattu2010-05-1414-1164/+0
| | | | | | | | | proper API. As of now we only support the JMS API. Therefore we shouldn't carry any other examples as it can create confusion. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2599Rajith Muditha Attapattu2010-05-113-118/+0
| | | | | | | Removing all log4j xml and property files from the code base, except for the ones in test-profile folder and broker/etc folder. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943339 13f79535-47bb-0310-9956-ffa450edef68
* Commiting a patch by Emmanuel Bourg attached to QPID-2594Rajith Muditha Attapattu2010-05-1116-47/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943200 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2559Rajith Muditha Attapattu2010-05-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2586 : Give Client 0-10 close semantics not detactMartin Ritchie2010-05-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@942098 13f79535-47bb-0310-9956-ffa450edef68
* The heartbeat wasn't being set properly and these mistakes went uncaught due ↵Rajith Muditha Attapattu2010-05-061-1/+1
| | | | | | | | | | | | to lack of proper test. I have added a test case to AMQConnectionTest called testHeartBeat. This test fails once in a while even when I have an external script to clean the broker instance. It seems once it's wedged with kill -STOP, it somestimes doesn't get cleaned up properly with kill -9. Despite the occasional failure, I think it's worth to have this test as a lot of our users rely on heartbeat functionality. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@941553 13f79535-47bb-0310-9956-ffa450edef68
* Reverting the change made in rev 939416 as it's the wrong solution.Rajith Muditha Attapattu2010-05-031-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@940672 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2559Rajith Muditha Attapattu2010-04-291-3/+5
| | | | | | | A test case will be checked in shortly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@939416 13f79535-47bb-0310-9956-ffa450edef68
* Modified the toString() to include the options.Rajith Muditha Attapattu2010-04-291-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@939405 13f79535-47bb-0310-9956-ffa450edef68
* Fixed some obvious spelling mistakes and removed commented out code.Rajith Muditha Attapattu2010-04-281-13/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@938732 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused imports.Rajith Muditha Attapattu2010-04-271-22/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@938728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2496Rajith Muditha Attapattu2010-04-271-23/+25
| | | | | | | | | 1. Added comments to explain how the address is handled 2. Now the subscription queue is created only when the destination is used by a consumer. 3. Removed unnessacery logic in createSubscriptionQueue method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@938727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2530 : Updated build system to have a new findSubProjects macro in ↵Martin Ritchie2010-04-261-1/+2
| | | | | | | | | | build.xml that will correctly locate and add all subprojects (those with a build.xml file) to the modules.plugin variable. This will correctly allow new plugins to be automatically picked up without any further build system changes. To further simplify the build process and make better use of the module.depends option the build.deps file has been updated to contain only the libraries the module actually depends on. The dependant libraries due to a module.depends are now automatically pulled in by the build system. A further enhancement would be to do transitive dependencies, which would also allow dependencies to be built when in a sub module directory. e.g. client depends on common, but client.libs should not contain mina, common contains mina and so those libraries are pulled in via the fact that client's module.depends contains common. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@938059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2522Rajith Muditha Attapattu2010-04-211-2/+1
| | | | | | | Commiting patch submitted by Emmanuel Bourg. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@936568 13f79535-47bb-0310-9956-ffa450edef68
* Removed exception listenerJonathan Robie2010-04-161-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935070 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a minor compile issue and changed the prop file to denote the syntax ↵Rajith Muditha Attapattu2010-04-162-3/+3
| | | | | | as "addressing" instead of binding URL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935061 13f79535-47bb-0310-9956-ffa450edef68
* Simplifying with Rajith's helpJonathan Robie2010-04-161-9/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935058 13f79535-47bb-0310-9956-ffa450edef68
* Removed two superfluous comments, added parameters to createSession()Jonathan Robie2010-04-161-5/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935037 13f79535-47bb-0310-9956-ffa450edef68
* "Hello world!" example in JavaJonathan Robie2010-04-162-0/+110
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@935034 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2512Rajith Muditha Attapattu2010-04-161-1/+1
| | | | | | | | | Changed the default destination syntax to addressing. Added qpid.dest_syntax=BURL to the test profiles to ensure all existing tests work. At some point next week the existing binding URL based entries will be prefixed with "BURL:" and the above system property will be removed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934997 13f79535-47bb-0310-9956-ffa450edef68
* 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@934582 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2496Rajith Muditha Attapattu2010-04-155-229/+764
| | | | | | | | | | 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@934563 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@934559 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@934236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2346 : Addressed the problems with ↵Martin Ritchie2010-04-121-0/+6
| | | | | | | | 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
* This is a fix for QPID-2493Rajith Muditha Attapattu2010-04-092-1/+22
| | | | | | | Added test cases as well. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2465: Set javac includeantruntime property in build filesRobert Gemmell2010-03-291-1/+1
| | | | | | | 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
* This is related to QPID-2447Rajith Muditha Attapattu2010-03-222-0/+21
| | | | | | | | | | | | 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
* 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 a fix for QPID-2432Rajith Muditha Attapattu2010-03-051-35/+51
| | | | | | | | | | | 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
* 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@918842 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@916357 13f79535-47bb-0310-9956-ffa450edef68
* Move queue info example to the new management/examples submoduleRobert Gemmell2010-02-181-177/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@911333 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@911306 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2242Rajith Muditha Attapattu2010-02-181-47/+97
| | | | | | | I modified the code to keep a map consisting of exchange_type and exchange_name, so it can be properly used when needed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@911251 13f79535-47bb-0310-9956-ffa450edef68
* added a null check for the exchange class - related to QPID-1831Rajith Muditha Attapattu2010-02-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@911249 13f79535-47bb-0310-9956-ffa450edef68
* I have added the license header to the files included in this commit.Rajith Muditha Attapattu2010-02-123-0/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@909641 13f79535-47bb-0310-9956-ffa450edef68
* Fixed an error in retrieving the SSL parameterRajith Muditha Attapattu2010-02-111-1/+1
| | | | | | | Added a log message in IoTransport to denote successfull creation of SSL Sender and Receiver git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@909150 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2370 : Committing patch to improve broker logging. This will not ↵Martin Ritchie2010-02-051-15/+51
| | | | | | | | | | | | | | cleanly apply to trunk due to IO changes. QPID-1084 : Committed change to prevent flow control threads being created/sent if the channel/session is closed or the state has acutally changed in the mean time. Wrapped .debug statements as per review feedback Merged and adapted these changes from 0.5.x r905592,905596,905605 The AMQMinaProtocolSession Changes were moved to the AMQProtocolEngine git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@906890 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1831Rajith Muditha Attapattu2010-02-033-0/+366
| | | | | | | Contains helper classes for retrieving and holding information from a parsed address string git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@906145 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1831Rajith Muditha Attapattu2010-02-039-91/+632
| | | | | | | | I added the patch attached to the above JIRA with modifications. The modifications include integration with the address parser added by Rafi, and several refactoring and bug fixes to the original patch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@906142 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379 : Initial work on adding QMF and federation to the Java BrokerRobert Godfrey2010-01-312-54/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@904934 13f79535-47bb-0310-9956-ffa450edef68
* Added a null check for connection as some test cases use mock sessions by ↵Rajith Muditha Attapattu2010-01-281-1/+1
| | | | | | passing null as the connection parameter git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@904126 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2363Rajith Muditha Attapattu2010-01-283-3/+24
| | | | | | | I added use_legacy_map_msg_format as a connection paramter to force the client to use the old map message format. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903940 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains the changes agreed upon in QPID-2363 except for the ↵Rajith Muditha Attapattu2010-01-285-43/+19
| | | | | | connection parameter which will be added shortly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903924 13f79535-47bb-0310-9956-ffa450edef68
* forgot to remove the unused boolean flagRajith Muditha Attapattu2010-01-281-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903919 13f79535-47bb-0310-9956-ffa450edef68
* moving the logic of creating the map message to the AMQSession.java.Rajith Muditha Attapattu2010-01-281-16/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903917 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2363Rajith Muditha Attapattu2010-01-279-21/+190
| | | | | | | | I am comitting the patch as it is. I will make the agreed changes in a subsequent commit shortly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903911 13f79535-47bb-0310-9956-ffa450edef68