summaryrefslogtreecommitdiff
path: root/qpid/java/client
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1430: fixed an NPE on connection closeRafael H. Schloming2008-11-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@711377 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1420: swapped out the size limited ArrayBlockingQueue with a ↵Rafael H. Schloming2008-10-301-3/+4
| | | | | | LinkedBlockingQueue, this eliminates the need to coordinate the size of the synchronousQueue with the max prefetch, and hopefully prevents the deadlock described in the JIRA git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@709244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1339:Rafael H. Schloming2008-10-277-55/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Modified QpidTestCase to start/stop multiple brokers for failover testing. - Modified QpidTestCase to substitute port variables into broker start/stop commands. - Modified test profiles to use the new port variables. - Modified QpidTestCase to permit multiple exclude files. - Modified test profiles to make use of a common exclude list: ExcludeList - Added ConnectionTest.testResumeEmptyReplayBuffer. - Made default exception handling for Connection and Session log the exception. - Added SenderExcetion to specifically signal problems with transmitting connection data. - Modified Session to catch and deal with connection send failures for sessions with positive expiry. - Modified FailoverBaseCase to work for non VM brokers. - Made FailoverTest fail if failover times out. - Modified JMS implementation to make use of the recently added low level session resume. - Unexcluded failover tests from 0-10 test profiles. - Excluded MultipleJCAProviderRegistrationTest due to its testing strategy resulting in spurious failure when running as part of the larger test suite. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@708093 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1394 : Registration of JCAProvider is incorrect in client and broker ↵Martin Ritchie2008-10-243-5/+19
| | | | | | SASL configurations git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1398: use bnd tool to produce osgi bundles with 'ant bundle'Aidan Skinner2008-10-241-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707654 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1296.Rajith Muditha Attapattu2008-10-231-1/+1
| | | | | | | I missed these two files in the previous commit. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707458 13f79535-47bb-0310-9956-ffa450edef68
* This is for QPID-1296Rajith Muditha Attapattu2008-10-239-9/+11
| | | | | | | | | | | | | added a boolean to the connect method to indicate whether an SSL connection should be created. currently there seems to be two issues. 1. The shutdownInput method used in IoReceiver is not supported by the SSLSocket implementation. 2. I haven't able to get client side authentication working. For item 1 we may need to use nio classes to get around the issue. For item 2 I am yet to figure out the correct config options to get client side auth working. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707453 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1319. Removed the unnessacery argument in the constructor.Rajith Muditha Attapattu2008-10-231-6/+1
| | | | | | | Now the code is changed back to what it was before the changes described in QPId-1319 was applied. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707452 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1319Rajith Muditha Attapattu2008-10-232-28/+2
| | | | | | | | Agree with Aidan that SSL should only be a broker level option. I have removed the code that copied the top level ssl value to the broker options. I will also correct the examples on the qpid wiki page git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707443 13f79535-47bb-0310-9956-ffa450edef68
* Clean up of code that is no longer being used.Rajith Muditha Attapattu2008-10-226-629/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707226 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1384: updated AMQDestination + added test for 0.10 code pathArnaud Simon2008-10-221-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706894 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1374: Added handling of null message propertiesArnaud Simon2008-10-202-4/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1373: Remove message for unack'd map when acking individual messages. ↵Aidan Skinner2008-10-171-0/+1
| | | | | | Add test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705658 13f79535-47bb-0310-9956-ffa450edef68
* s/setPrefecthLimits/setPrefetchLimitsAidan Skinner2008-10-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1352: log the original exception so we don't lose the stack traceRafael H. Schloming2008-10-131-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704187 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1289: Make 0-8/0-9 client honour the max_preftech system property.Aidan Skinner2008-10-104-16/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703383 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1339: refactor of low level client API to permit connections to exist ↵Rafael H. Schloming2008-10-0928-1845/+304
| | | | | | in a disconnected state as well as to provide a central point from which to track session state git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703208 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1335: moved Qman into java/management/clientArnaud Simon2008-10-0986-9653/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703177 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1327 - Added severity field to events, cleaned up routing key usageTed Ross2008-10-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702977 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1327 - Event support for ManagementTed Ross2008-10-073-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702651 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1319.Rajith Muditha Attapattu2008-10-073-8/+54
| | | | | | | | | | If SSL is specified as an option in the ConnectionURL then it will be copied to the broker level options. If SSL is also specified in the broker URL then it will override the value given at the top level. I also added a simple test case for this use case. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702488 13f79535-47bb-0310-9956-ffa450edef68
* Add commons-pool to dependencysAidan Skinner2008-10-071-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702474 13f79535-47bb-0310-9956-ffa450edef68
* This is in response to Rafis comments on QPID-943.Rajith Muditha Attapattu2008-10-011-1/+5
| | | | | | | The userid is now converted into bytes using the UTF-8 encoding and the result is cached. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@700886 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1284: Qman unit testsArnaud Simon2008-09-2919-0/+2386
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@700134 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1284: Qman on behalf AndreaArnaud Simon2008-09-2967-0/+7263
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@700077 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for the java client for QPID-943.Rajith Muditha Attapattu2008-09-253-0/+10
| | | | | | | The 0-8 and 0-9 clients adds the user_id of the connection to the message properties before sending the message git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@699045 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1257 : Add new build target 'release-bin' that will generate a broker ↵Martin Ritchie2008-09-051-0/+12
| | | | | | and client package. Documenation will be added to the wiki such that performance tests could also be packaged. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@692461 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1208: fixed ConnectionURLTest to match the new behavior of ↵Rafael H. Schloming2008-08-291-1/+2
| | | | | | AMQConnectionURL.toString() git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@690337 13f79535-47bb-0310-9956-ffa450edef68
* Add ASL to everywhere, to everything.Aidan Skinner2008-08-281-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@689937 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1208Rajith Muditha Attapattu2008-08-281-8/+1
| | | | | | | | I removed the code that prints the password when log level == debug. Instead now it will print "xxxx" for password irrespective of the log level. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@689854 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1119 : M2x commit : Addition of a System property to ↵Martin Ritchie2008-08-221-1/+1
| | | | | | | | | | | | | AMQProtocolHandler.java to allow the syncWait default to be changed. To perform this a new SlowMessageStore has been added to the systest package. This allows all MessageStore methods to have a pre and/or post delay applied. This delay can be configured dynamically if you have a handle to the Store or via the XML configuration. The SlowMessageStore can also be used to wrap any existing MessageStore (Testing only carried out with the default MemoryMessageStore) To make testing easier on M2x VMTestCase has been modified to allow the test to simply configure logging levels and systemProperties. These are then reverted after the test has completed. These changes will naturally need more work to before they are merged to trunk which uses totally different methods for ClientProperties and for running tests. systests/pom.xml didn't have amqj.logging.level as a systemProperty hence setting it did nothing for the tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@688110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1258 add ASL to java files that were missing itAidan Skinner2008-08-2224-0/+504
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@688094 13f79535-47bb-0310-9956-ffa450edef68
* Add Simple Request/Response Example from M2.xMartin Ritchie2008-08-212-0/+476
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687665 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1225 : Temporary commit to allow CI systems to help diagnose cause of ↵Martin Ritchie2008-08-211-0/+2
| | | | | | race condition. My guess is that the session is open but closes right after the isClosed call is done. So the client the goes on and does a waitForFrame that never arrives causing the timeout exceptions. As commented in AMQPH if we add our frame listener such that it will receive any existing and subsequent exceptions, such as connection closing whilst we add them to the framelisteners then I think this will resolve the issue. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687664 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1217: make temporary queue creation actually create the temporary queue.Aidan Skinner2008-08-203-30/+23
| | | | | | | | | | AMQSession*: consolidate createTemporaryQueue into AMQSession. ConnectionTest: declare custom exchanges before testing them TemporaryQueueTest: add test for QPID-1217 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687383 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1245: use notifyMessage rather than onMessage in setMessageListener so ↵Rafael H. Schloming2008-08-151-1/+1
| | | | | | that messages from the synchronous queue actually get acked git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@686172 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1244: fix for NPE on broker initiated connection close, also preserve ↵Rafael H. Schloming2008-08-141-0/+1
| | | | | | the connection close text for better error reporting git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@686068 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1236: made setObjectProperty validate the passed in valueRafael H. Schloming2008-08-131-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@685536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1235: fixed setXXXProperty to check for empty stringsRafael H. Schloming2008-08-121-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@685218 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1233: made getStringProperty(nonexistent) return null instead of NPERafael H. Schloming2008-08-121-8/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@685207 13f79535-47bb-0310-9956-ffa450edef68
* QPID-615: Merge rupertlssmiths 581293Aidan Skinner2008-08-121-0/+125
| | | | | | QPID-615, Added patched version of MINAs VM Pipe cleanup thread. Will replace once bug fix is in newer version of MINA. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@685151 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1092: Merge 662770 to trunk from ritchiem:Aidan Skinner2008-08-121-23/+1
| | | | | | | Changed toString to be String.valueOf(getObject()) Added MessageToStringTest, tests performing toString on Message before calling getObject(). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@685115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1218: cleaned up the interface to IoTransport a bit; added IoAcceptor; ↵Rafael H. Schloming2008-08-092-5/+5
| | | | | | fixed Session tracking of sync point; default JAVA inside qpid-run git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@684182 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1213: simplified unprocessed message and moved version specific code ↵Rafael H. Schloming2008-08-0828-842/+546
| | | | | | into the _0_8 and _0_10 variants git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@684036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1218 Optionally use IoTransport, it's hot, but doesn't pass all the ↵Aidan Skinner2008-08-084-5/+171
| | | | | | tests yet. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@684016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1213: fixed a performance regressing from converting uuid -> string and ↵Rafael H. Schloming2008-08-081-4/+1
| | | | | | back again git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683941 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1213: removed empty .java files leftover from applying a patchRafael H. Schloming2008-08-071-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683744 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1213: Patch from rgodfrey to refactor AbstractJMSMessage and ↵Rafael H. Schloming2008-08-0739-913/+2346
| | | | | | descendants to move AMQP version specific code into delegates and remove unnecessary conversion between 0-8 and 0-10 objects git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683683 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1182 : Some of the NullPointerExceptions from the SimpleACLTest are due ↵Martin Ritchie2008-08-071-7/+14
| | | | | | to the close and the notification overlapping due to the lack of locking. The problem is that the AtomicBoolean _closed is used for control but the AMQSession.checkNotClosed needs to check _closed and then throw any exception in the StateManager. However, in a loop of the SimpleACLTest, I would see _closed == false but then it is set right afterwards but the option to check AMQStateManager and throw the exception is past and the super.Closeable.checkNotClosed is called and throws the JMSException with no linked exception hence the test throws NullPointerException git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1221: added customizable UUID generation and switched the default ↵Rafael H. Schloming2008-08-061-1/+5
| | | | | | strategy to use nameUUIDFromBytes rather than randomUUID git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683337 13f79535-47bb-0310-9956-ffa450edef68