summaryrefslogtreecommitdiff
path: root/qpid/java/client
Commit message (Collapse)AuthorAgeFilesLines
* QPID-897 this test was intermittently failing because of too short timeouts. ↵Arnaud Simon2008-04-031-6/+6
| | | | | | This fix is a temporary measure until we agree about using a configurable receive timeout. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@644245 13f79535-47bb-0310-9956-ffa450edef68
* QPID-829 Remove 0.10 specific URL. The code path is now selected based on ↵Arnaud Simon2008-04-0213-93/+105
| | | | | | broker response. We first try the highest protocol version and update the handler if the broker replies with a different protocol version. NOTE that we need to update the current java broker and 0.8 client for handling protocol headers. This should happen with the M2.1 merge. For the moment we only support an in VM 0.8 broker. Moreover, we'll need to migrate to a 0.10 vs 99.0 protocol version. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@643822 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-860: changed running test conditionArnaud Simon2008-03-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@641239 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-860: provides support for specifying a list of test to be excludedArnaud Simon2008-03-261-2/+77
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@641232 13f79535-47bb-0310-9956-ffa450edef68
* make build.xml files backward-compatible with ant 1.6.5, by replacing ant ↵Nuno Santos2008-03-241-3/+3
| | | | | | 1.7 specific tasks/extensions git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@640503 13f79535-47bb-0310-9956-ffa450edef68
* This commit is associated with JIRA QPID-859Rajith Muditha Attapattu2008-03-201-2/+10
| | | | | | | The verify script is modfified to start and stop the c++ broker for each test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@639098 13f79535-47bb-0310-9956-ffa450edef68
* This commit is for JIRA QPID-859Rajith Muditha Attapattu2008-03-2030-0/+1026
| | | | | | | | This contains verify scripts and xxx.in files for pubsub, fanout and requestResponse. These scripts will run the java examples against itself, c++ and python git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@639095 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-864.Rajith Muditha Attapattu2008-03-203-11/+24
| | | | | | | | This allows the Listener or Consumer to start multiple instances by taking a JNDI name of a queue bound to the topic exchange as a program argument. The JNDI name should be defined in the fanout.properties. Currently 3 such queues are defined. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@639090 13f79535-47bb-0310-9956-ffa450edef68
* This contains a trivial fix for QPID-863.Rajith Muditha Attapattu2008-03-192-86/+38
| | | | | | | | | I also took the oportunity to organize the code a bit more. Also removed the temp hack we used to bind a Topic to more than one routingkey to interop with the c++/python examples. The topics can now be bound to more than one routingkey in the jndi properties file. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@639078 13f79535-47bb-0310-9956-ffa450edef68
* This commit is for QPID-859Rajith Muditha Attapattu2008-03-1811-10/+199
| | | | | | | | | | | | | | | | | | The verify_all script will run all verify scripts under each example Following is a description of each script type ============================================== verify - runs java producer and consumer. verify_java_python - runs java producer and python consumer verify_python_java - runs python consumer and java consumer verify_cpp_java - runs cpp producer and java consumer verify_java_cpp - runs java producer and cpp consumer The xxx.in file contains the expected output. It will be compared against the output of the test to determine any failures. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@638553 13f79535-47bb-0310-9956-ffa450edef68
* Revision 636791 says: "Added constant to represent the AMQP versions, as ↵Arnaud Simon2008-03-181-1/+2
| | | | | | previously it was hard-coded." Those constants must be used when the connection is established. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@638344 13f79535-47bb-0310-9956-ffa450edef68
* verify scripts for the JMS direct exchange examples. This is tracked in JIRA-859Rajith Muditha Attapattu2008-03-175-0/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@638019 13f79535-47bb-0310-9956-ffa450edef68
* Removed redundant code (see QPID-838). As this is a major 0.10 change tck ↵Arnaud Simon2008-03-072-92/+10
| | | | | | has been run prior to committing it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634696 13f79535-47bb-0310-9956-ffa450edef68
* This is a very simple fix for QPID-837 (this code will be changed once the ↵Arnaud Simon2008-03-071-1/+1
| | | | | | merge is completed) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634664 13f79535-47bb-0310-9956-ffa450edef68
* Added resource cleaning (mainly connection close); see QPID-824Arnaud Simon2008-03-0610-9/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634273 13f79535-47bb-0310-9956-ffa450edef68
* Stop the dispatcher thread before closing the session so it does not acquire ↵Arnaud Simon2008-03-041-0/+4
| | | | | | a lock on _messageDeliveryLock (See QPID-833) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@633522 13f79535-47bb-0310-9956-ffa450edef68
* un-commented testNoLocal as it should be added to the exclude list until the ↵Arnaud Simon2008-03-041-2/+2
| | | | | | merge is completed (see Qpid-721) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@633453 13f79535-47bb-0310-9956-ffa450edef68
* added an assert to verify that no threads are leaked on connection ↵Rafael H. Schloming2008-03-032-1/+30
| | | | | | open/close; this should detect problems with dispatcher threads not dieing as described inQPID-823 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@633164 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-823: Dispatcher thread should be closed after consumers have been closed. Arnaud Simon2008-02-291-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@632331 13f79535-47bb-0310-9956-ffa450edef68
* This solved Qpid-819 as of Gordon suggested patch Arnaud Simon2008-02-291-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@632297 13f79535-47bb-0310-9956-ffa450edef68
* Rollback 632067 and 632072Arnaud Simon2008-02-2948-95/+151
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@632285 13f79535-47bb-0310-9956-ffa450edef68
* See Qpid-817Arnaud Simon2008-02-2847-149/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@632072 13f79535-47bb-0310-9956-ffa450edef68
* See Qpid-817Arnaud Simon2008-02-281-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@632067 13f79535-47bb-0310-9956-ffa450edef68
* See Qpid-817Arnaud Simon2008-02-281-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@631931 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the toString method to avoid printing both a routingkey and bindingkey ↵Rajith Muditha Attapattu2008-02-271-8/+8
| | | | | | | | | and also to properly printout the bindingkeys when required. This bug caused 3 test failures. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@631698 13f79535-47bb-0310-9956-ffa450edef68
* Added another test to check for URISyntaxException when both routingkey and ↵Rajith Muditha Attapattu2008-02-271-1/+27
| | | | | | bindingkey is specified git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@631697 13f79535-47bb-0310-9956-ffa450edef68
* added a test case for the multiple binding key caseRajith Muditha Attapattu2008-02-271-10/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@631490 13f79535-47bb-0310-9956-ffa450edef68
* This contains the ground work for QPID-803.Rajith Muditha Attapattu2008-02-2710-83/+240
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@631486 13f79535-47bb-0310-9956-ffa450edef68
* Changed checkPreConditions for accessing directly to _messageSelectorArnaud Simon2008-02-253-3/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@630847 13f79535-47bb-0310-9956-ffa450edef68
* modified test harness to clean up data dir when broker crashesRafael H. Schloming2008-02-211-22/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629986 13f79535-47bb-0310-9956-ffa450edef68
* added message releasing when messag listener is setArnaud Simon2008-02-211-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629806 13f79535-47bb-0310-9956-ffa450edef68
* added consumer2.close as messages may be delivered to this not used consumerArnaud Simon2008-02-211-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629802 13f79535-47bb-0310-9956-ffa450edef68
* changed for runing only with an 0.8 broker (this is testing 0.8 connection)Arnaud Simon2008-02-211-118/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629800 13f79535-47bb-0310-9956-ffa450edef68
* changed for creating durable queue for a durable subscriberArnaud Simon2008-02-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629750 13f79535-47bb-0310-9956-ffa450edef68
* changed for notifying message arrival when the header does not have a payloadArnaud Simon2008-02-211-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629749 13f79535-47bb-0310-9956-ffa450edef68
* added init after broker shutdown and changed receiveNowait to receive(1000)Arnaud Simon2008-02-202-63/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629385 13f79535-47bb-0310-9956-ffa450edef68
* protect the _currentException variable with its own lock, this avoids ↵Rafael H. Schloming2008-02-151-9/+13
| | | | | | deadlocks between getCurrentException and the dispatcher thread git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@628132 13f79535-47bb-0310-9956-ffa450edef68
* recompute internal 0-10 message for reused messagesRafael H. Schloming2008-02-142-12/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627655 13f79535-47bb-0310-9956-ffa450edef68
* print message text directlyRafael H. Schloming2008-02-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627654 13f79535-47bb-0310-9956-ffa450edef68
* rethrow exception rather than ignoring itRafael H. Schloming2008-02-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627653 13f79535-47bb-0310-9956-ffa450edef68
* set initial causeRafael H. Schloming2008-02-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627652 13f79535-47bb-0310-9956-ffa450edef68
* Fix for Qpid-793Rajith Muditha Attapattu2008-02-141-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627634 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-791Rajith Muditha Attapattu2008-02-141-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627629 13f79535-47bb-0310-9956-ffa450edef68
* modified it to show the selector test bugRajith Muditha Attapattu2008-02-131-3/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627543 13f79535-47bb-0310-9956-ffa450edef68
* updated runSample.sh from jrobieRafael H. Schloming2008-02-131-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627536 13f79535-47bb-0310-9956-ffa450edef68
* added client/example to the buildRafael H. Schloming2008-02-131-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627531 13f79535-47bb-0310-9956-ffa450edef68
* applied patch from rajith to fix reply-toRafael H. Schloming2008-02-121-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627187 13f79535-47bb-0310-9956-ffa450edef68
* added a test for message send followed by immediate connection close; fixed ↵Rafael H. Schloming2008-02-122-0/+110
| | | | | | connection close handshaking git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627157 13f79535-47bb-0310-9956-ffa450edef68
* added default getConnection()Rafael H. Schloming2008-02-121-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627155 13f79535-47bb-0310-9956-ffa450edef68
* made xa tests run, and made QpidTestCase more robustRafael H. Schloming2008-02-084-19/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@619974 13f79535-47bb-0310-9956-ffa450edef68