summaryrefslogtreecommitdiff
path: root/qpid/java/common
Commit message (Collapse)AuthorAgeFilesLines
* error checking for field table decode, actually close sessions on session ↵Rafael H. Schloming2007-10-013-4/+41
| | | | | | close, and maintain cummulative mark in session git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@581056 13f79535-47bb-0310-9956-ffa450edef68
* fixed codec of UUIDsRafael H. Schloming2007-09-272-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@579863 13f79535-47bb-0310-9956-ffa450edef68
* improved close handling, made session.sync() return on session closeRafael H. Schloming2007-09-253-1/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@579040 13f79535-47bb-0310-9956-ffa450edef68
* switched to one byte for class/method idsRafael H. Schloming2007-09-242-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@578891 13f79535-47bb-0310-9956-ffa450edef68
* added a mapping for byte[]sRafael H. Schloming2007-09-242-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@578864 13f79535-47bb-0310-9956-ffa450edef68
* added field table encoding/decodingRafael H. Schloming2007-09-2415-107/+736
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@578827 13f79535-47bb-0310-9956-ffa450edef68
* rerun generate script when it is modifiedRafael H. Schloming2007-09-241-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@578826 13f79535-47bb-0310-9956-ffa450edef68
* added back access ticket to the encode/decode methodsRafael H. Schloming2007-09-201-4/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@577827 13f79535-47bb-0310-9956-ffa450edef68
* added frame-end constantRafael H. Schloming2007-09-202-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@577785 13f79535-47bb-0310-9956-ffa450edef68
* merged the qpidity.url classes in to qpid.url and deleted qpidity.urlRajith Muditha Attapattu2007-09-196-271/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@577464 13f79535-47bb-0310-9956-ffa450edef68
* added messageAcquire method Arnaud Simon2007-09-191-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@577330 13f79535-47bb-0310-9956-ffa450edef68
* forgot to dispatch non L4 methods inside SessionDelegateRafael H. Schloming2007-09-191-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@577323 13f79535-47bb-0310-9956-ffa450edef68
* * ProtocolEvent.Switch --> ProtocolDelegateRafael H. Schloming2007-09-1714-121/+121
| | | | | | | | | | * Delegate --> MethodDelegate * Added method dispatching as a separate delegation level to the hierarchy underneath ProtocolDelegate. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@576587 13f79535-47bb-0310-9956-ffa450edef68
* Took out the URL parsing logic from the AMQConnectionURL and moved in two ↵Rajith Muditha Attapattu2007-09-141-2/+3
| | | | | | | | | | | | | | | | | | Parser classes. The Connection Type (0-8 or 0-10) is decided based on the URL scheme if AMQConnection is created by passing a URL. In other cases it will be based on a jvm switch. Other constructors in AMQConnection internally constructs an 0-8 URL and call the constrcutor with a URL. In that case it is difficult to figure out the type of connection with out additional information. The additional information commes in the form of the following jvm arguments SwitchCon - enables this switch 0-10 - creates an 0-10 connection and the absence of it creates an 0-8 connection This was done to minimize any impact on the test code. currently only one code path can be tested at a given time. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@575789 13f79535-47bb-0310-9956-ffa450edef68
* * moved most of the classes in the org.apache.qpidity package toRafael H. Schloming2007-09-1357-1514/+1350
| | | | | | | | | | | | | | | | | | | | org.apache.qpidity.transport * factored out the network specific pieces into org.apache.qpidity.transport * moved the mina specific code to org.apache.qpidity.transport.network.mina * replaced the handler chain with Sender/Receiver chains that can deal with close request/closed notifications * moved from an anonymous struct[] to a real Header class * removed an excess copy from message data transmit git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@575474 13f79535-47bb-0310-9956-ffa450edef68
* Remerge of M2. All tests pass locallyMartin Ritchie2007-08-305-33/+103
| | | | | | | | | | | | | | | | Testing done in Intelij and mvn command line via windows/cygwin. Python tests removed from auto build pending Jython-siztion. Tested running broker in intelij and python run-tests from cygwin. All tests pass. (CombinedTest still exhibts a race condition. but that has always been so.) Additional Race condition identified (around MsgReject/AutoDeleteQueues) during testing patch to follow. systests are inconsistent Some use TestableMemoryMessageStore some use MemoryMessgaeStore. Lets not roll back this change if issues are discovered. Lets work together to go forward and address any issues. I have spent a lot of time ensuring the tests work for me so I hope that they work for you. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@571129 13f79535-47bb-0310-9956-ffa450edef68
* Added basic test case to test JMSRajith Muditha Attapattu2007-08-248-37/+91
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@569547 13f79535-47bb-0310-9956-ffa450edef68
* moved Encoder, Decoder and related classes into the codec sub-packageRafael H. Schloming2007-08-2317-21/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@569045 13f79535-47bb-0310-9956-ffa450edef68
* updated from M2 branchArnaud Simon2007-08-231-17/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@568950 13f79535-47bb-0310-9956-ffa450edef68
* Updated XIDArnaud Simon2007-08-221-0/+268
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@568536 13f79535-47bb-0310-9956-ffa450edef68
* added Constant interface generation Arnaud Simon2007-08-211-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@568055 13f79535-47bb-0310-9956-ffa450edef68
* Updated QpidURL scheme Arnaud Simon2007-08-204-349/+411
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@567627 13f79535-47bb-0310-9956-ffa450edef68
* wrote a parser for the new URL formatRajith Muditha Attapattu2007-08-173-15/+431
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@567174 13f79535-47bb-0310-9956-ffa450edef68
* added destination URL handling Arnaud Simon2007-08-175-3/+444
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@567047 13f79535-47bb-0310-9956-ffa450edef68
* Added clearData() and getTransferId() to the Message interfaceRajith Muditha Attapattu2007-08-152-4/+56
| | | | | | | | Added Java doc git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@566155 13f79535-47bb-0310-9956-ffa450edef68
* added error code supportRajith Muditha Attapattu2007-08-135-13/+110
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@565561 13f79535-47bb-0310-9956-ffa450edef68
* Added a Toy Exchange that does same basic routing for direct and topic.Rajith Muditha Attapattu2007-08-105-46/+215
| | | | | | | | | | Should be good enough for Arnaud to test atleast the basic JMS functionality. Added a FileMessage to demo Martins requirment. Haven't tested yet. The Toy Broker can now accept subscriptions and transfer messages to clients git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@564451 13f79535-47bb-0310-9956-ffa450edef68
* implemented the Connection and Session APIRajith Muditha Attapattu2007-08-0920-54/+902
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@564124 13f79535-47bb-0310-9956-ffa450edef68
* updated the amqp.0-10-preview.xml to reflect the latest votes, and added ↵Rafael H. Schloming2007-08-098-9/+199
| | | | | | support for execution results git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@564077 13f79535-47bb-0310-9956-ffa450edef68
* fixed executionSyncRafael H. Schloming2007-08-084-9/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@564037 13f79535-47bb-0310-9956-ffa450edef68
* changed the API based on the discussions with rafi and arnaud. also fixed ↵Rajith Muditha Attapattu2007-08-083-8/+5
| | | | | | the compilation errors git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@563959 13f79535-47bb-0310-9956-ffa450edef68
* fixed a bunch of temporary hacks, we now auto process comands that have no ↵Rafael H. Schloming2007-08-0813-48/+166
| | | | | | payload git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@563829 13f79535-47bb-0310-9956-ffa450edef68
* implemented Session.sync()Rafael H. Schloming2007-08-0811-28/+243
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@563738 13f79535-47bb-0310-9956-ffa450edef68
* - made generated classes mutableRafael H. Schloming2007-08-0731-371/+962
| | | | | | | | | | | | | | | - added setters to generated classes - moved version specific aspect of generated classes to read/write methods - simplified StructFactory - added ConnectionDelegate - removed DelegateResolver - implemented content and header transfer - implemented primitive command window - added ToyBroker and ToyClient for testing - removed throws QpidException from generated delegate git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@563386 13f79535-47bb-0310-9956-ffa450edef68
* moved from clientArnaud Simon2007-08-0613-1/+2467
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@563138 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@563097 ↵Arnaud Simon2007-08-064-0/+577
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* added default exchange Arnaud Simon2007-08-051-0/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@562904 13f79535-47bb-0310-9956-ffa450edef68
* Added NO_OPTION as a convenient way for using ? : Arnaud Simon2007-08-051-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@562883 13f79535-47bb-0310-9956-ffa450edef68
* added struct codegen and fixed naming bug in generated gettersRafael H. Schloming2007-08-043-28/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@562775 13f79535-47bb-0310-9956-ffa450edef68
* Fixed compilation errorsRajith Muditha Attapattu2007-08-032-51/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@562479 13f79535-47bb-0310-9956-ffa450edef68
* Moved into clientArnaud Simon2007-08-031-60/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@562413 13f79535-47bb-0310-9956-ffa450edef68
* added amqp.0-10-preview.xml and switched the qpidity codegen over to use itRafael H. Schloming2007-08-0312-49/+79
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@562325 13f79535-47bb-0310-9956-ffa450edef68
* fixed build failures caused by sloppy checkins and SNAPSHOT dependencies, ↵Rafael H. Schloming2007-08-031-53/+48
| | | | | | changed the junit-toolkit version from 0.6-SNAPSHOT to 0.6-20070718.144514-11 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@562323 13f79535-47bb-0310-9956-ffa450edef68
* replaced hardcode : with ${path.separator} for cygwinRafael H. Schloming2007-08-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@562104 13f79535-47bb-0310-9956-ffa450edef68
* added more comments to the CommonSessionDelegateRajith Muditha Attapattu2007-08-011-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@561986 13f79535-47bb-0310-9956-ffa450edef68
* added wiring to Rafi's comm stackRajith Muditha Attapattu2007-08-014-0/+99
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@561981 13f79535-47bb-0310-9956-ffa450edef68
* StreamingMessageListener - was added to deliver message parts as an when ↵Rajith Muditha Attapattu2007-08-012-0/+122
| | | | | | | | | | they are available as opposed to sending a completed message (as in MessageListener) Message - was added to abstract the message data underneath. this can be used in both broker and client git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@561980 13f79535-47bb-0310-9956-ffa450edef68
* plumbed the input/output into MINA and filled out more of the encoding/decodingRafael H. Schloming2007-08-0134-368/+1714
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@561665 13f79535-47bb-0310-9956-ffa450edef68
* forgot to add jython libRafael H. Schloming2007-08-011-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@561658 13f79535-47bb-0310-9956-ffa450edef68
* switched common generate script over to jythonRafael H. Schloming2007-08-012-9/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@561657 13f79535-47bb-0310-9956-ffa450edef68