summaryrefslogtreecommitdiff
path: root/java/common/src
Commit message (Collapse)AuthorAgeFilesLines
* updated qpid.0-10/java to match trunk/qpid/java@686097Rafael H. Schloming2008-08-15116-2926/+3740
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-10@686136 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1140 and QPId-1141.Rajith Muditha Attapattu2008-06-162-31/+10
| | | | | | | | | I also removed commented code as well as code that wasn't used. Cleaned up unused imports as well. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668333 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: add tests for RangeSet; fixed a bug found by the new testsRafael H. Schloming2008-06-164-21/+265
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668309 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: set the frame track correctlyRafael H. Schloming2008-06-161-6/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668308 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: request known-completed every 64K incoming commands, fixed ↵Rafael H. Schloming2008-06-132-5/+52
| | | | | | handling of incoming known-completed to clear out processed set git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667615 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: don't send known-completed for ranges we ignoreRafael H. Schloming2008-06-132-5/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667540 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: flush after every 64K commands issuedRafael H. Schloming2008-06-131-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667501 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1129: unless otherwise specified, limit the receive buffer size to 64KRafael H. Schloming2008-06-101-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@666259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: made logging of ids less expensive, also limit how much data we ↵Rafael H. Schloming2008-06-093-4/+16
| | | | | | dump into the log git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@665798 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: added logging of sync bit and command-idRafael H. Schloming2008-06-094-3/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@665733 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1127: disable direct buffers as default.Arnaud Simon2008-06-091-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@664698 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1126: reuse channel numbers for sessions that have closed, and honor ↵Rafael H. Schloming2008-06-075-12/+36
| | | | | | 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-1125: log exceptions destined to be swallowed by MINARafael H. Schloming2008-06-061-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@664140 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1062: merge writes of separate frames within an assembly, use sync flag ↵Rafael H. Schloming2008-06-062-17/+61
| | | | | | 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-052-4/+20
| | | | | | 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-1062: use BBDecoder for non fragmented segments, modified ↵Rafael H. Schloming2008-06-046-22/+85
| | | | | | BBDecoder/Encoder to use byte buffer primitives, made various classes final (including generated classes) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663325 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: honor the timely-reply flag and handle known-completedRafael H. Schloming2008-06-032-9/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662859 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1062: modified generated code to keep packing flags in wire form and ↵Rafael H. Schloming2008-06-038-102/+71
| | | | | | override commonly used size methods for improved performance git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662849 13f79535-47bb-0310-9956-ffa450edef68
* This check in is for QPID-1102.Rajith Muditha Attapattu2008-05-302-0/+313
| | | | | | | | | 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-901: Track and report session exceptions, modified generator validate ↵Rafael H. Schloming2008-05-236-3/+255
| | | | | | 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-2214-240/+167
| | | | | | 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-1086: changed session.flush confirmed to do the same than for ↵Arnaud Simon2008-05-211-1/+1
| | | | | | session.flush completed git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@658689 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1062: phase 1 of improvements to 0-10 encode/decode; this inlines the ↵Rafael H. Schloming2008-05-151-72/+2
| | | | | | read/write method of structs into generated code resulting in roughly a 2x improvement git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656760 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1006: Don't use tcp-nodelay as default and set socket buffer size only ↵Arnaud Simon2008-05-131-8/+13
| | | | | | when the corresponding property is set. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655923 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1025: updated fix for empty payload issue, this change removes state ↵Rafael H. Schloming2008-05-121-13/+32
| | | | | | 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-1025: changed received so empty Payload are processedArnaud Simon2008-05-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653518 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1007: removed bad importsArnaud Simon2008-05-051-10/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653400 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1006 and QPID-1007: -QPID-1006:use same socket buffer size and frame ↵Arnaud Simon2008-05-051-4/+64
| | | | | | size -QPID-1007: added io write handler into MINA chain git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653354 13f79535-47bb-0310-9956-ffa450edef68
* QPID-988 and QPID-989: fixes to framing for final 0-10 specGordon Sim2008-04-304-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652386 13f79535-47bb-0310-9956-ffa450edef68
* QPID-984: override MINA's IoServiceListenerSupport class in order to fix ↵Rafael H. Schloming2008-04-291-0/+351
| | | | | | infinite loop git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 : Fix eol-styleRobert Godfrey2008-04-2438-5810/+5810
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651325 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 nuke some obsolete stuffAidan Skinner2008-04-241-125/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651134 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 merge M2.xAidan Skinner2008-04-2457-888/+7971
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651133 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-1629-473/+722
| | | | | | 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
* This is a fix for QPID-911.Rajith Muditha Attapattu2008-04-091-0/+2
| | | | | | | When the message id is set, _hasBeenUpdated will be set to true. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-829 Remove 0.10 specific URL. The code path is now selected based on ↵Arnaud Simon2008-04-027-4/+116
| | | | | | 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
* Changed construtor serialbits type, was double should be long (ref qpid-861)Arnaud Simon2008-03-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@641304 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-861: Java RFC 1982 implementation + Junit testsArnaud Simon2008-03-263-0/+275
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@641212 13f79535-47bb-0310-9956-ffa450edef68
* Revision 636791 says: "Added constant to represent the AMQP versions, as ↵Arnaud Simon2008-03-181-1/+1
| | | | | | 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
* Added constant to represent the AMQP versions, as previously it was hard-coded.Rajith Muditha Attapattu2008-03-132-1/+8
| | | | | | | | Modified the ConnectionDelegate to use the Constants for AMQP version. Also the version cosntants were changed to 99-0 to work with the c++ broker until the 0-10 framing gets completed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@636791 13f79535-47bb-0310-9956-ffa450edef68
* Changed host name to localhost so the test can run on Windows (see QPID-836)Arnaud Simon2008-03-071-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634673 13f79535-47bb-0310-9956-ffa450edef68
* Correct the constant OPTION_BINDING_KEY that resulted in a test case failureRajith Muditha Attapattu2008-02-273-15/+24
| | | | | | | | | Modified the AMQBindingURL to fix an error in the toString method Added more test cases to the main method in the BindingURLParser for quick testing, these cases are also present as unit tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631695 13f79535-47bb-0310-9956-ffa450edef68
* Added a new parser for the BindingURL.Rajith Muditha Attapattu2008-02-273-132/+506
| | | | | | | | | This allows adding multiple binding keys, using # and * in the URLs. This is tracked via QPID-814 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631489 13f79535-47bb-0310-9956-ffa450edef68
* combined test cases and eliminated race conditionRafael H. Schloming2008-02-211-12/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629991 13f79535-47bb-0310-9956-ffa450edef68
* added flag for tagging header without a payloadArnaud Simon2008-02-213-5/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629747 13f79535-47bb-0310-9956-ffa450edef68
* fixed logging of message DataRafael H. Schloming2008-02-131-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627607 13f79535-47bb-0310-9956-ffa450edef68
* synchronize access to lastWrite futureRafael H. Schloming2008-02-121-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627154 13f79535-47bb-0310-9956-ffa450edef68
* fixed computation of ranged acks, fix needed for failing RecoverTestRafael H. Schloming2008-02-111-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@620584 13f79535-47bb-0310-9956-ffa450edef68
* added test for exception listener; fixed NPERafael H. Schloming2008-02-072-21/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619538 13f79535-47bb-0310-9956-ffa450edef68
* Added code to pass in the throwable to the closedListener so that it can be ↵Rajith Muditha Attapattu2008-02-061-1/+1
| | | | | | included in the JMS Exception thrown via the ExceptionListener git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619189 13f79535-47bb-0310-9956-ffa450edef68