summaryrefslogtreecommitdiff
path: root/java/client
Commit message (Collapse)AuthorAgeFilesLines
* Corrected VMBroker Creation and clean up per testMartin Ritchie2006-11-0718-110/+462
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472159 13f79535-47bb-0310-9956-ffa450edef68
* Removed explicit VM references to allow auto creation to occur. Added some ↵Martin Ritchie2006-11-075-95/+62
| | | | | | sleeps to allow broker instantiation during tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472124 13f79535-47bb-0310-9956-ffa450edef68
* Added attempt to unbind if an error occurs.Martin Ritchie2006-11-072-50/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472108 13f79535-47bb-0310-9956-ffa450edef68
* Disabled auto creation of vm brokers.Martin Ritchie2006-11-071-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472093 13f79535-47bb-0310-9956-ffa450edef68
* Before/After now class levelMarnie McCormack2006-11-071-12/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472083 13f79535-47bb-0310-9956-ffa450edef68
* Added extra logging around InVM failuresMartin Ritchie2006-11-071-2/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472081 13f79535-47bb-0310-9956-ffa450edef68
* TransactedTest.java - Added Logging around the setup.Martin Ritchie2006-11-072-3/+12
| | | | | | Added a sleep after VM Broker creation to allow broker to startup. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472073 13f79535-47bb-0310-9956-ffa450edef68
* Added extra logging around InVM failuresMartin Ritchie2006-11-071-4/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472069 13f79535-47bb-0310-9956-ffa450edef68
* Added new test classes to unit testsMarnie McCormack2006-11-071-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472064 13f79535-47bb-0310-9956-ffa450edef68
* Tests for changes around QueueSession and TopicSession as per QPID-66Marnie McCormack2006-11-071-0/+121
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472062 13f79535-47bb-0310-9956-ffa450edef68
* Comment tidy upMarnie McCormack2006-11-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472044 13f79535-47bb-0310-9956-ffa450edef68
* Added cleanup of invm brokerMarnie McCormack2006-11-071-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472042 13f79535-47bb-0310-9956-ffa450edef68
* Added tests for QueueReceiver create methods to check for ClassCastException ↵Marnie McCormack2006-11-071-2/+21
| | | | | | etc. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472039 13f79535-47bb-0310-9956-ffa450edef68
* Taken from the Sun website:Martin Ritchie2006-11-071-0/+238
| | | | | | http://java.sun.com/products/jms/docs.html git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472029 13f79535-47bb-0310-9956-ffa450edef68
* Initial test for AMQSession changes from QPID-66Marnie McCormack2006-11-031-0/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470818 13f79535-47bb-0310-9956-ffa450edef68
* Added AMQQueueSessionAdaptor and AMQTopicSessionAdaptor and amended ↵Marnie McCormack2006-11-033-2/+360
| | | | | | AMQConnection create methods to use these adaptor classes as per QPID-66. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470759 13f79535-47bb-0310-9956-ffa450edef68
* Changes to fix QueueReceiver ClassCastException being thrown by methods in ↵Marnie McCormack2006-11-033-8/+153
| | | | | | AMQSession which should return this interface. As per QPID-58. Added QueueReceiverAdaptor class now used in AMQSession. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470742 13f79535-47bb-0310-9956-ffa450edef68
* Test corrected to handle colons appropriatelyMarnie McCormack2006-11-021-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470382 13f79535-47bb-0310-9956-ffa450edef68
* generateQueueName now removes colons as well as semi-colonsMarnie McCormack2006-11-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470380 13f79535-47bb-0310-9956-ffa450edef68
* Added TestAMQProtocolSession to test suite for client for QPID-4Marnie McCormack2006-11-021-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470340 13f79535-47bb-0310-9956-ffa450edef68
* Test classes for QPID-4 changes to AMQProtocolSession.generateQueueNameMarnie McCormack2006-11-022-0/+210
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470337 13f79535-47bb-0310-9956-ffa450edef68
* Change to generateQueueName to remove non-conformant chars (/ and ;) as per ↵Marnie McCormack2006-11-021-15/+27
| | | | | | QPID-4. Other changes to allow test class inheritance for testing of this change. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470336 13f79535-47bb-0310-9956-ffa450edef68
* JNDIReferenceableTest.java - removed unused importMartin Ritchie2006-11-015-6/+4
| | | | | | | referenceabletest/UnitTests.java - was not running referenceabletest Unit Tests but destinationurl tests. VmRequestReply.java,DurableSubscriptionTest.java,TransactedTest.java - Added InVM Exception to failure assertions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469807 13f79535-47bb-0310-9956-ffa450edef68
* Additions to build system to cause junit to produce a reportMartin Ritchie2006-10-311-17/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469504 13f79535-47bb-0310-9956-ffa450edef68
* Additions to build system to cause junit to produce a reportMartin Ritchie2006-10-311-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469491 13f79535-47bb-0310-9956-ffa450edef68
* Added stacktrace on failureMartin Ritchie2006-10-311-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469478 13f79535-47bb-0310-9956-ffa450edef68
* Updated to programmatically set QPID_WORK for logging, to stop failed buildsMartin Ritchie2006-10-312-2/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469470 13f79535-47bb-0310-9956-ffa450edef68
* Added a sleep to give the VM broker time to create queues.Martin Ritchie2006-10-311-25/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469463 13f79535-47bb-0310-9956-ffa450edef68
* Committed development version by mistake.Martin Ritchie2006-10-311-11/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469436 13f79535-47bb-0310-9956-ffa450edef68
* Added additional logging to diagnose issues when unable to create an in VM ↵Martin Ritchie2006-10-311-3/+17
| | | | | | broker git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469430 13f79535-47bb-0310-9956-ffa450edef68
* Removed duplicate log4j classes. Jboss jar included old ones that are notGordon Sim2006-10-261-0/+0
| | | | | | | | compatible with latest code. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@468070 13f79535-47bb-0310-9956-ffa450edef68
* Modified to maintain a reference to the lastWriteFuture. This is then used ↵Martin Ritchie2006-10-201-1/+16
| | | | | | when closing the ProtocolSession to join on so that we can be sure all data has been written to the broker. A time out of 2 minutes ensures that the client doesn't hang for ever if the broker fails. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466078 13f79535-47bb-0310-9956-ffa450edef68
* Resolution to QPID-23Martin Ritchie2006-10-206-0/+960
| | | | | | | | | | | Added Simple JNDI SPI Class that uses a PropertiesFile to create a ContextFactory for use with in JNDI. Added a unit test to test using properties file to get correct objects from JNDI lookup. Modifed AMQHeadersExchange.java to allow creation from a BindingURL. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466076 13f79535-47bb-0310-9956-ffa450edef68
* Further fixes and some extra tests for transactions.Gordon Sim2006-10-191-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@465549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-36 Added high/low water mark to DUPS_OK_ACKNOWLEDGE.Martin Ritchie2006-10-184-25/+95
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@465166 13f79535-47bb-0310-9956-ffa450edef68
* Implemented Client side high/low water mark prefetching for NO_ACK.Martin Ritchie2006-10-176-108/+198
| | | | | | Use of single prefetch should be unaffected. Setting the high and low to be the same. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464950 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to transaction handling.Gordon Sim2006-10-172-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This line, and those below, will be ignored-- M java/broker/test/src/org/apache/qpid/server/UnitTests.java M java/broker/test/src/org/apache/qpid/server/queue/DeliveryManagerTest.java A java/broker/test/src/org/apache/qpid/server/txn AM java/broker/test/src/org/apache/qpid/server/txn/UnitTests.java AM java/broker/test/src/org/apache/qpid/server/txn/TxnBufferTest.java M java/broker/test/src/org/apache/qpid/server/util/UnitTests.java AM java/broker/test/src/org/apache/qpid/server/util/OrderedMapHelperTest.java M java/broker/src/org/apache/qpid/server/queue/SubscriptionImpl.java M java/broker/src/org/apache/qpid/server/queue/DeliveryManager.java AM java/broker/src/org/apache/qpid/server/queue/FailedDequeueException.java M java/broker/src/org/apache/qpid/server/queue/AMQMessage.java M java/broker/src/org/apache/qpid/server/queue/AMQQueue.java M java/broker/src/org/apache/qpid/server/queue/Subscription.java M java/broker/src/org/apache/qpid/server/queue/NoConsumersException.java M java/broker/src/org/apache/qpid/server/AMQChannel.java M java/broker/src/org/apache/qpid/server/txn/TxnBuffer.java M java/broker/src/org/apache/qpid/server/txn/TxnOp.java AM java/broker/src/org/apache/qpid/server/util/OrderedMapHelper.java M java/broker/src/org/apache/qpid/server/handler/TxCommitHandler.java AM java/client/test/src/org/apache/qpid/transacted/UnitTests.java M java/client/test/src/org/apache/qpid/client/AllClientUnitTests.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464867 13f79535-47bb-0310-9956-ffa450edef68
* Added Sun FSContext to client-test libMartin Ritchie2006-10-138-32/+100
| | | | | | Updated referenceabletest files to use the temporary directory reported by the System.properties. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463671 13f79535-47bb-0310-9956-ffa450edef68
* Moved AMQVMBrokerCreationException into correct package.Robert Greig2006-10-124-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463410 13f79535-47bb-0310-9956-ffa450edef68
* QPID-18. Removed unused experimental code that had direct dependencies on ↵Robert Greig2006-10-121-0/+5
| | | | | | MINA-0.9.5 and upgraded to MINA-1.1.0 snapshot. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463403 13f79535-47bb-0310-9956-ffa450edef68
* Fixed incorrect package on AMQVMBrokerCreationException (did not match ↵Robert Greig2006-10-1210-52/+27
| | | | | | physical location). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2. JMSBytesMessage.readXXX methods now test the appropriate number of ↵Robert Greig2006-10-122-4/+254
| | | | | | bytes are available in the message and throw the appropriate exception if not. Unit test updated to check behaviour of readXXX methods. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463363 13f79535-47bb-0310-9956-ffa450edef68
* Fixed ack.RecoverTest and ack.DisconnectAndRedeliverTest. These were failing ↵Gordon Sim2006-10-123-7/+21
| | | | | | | | | | | | | | | due to a race condition where the consumers queue was not bound by the time the publisher sent messages. This is a result of the use of nowait=true for the declare/bind/consume cycle for a BasicMessageConsumer. To work around this in tests like these that have two connections, one consuming & one publishing, I added a declareExchangeSynch() method to AMQSession which allows a thread to block until the session it invokes that method on has processed all the commands up to that point. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463309 13f79535-47bb-0310-9956-ffa450edef68
* Added a little extra debug to the toString()Martin Ritchie2006-10-111-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@462840 13f79535-47bb-0310-9956-ffa450edef68
* Added extra debug output when failover fails.Martin Ritchie2006-10-111-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@462820 13f79535-47bb-0310-9956-ffa450edef68
* QPID-15 JUnit3 compatibility suite() method now uses correct Test class.Steven Shaw2006-10-062-11/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@453537 13f79535-47bb-0310-9956-ffa450edef68
* client/* - Only Create a Threshold Listener if if the acknowledgeMode is NO_ACKMartin Ritchie2006-10-032-6/+20
| | | | | | common/*/framing/* - White space changes from tabs to 4 spaces. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452529 13f79535-47bb-0310-9956-ffa450edef68
* I somehow missed an import.Martin Ritchie2006-10-031-0/+1
| | | | | | | | | | | QPID-10 #QPID-10 JIRA QPID-10 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452334 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-10. Problem was a memory leak of sorts on the client. A ↵Martin Ritchie2006-10-031-14/+29
| | | | | | temporary frame listener was never removed. Hence causing longer add times and lots of "live" objects. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452326 13f79535-47bb-0310-9956-ffa450edef68
* Added vm://:1 and localhost as JNDI values setup by the IBM Scripts.Martin Ritchie2006-10-034-30/+53
| | | | | | | Changed exception handling in JNDIBindConnectionFactory.java Added lookup(String) method to Lookup.java to allow use in other tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452321 13f79535-47bb-0310-9956-ffa450edef68