summaryrefslogtreecommitdiff
path: root/java/client/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1110: use pre-acquire mode when message selector is the empty stringArnaud Simon2008-06-021-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-754: changed prop nameArnaud Simon2008-05-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@661633 13f79535-47bb-0310-9956-ffa450edef68
* This check in is for QPID-1102.Rajith Muditha Attapattu2008-05-301-13/+42
| | | | | | | | | IoHandler and IoSender uses the java.io classes for IO operations and have shown very good improvement in latency and memory usage over MINA. For certain tests with pub/sub it gives a 2X improvement in throughput. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@661561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1094: added finally close for cleaning potential indoubt txArnaud Simon2008-05-291-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@661267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1094 and QPID-1095: Updated XaResource for handling wrong flag value, ↵Arnaud Simon2008-05-284-36/+68
| | | | | | updated xa tests for using correct flag values, excluded forget test as the current 0.10 broker does not implement forget. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660973 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1097: Those changes have been suggested by LanaArnaud Simon2008-05-284-181/+155
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660922 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1094: Implement XA resource exception handling and add corresponding testsArnaud Simon2008-05-285-181/+687
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660911 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: Track and report session exceptions, modified generator validate ↵Rafael H. Schloming2008-05-233-43/+11
| | | | | | values before trying to encode them. Also, moved createDurableSubscriber from AMQSession_0_10 -> AMQSession. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1089: Changed to use coountdownlatchArnaud Simon2008-05-233-25/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659477 13f79535-47bb-0310-9956-ffa450edef68
* Made Range, RangeSet, and Session all use proper RFC1982 comparisons per ↵Rafael H. Schloming2008-05-228-16/+16
| | | | | | QPID-861. Also switched command ids from long -> int, and added a mutex to channel to prevent multi-frame commands from interleaving when invoked from separate threads. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659271 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1079: Updated ...test.client tests for using QpidTestCase + move ↵Arnaud Simon2008-05-221-0/+10
| | | | | | QpidTestCase in main so it is visible form systests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659163 13f79535-47bb-0310-9956-ffa450edef68
* 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-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-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
* 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-2491-1480/+4355
| | | | 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: 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-1664-12538/+389
| | | | | | 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-028-88/+100
| | | | | | 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
* 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
* 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
* 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/qpid@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/qpid@632331 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/qpid@632285 13f79535-47bb-0310-9956-ffa450edef68