summaryrefslogtreecommitdiff
path: root/java/client
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1119 : M2x commit : Addition of a System property to ↵Martin Ritchie2008-06-041-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/branches/M2.x@663125 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1092 : Changed toString to be String.valueOf(getObject())Martin Ritchie2008-06-031-23/+1
| | | | | | | Added MessageToStringTest, tests performing toString on Message before calling getObject(). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@662770 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1084 : Fix AMQSession race condition on no-ack flow controlRobert Godfrey2008-05-211-8/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@658614 13f79535-47bb-0310-9956-ffa450edef68
* QPID-933 : performance tweaksRobert Godfrey2008-04-162-11/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-931 : Always use exclusive consumers when subscribing to topicsRobert Godfrey2008-04-162-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648666 13f79535-47bb-0310-9956-ffa450edef68
* QPID-929 : Exchange.Declare being sent prior to every message when ↵Robert Godfrey2008-04-163-11/+28
| | | | | | publishing to explicit destination git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-927 : Multiple acknowledgements should be coalesced into single ↵Robert Godfrey2008-04-161-2/+61
| | | | | | multiple ack git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648652 13f79535-47bb-0310-9956-ffa450edef68
* Add licenscesAidan Skinner2008-03-311-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@643153 13f79535-47bb-0310-9956-ffa450edef68
* QPID-873 : Authentication Exception should be hard error; also NPE in ↵Robert Godfrey2008-03-241-1/+1
| | | | | | PropertiesPrincipalDatabase when user not known git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@640417 13f79535-47bb-0310-9956-ffa450edef68
* QPID-867 Always close connectionsAidan Skinner2008-03-211-12/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@639619 13f79535-47bb-0310-9956-ffa450edef68
* QPID-866 : Based on Patch from ASkinner. Only the FailoverException makes ↵Martin Ritchie2008-03-212-8/+40
| | | | | | sence to process this way so remove list and synchronized so we either do an add or throw the set FailoverException. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@639598 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 Resynchronise the _acceptor so that we don't hangAidan Skinner2008-03-201-7/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@639251 13f79535-47bb-0310-9956-ffa450edef68
* QPID-862 : Add IOException to valid reason to start failover and removed the ↵Martin Ritchie2008-03-191-2/+2
| | | | | | propogation of the error to client, as they don't need to know of the error unless failover fails. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@638950 13f79535-47bb-0310-9956-ffa450edef68
* QPID-847 : Prevented the InvalidArgumentException from closing the connection.Martin Ritchie2008-03-182-1/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@638346 13f79535-47bb-0310-9956-ffa450edef68
* QPID-857 : Reset the State Manager when receiveing a CLOSED state.Martin Ritchie2008-03-171-4/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-849 : Client Deadlock, there are various points where we take the ↵Martin Ritchie2008-03-172-83/+88
| | | | | | failover mutex to check the _closed values which if it is false then that is all we do. As the _closed check doesn't require the mutex then move all the checks out side of the mutex lock. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637986 13f79535-47bb-0310-9956-ffa450edef68
* QPID-847 : InvalidSelectorException. This was caused by the Broker now being ↵Martin Ritchie2008-03-171-13/+175
| | | | | | more AMQP spec compliant than previously. Reverted the change in AMQMinaProtocolSession.java that is causing the issue but we need to correctly fix this issue in the client as the client is not AMQP spec compliant, even with the STRICT_AMQP flag. Updated SelectorTest.java with an additional test so we don't have the functionality reversion later. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637977 13f79535-47bb-0310-9956-ffa450edef68
* QPID-856 : Moved unbind out of the synchronized block as it doesn't need to ↵Martin Ritchie2008-03-171-2/+7
| | | | | | be done there. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637828 13f79535-47bb-0310-9956-ffa450edef68
* QPID-855 : Added check for the IllegalStateException and ignore ones from ↵Martin Ritchie2008-03-141-0/+7
| | | | | | the Noop Operation. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-848: Add short sleep when a connection fails to complete so that we ↵Aidan Skinner2008-03-141-1/+8
| | | | | | wait for all exceptions to be thrown git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637146 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 : Changes to the client to make the dispatcher responsible for ↵Martin Ritchie2008-03-145-135/+297
| | | | | | closing the queue browser when all the messages have been processed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-853 : Use the result of processMethod (match) to decide if we have the ↵Martin Ritchie2008-03-141-3/+6
| | | | | | right frame. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-592 : Parameterised the Read/Write buffer limits. On the broker extra ↵Martin Ritchie2008-03-141-8/+8
| | | | | | config [read|write]BufferLimitSize on the client System properties qpid.[read|write].buffer.limit. All the defaults are 256k(262144). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-846 : Update to prevent JMSX* values being masked, updated ↵Martin Ritchie2008-03-122-8/+33
| | | | | | JMSPropertiesTest to prevent regression. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@636347 13f79535-47bb-0310-9956-ffa450edef68
* QPID-845 : Reinserted ':' to JMSMessageID.Martin Ritchie2008-03-122-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@636273 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 : Changes based on code review. Martin Ritchie2008-03-102-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@635602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-839 : DUPS_OK should behave exactly as AUTO_ACK ... this would not ↵Robert Godfrey2008-03-071-37/+3
| | | | | | cause the seen test failure; but is still incorrect git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@634720 13f79535-47bb-0310-9956-ffa450edef68
* QPID-784 : Minor changes based on code comments by ASkinner and RGodfrey.Martin Ritchie2008-03-032-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633160 13f79535-47bb-0310-9956-ffa450edef68
* QPID-594 QPID-107 Updated Connection missing AMQAuthenticationException problemsMartin Ritchie2008-03-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633111 13f79535-47bb-0310-9956-ffa450edef68
* QPID-594 QPID-107 Updated Connection missing AMQAuthenticationException problemsMartin Ritchie2008-03-031-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633088 13f79535-47bb-0310-9956-ffa450edef68
* QPID-822 Setting default to false for JMSXUserID cause this test to fail. ↵Martin Ritchie2008-02-281-2/+5
| | | | | | Now test only validates the JMSXUserID if it exists. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@632070 13f79535-47bb-0310-9956-ffa450edef68
* QPID-821 Set default to false for MultiIO and Buffer Limiting.Martin Ritchie2008-02-282-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@632054 13f79535-47bb-0310-9956-ffa450edef68
* QPID=813 : Synchronized getInstanceMartin Ritchie2008-02-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@631141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-809 Updated logging and removed an unnecessary printStackTrace().Martin Ritchie2008-02-251-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-811 : The RejectionEE is occuring because the task pool is shutdown ↵Martin Ritchie2008-02-251-1/+3
| | | | | | before the close-ok has been received. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630833 13f79535-47bb-0310-9956-ffa450edef68
* QPID-809 : Added comments and improved logging msgs.Martin Ritchie2008-02-251-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 added ACCESS_REFUSED as a reason to throw AMQAuthenticationExceptionMartin Ritchie2008-02-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630729 13f79535-47bb-0310-9956-ffa450edef68
* QPID-809 : Added comments and additional error logging.Martin Ritchie2008-02-252-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-808 : add method to qpid.jms Interface.Martin Ritchie2008-02-251-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-807 : made methods public.Martin Ritchie2008-02-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-771: fix up exception handling a bit more, this is so lovely.Aidan Skinner2008-02-223-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-790 : Performance ImprovementsRobert Godfrey2008-02-222-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630239 13f79535-47bb-0310-9956-ffa450edef68
* QPID-785: Make sure queue browser consumers are auto-close, add test for ↵Aidan Skinner2008-02-211-0/+1
| | | | | | | | | browsing an empty queue. Refactor QueueBrowserTest a little to split up responsibilities a bit. We should move the sendMessage stuff to a super class, there are at least 4 implementations of that kicking about. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629824 13f79535-47bb-0310-9956-ffa450edef68
* QPID-790 : Performance ImprovementsRobert Godfrey2008-02-2114-252/+600
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629731 13f79535-47bb-0310-9956-ffa450edef68
* QPID-786 Remove bogus Failover timeout, add test.Aidan Skinner2008-02-201-11/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629540 13f79535-47bb-0310-9956-ffa450edef68
* QPID-800 : junit toolkit sources added.Rupert Smith2008-02-203-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629518 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-594: make AMQConnection listen for exceptions that are thrown ↵Aidan Skinner2008-02-193-3/+55
| | | | | | asynchronously in it's constructor and do something appropriate with them git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629158 13f79535-47bb-0310-9956-ffa450edef68
* QPID-788 : Changed MAXIMUM_STATE_WAIT_TIME to pickup value via ↵Martin Ritchie2008-02-131-1/+1
| | | | | | -Damqj.MaximumStateWait=90000 or default to 30000. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@627354 13f79535-47bb-0310-9956-ffa450edef68
* QPID-784 : Added ability to provide existing Socket to Qpid Client Libraries ↵Martin Ritchie2008-02-125-63/+54
| | | | | | | | to use as for connection. Modified based on review by Robert Godfrey due to Thread safety around SocketTransportConnection.java and TransportConnection.java. Now use a safe Map to store all registered sockets in the TransportConnection.java these are then removed as used or on request. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@620876 13f79535-47bb-0310-9956-ffa450edef68
* QPID-787 : Allow for quoting of identifiers in selectorsRobert Godfrey2008-02-121-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@620858 13f79535-47bb-0310-9956-ffa450edef68