summaryrefslogtreecommitdiff
path: root/java/common
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-2659: Add AMQStoreException to message storesAndrew Donald Kennedy2010-07-262-0/+97
| | | | | | | This is a sub-class of AMQInternalException, which encapsulates error code 541, or INTERNAL_ERROR. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979315 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2675: Remove obsolete QpidExceptionAndrew Donald Kennedy2010-07-264-191/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979294 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2660: Remove AMQFrameDecodingExceptionAndrew Donald Kennedy2010-07-262-25/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2760: Only client 0-10 session sync should throw any exceptionsAndrew Donald Kennedy2010-07-261-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979290 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Perform session closed checks on executionExceptionAndrew Donald Kennedy2010-07-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979288 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2586: Give Client 0-10 close semantics not detachAndrew Donald Kennedy2010-07-262-6/+8
| | | | | | | | Added a sessionRequestTimeout handler that sets expiry and responds with a sessionTimeout, and makes sessionTimeout set expiry appropriately also. On attach uses the expiry provided, rather than forcing a value of 0. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979283 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2752Rajith Muditha Attapattu2010-07-221-1/+8
| | | | | | | | | Added a test case to create and LVQ from the JMS client using the addressing syntax. Fixed a few bugs in QpidQueueOptions.java. Modified the MapAccessor to allow any value to be retrieved as a String. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966763 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Make Exceptions propagate to client for 0-10Andrew Donald Kennedy2010-07-223-21/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2744 : Add tests for correct exception when null object is set via ↵Martin Ritchie2010-07-222-1/+14
| | | | | | setObjectProperty in Field Table and via JMS Properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2719Rajith Muditha Attapattu2010-07-082-6/+17
| | | | | | | | The SSL receiver now logs the error and also reports it up the stack. It also notifies the sender not to wait any longer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2165 : Ensure each MINANetworkDriverTest uses a new port, to prevent ↵Martin Ritchie2010-07-051-1/+4
| | | | | | the in use errors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960555 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2652 : Update client build.xml to use local property for genration, ↵Martin Ritchie2010-06-141-6/+5
| | | | | | this will prevent the framing being rebuilt on every ant run. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954438 13f79535-47bb-0310-9956-ffa450edef68
* Removing commented out code.Rajith Muditha Attapattu2010-06-071-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952448 13f79535-47bb-0310-9956-ffa450edef68
* Add the ASF License to various classes currently missing itRobert Gemmell2010-06-023-0/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950740 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2526: quote arguments to allow building with spaces in pathRobert Gemmell2010-05-311-3/+3
| | | | | | | Applied patches from Emmanuel Bourg <ebourg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949853 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2606: Access Control ModificationsRobert Gemmell2010-05-311-0/+54
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2611: AMQConnectionFailureException records AMQPConstant message if ↵Robert Gemmell2010-05-241-4/+1
| | | | | | | | | cause is AMQPException Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2608: AMQPException messages contain duplicate error codeRobert Gemmell2010-05-241-8/+10
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947649 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2610: Corrected Map usage and removed Integer object creationRobert Gemmell2010-05-241-3/+3
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947640 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2622 : Add Closeable interface and update Broker components to use it ↵Martin Ritchie2010-05-201-0/+27
| | | | | | and add close method in ApplicationRegistry to safely perform the close. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2599Rajith Muditha Attapattu2010-05-111-31/+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/qpid@943339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2508, Committing a patch from Emmanuel BourgRajith Muditha Attapattu2010-04-222-57/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936575 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2496Rajith Muditha Attapattu2010-04-151-0/+2
| | | | | | | | | | 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-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-2379: add Connection.close() method implementationRobert Gemmell2010-04-091-3/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932428 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2447Rajith Muditha Attapattu2010-03-223-59/+201
| | | | | | | | | | | | 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
* Added test cases for QPID-2444 and QPID-2446Rajith Muditha Attapattu2010-03-191-2/+4
| | | | | | | 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
* 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
* 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
* I have added the license header to the files included in this commit.Rajith Muditha Attapattu2010-02-1212-1/+253
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909641 13f79535-47bb-0310-9956-ffa450edef68
* Fixed an error in retrieving the SSL parameterRajith Muditha Attapattu2010-02-111-0/+2
| | | | | | | 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/qpid@909150 13f79535-47bb-0310-9956-ffa450edef68
* Removed the ClientProperties.java I added to a wrong package nameRajith Muditha Attapattu2010-02-031-142/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906156 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2343Rajith Muditha Attapattu2010-02-034-0/+562
| | | | | | | | Added the Accessor.java to abstract the access strategies. Added several acess strategies including one which takes a list of Accessors. Added a constrcutor in the QpidProperty class to take an Accessor. The other constructor defaults to SystemPropertyAccessor git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379 : Initial work on adding QMF and federation to the Java BrokerRobert Godfrey2010-01-3113-136/+322
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904934 13f79535-47bb-0310-9956-ffa450edef68
* Corrected a mistake I made in rev904375Rajith Muditha Attapattu2010-01-291-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904566 13f79535-47bb-0310-9956-ffa450edef68
* added a null check for connection settingsRajith Muditha Attapattu2010-01-291-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904375 13f79535-47bb-0310-9956-ffa450edef68
* moved pprint from JAddr into separate utility class and use it from Address ↵Rafael H. Schloming2010-01-283-112/+156
| | | | | | to implement a property toString git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904162 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2352Rajith Muditha Attapattu2010-01-284-1/+233
| | | | | | | The SASL encryption layer is not fully functional, however it's dormant unless explicitly enabled using the jvm arg "qpid.sasl_encryption" or the connection parameter "sasl_encryption". git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903942 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2363Rajith Muditha Attapattu2010-01-281-1/+3
| | | | | | | 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/qpid@903940 13f79535-47bb-0310-9956-ffa450edef68
* added boolean literals to java & python address parser; added validation to ↵Rafael H. Schloming2010-01-222-1/+15
| | | | | | python address usage git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902095 13f79535-47bb-0310-9956-ffa450edef68
* The commit contains fixes for QPID-2351, QPID-2350 and some ground work for ↵Rajith Muditha Attapattu2010-01-215-45/+256
| | | | | | | | | | | | | | QPID-2352 - Modified Connection.java to add more than one ConnectionListener. This was done to facilitate the SASL encryption patch - QPID-2352. - Changed the access modifier for getSaslClient method to "public" to allow the SaslClient to be retrieved by the SASL encryption code -QPID-2352. - Introduced ConnectionSettings object to hold all the configuration options. Previous constructor methods remains unchanged. - Modified the ClientDelegate to handle heartbeat and idelTimeout value properly. - Added support to specify config options via the connection URL - QPID-2351 - Added support to handle the heartbeat/idle_timeout options properly in the 0-10 code - QPID-2350. However once QPID-2343 is completed, the code will be further simplified. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901506 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2350Rajith Muditha Attapattu2010-01-201-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901448 13f79535-47bb-0310-9956-ffa450edef68
* added java address parser (QPID-1831)Rafael H. Schloming2010-01-2011-0/+1239
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901268 13f79535-47bb-0310-9956-ffa450edef68
* fixed generics warnings; added join methodRafael H. Schloming2010-01-201-2/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901267 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2343Rajith Muditha Attapattu2010-01-192-2/+154
| | | | | | | | | I have added the basis for using a single config source for resolving property names. We could now add a set of new properties that follows the naming convention agreed on the list while providing support for old property names. Next step is to dig the code for all the properties and populate the correct tables in ClientProperties.java git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901002 13f79535-47bb-0310-9956-ffa450edef68