summaryrefslogtreecommitdiff
path: root/java/client
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1085: If an error occurs creating a durable subscriber with a selector ↵Aidan Skinner2008-05-223-17/+106
| | | | | | delete the queue that was created. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1079: Updated ...test.client tests for using QpidTestCaseArnaud Simon2008-05-221-13/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1034 by Senaka FernandoCarl C. Trieloff2008-05-161-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656924 13f79535-47bb-0310-9956-ffa450edef68
* Modified the verify_java_python.in file to reflect the changes made to the ↵Rajith Muditha Attapattu2008-05-141-3/+3
| | | | | | | | | python code in rev 655965. The change was to correct a few typos. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656071 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1053: add a timeout in case the broker is never readyRafael H. Schloming2008-05-131-4/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655964 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1053: updated QpidTestCase to check against broker output to ensure the ↵Rafael H. Schloming2008-05-131-9/+47
| | | | | | broker is actually listening before the test attempts to connect; the text checked for is controlled by the broker.ready system property, appropriate values have been added to the cpp profiles git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655927 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1025: updated fix for empty payload issue, this change removes state ↵Rafael H. Schloming2008-05-121-2/+2
| | | | | | transitions that don't consume input bytes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655585 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1044: Part of patch from Jonathan Robie + changes to verify scripts to ↵Gordon Sim2008-05-124-84/+82
| | | | | | keep automated testing working. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655568 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1037: removed manual setting of the module.name property as it is set ↵Rafael H. Schloming2008-05-121-1/+1
| | | | | | automatically by the build scripts git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1037: Added module name prop and an exclude.modules prop + switch ↵Arnaud Simon2008-05-081-1/+1
| | | | | | systests off in cpp profiles. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654505 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1030: This solves the issue for the 0.10 code pathArnaud Simon2008-05-061-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653813 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1008: allow for case where 0-10 message-properties are not included in ↵Gordon Sim2008-05-051-1/+4
| | | | | | a received message git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653508 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1005: Added a property for ignoring setClientID so we are compatible ↵Arnaud Simon2008-05-052-1/+16
| | | | | | with legacy applications that don't rely on the ID being set on the connection URL. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653426 13f79535-47bb-0310-9956-ffa450edef68
* QPID-895 : Patch provided provided by Senaka to prevent delay on initial ↵Martin Ritchie2008-05-051-2/+5
| | | | | | Connections with SingleServer methods. Updated FailoverMethodTest to include a better description of where the times come from. Also added a maximum time test to ensure that we don't miss any regression of this patch. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653421 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1018: added org.apache.qpid.client.configuration and add io propsArnaud Simon2008-05-054-53/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653399 13f79535-47bb-0310-9956-ffa450edef68
* Update and cleanup scripts for automated 0-10 example testing.Gordon Sim2008-05-0411-30/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653253 13f79535-47bb-0310-9956-ffa450edef68
* QPID-983: fixed deadlock between AMQConnection.close and FailoverHandlerRafael H. Schloming2008-04-291-37/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652173 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832: fixed merge artifact affecting replyToRafael H. Schloming2008-04-241-13/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651431 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 : Fix eol-styleRobert Godfrey2008-04-2419-3205/+3205
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651325 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 merge M2.xAidan Skinner2008-04-2494-1507/+4531
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-939 Added "ID:" to message IDArnaud Simon2008-04-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-936: added missing session close opArnaud Simon2008-04-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649436 13f79535-47bb-0310-9956-ffa450edef68
* QPID-798 Make property per connection and/or system wide; change name to ↵Arnaud Simon2008-04-184-2/+26
| | | | | | SYNC_PERSISTENT to denote only used on persistent messages git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649409 13f79535-47bb-0310-9956-ffa450edef68
* QPID-796 Made connection URL property + use session level methodArnaud Simon2008-04-175-11/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649070 13f79535-47bb-0310-9956-ffa450edef68
* QPID-919 Changed AMQBrokerDetails to throw an URL exception when the port ↵Arnaud Simon2008-04-171-0/+7
| | | | | | number is not specified. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: updated the JMS examples to use legal delivery mode values as they ↵Rafael H. Schloming2008-04-162-2/+3
| | | | | | are now checked with the 0-10 final updates git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648784 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: don't depend on constant values matching up when converting ↵Rafael H. Schloming2008-04-161-1/+13
| | | | | | between JMS and AMQP delivery modes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648771 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: add back ExceptionHelper.java to fix the buildRafael H. Schloming2008-04-161-0/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648699 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: updates to the java client to use the 0-10 final spec instead of ↵Rafael H. Schloming2008-04-1672-12563/+430
| | | | | | the 0-10 preview spec; this includes improvements to the codegen process as well as some modifications to the shared code path in the client to not lose per message state when consumers are closed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-897: this test was intermittently timing out when messages are not ↵Arnaud Simon2008-04-161-1/+1
| | | | | | prefetched. This is a temporary fix until we use a configurable timeout. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-928 Added a pause period for letting the finalyzer a chance to notify ↵Arnaud Simon2008-04-161-0/+7
| | | | | | all the Mina connector threads before we check for spurious threads. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648661 13f79535-47bb-0310-9956-ffa450edef68
* QPID-798 Added boolean property fully_sync when true a sync is sent after a ↵Arnaud Simon2008-04-041-3/+10
| | | | | | persistent message is transfered. . git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644689 13f79535-47bb-0310-9956-ffa450edef68
* QPID-796: Added ability to enable/disable message prefetching. Prefetching ↵Arnaud Simon2008-04-043-34/+135
| | | | | | is controlled through the property max_prefetch, it is turned off when max_prefetch =0. (this is 0.10 code path change) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644688 13f79535-47bb-0310-9956-ffa450edef68
* 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@633453 13f79535-47bb-0310-9956-ffa450edef68