summaryrefslogtreecommitdiff
path: root/java/client/src/main
Commit message (Collapse)AuthorAgeFilesLines
* updated qpid.0-10/java to match trunk/qpid/java@686172Rafael H. Schloming2008-08-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-10@686175 13f79535-47bb-0310-9956-ffa450edef68
* updated qpid.0-10/java to match trunk/qpid/java@686097Rafael H. Schloming2008-08-15120-3728/+4642
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-10@686136 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1208Rajith Muditha Attapattu2008-07-311-3/+2
| | | | | | | | I have enabled the code which will print xxxx when the log level != debug. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-10@681411 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1163.Rajith Muditha Attapattu2008-07-142-14/+15
| | | | | | | This is already in trunk and I am porting it to the qpid.0-10 branch. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-10@676613 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1139: use RFC1982 comparisons for rollback mark and update rollback ↵Rafael H. Schloming2008-06-164-12/+38
| | | | | | mark to track dispatched messages git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668311 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-1130: don't store unack message tags when the session is transactedArnaud Simon2008-06-101-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@666296 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: always reset the auto-sync mode even if the call failsRafael H. Schloming2008-06-092-9/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@665841 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1126: reuse channel numbers for sessions that have closed, and honor ↵Rafael H. Schloming2008-06-071-3/+1
| | | | | | the negotiated channel-max; also removed unnecessary catches that were swallowing stack traces from several tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@664339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1124 : Use thread-safe map for messageListenersRobert Godfrey2008-06-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@664153 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1124 : Use thread-safe map for messageListenersRobert Godfrey2008-06-061-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@664129 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1062: use sync flag instead of sync command on tx commitArnaud Simon2008-06-061-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1062: merge writes of separate frames within an assembly, use sync flag ↵Rafael H. Schloming2008-06-062-8/+18
| | | | | | instead of sync command on message transfer git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663813 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1116: fixed a race condition in connection/session close, session close ↵Rafael H. Schloming2008-06-054-4/+6
| | | | | | now waits for the session to be detached before returning, this guarantees we won't have any active sessions when the connection close is attempted git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1123: Added a timeout (threading issue is still to be fixed)Arnaud Simon2008-06-051-4/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663507 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1120: don't reset batch size as part of the messages are not accepted ↵Arnaud Simon2008-06-041-1/+0
| | | | | | and then still available. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1120: Changed addDeliveredMessage and commit so session.completed is ↵Arnaud Simon2008-06-042-15/+52
| | | | | | sent before credits dry up git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663124 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1112: Update previous commit by re-using messageAcknowledge (added a ↵Arnaud Simon2008-06-035-46/+22
| | | | | | flag specifying whether to send an messageAccept) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662827 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1115: Only generate client ID when necessaryArnaud Simon2008-06-033-38/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662755 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1112: Added sessionCompleted support and changed onMessage for invoking ↵Arnaud Simon2008-06-034-3/+42
| | | | | | sessionCompleted when all expected messages have been received. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662665 13f79535-47bb-0310-9956-ffa450edef68
* 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 and QPID-1095: Updated XaResource for handling wrong flag value, ↵Arnaud Simon2008-05-281-2/+34
| | | | | | 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-283-180/+199
| | | | 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-232-43/+10
| | | | | | 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
* Made Range, RangeSet, and Session all use proper RFC1982 comparisons per ↵Rafael H. Schloming2008-05-227-15/+15
| | | | | | 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/+456
| | | | | | 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-222-17/+33
| | | | | | 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-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-2415-2647/+2647
| | | | 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-2470-1320/+3761
| | | | 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-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-1660-12503/+373
| | | | | | 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-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-829 Remove 0.10 specific URL. The code path is now selected based on ↵Arnaud Simon2008-04-027-87/+97
| | | | | | 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
* 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