summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* restructured the eclipse-plugin for packaging according to platformBhupendra Bhusman Bhardwaj2006-12-134-0/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486620 13f79535-47bb-0310-9956-ffa450edef68
* QPID-172Martin Ritchie2006-12-131-1/+44
| | | | | | The PoolingFilterTest.java would throw an ugly NullPointerException. This was due to there being no next filter. So Created a NoOpFilter that prevents this. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486610 13f79535-47bb-0310-9956-ffa450edef68
* QPID-172Martin Ritchie2006-12-133-1/+335
| | | | | | | | | | | | | | | RejectedExecutionException. In fireEvent added additional checks :_poolReference.getPool() != null && !_poolReference.getPool().isShutdown() to if (job.activate()) As active jobs were being put on a pool that was shutdown. Included a test to check that the RejectedExecutionException doesn't occur. (add ignore for example/target) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-175 Patch supplied by Rob Godfrey. Now allocates new autoexpanding ↵Robert Greig2006-12-132-4/+41
| | | | | | buffer for StreamMessage when clearBody is called git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-9Martin Ritchie2006-12-133-7/+23
| | | | | | | | Added ability to send NULL Strings. EncodingUtils.java now returns an empty string for a zero lengthed String. To send a null string use prefix 'n' MapMessageTest.java - Updated to test emptyString and nullString behave correctly. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486574 13f79535-47bb-0310-9956-ffa450edef68
* QPID-174 Fix submitted by Rob Godfrey. Now performs a flip() to ensure the ↵Robert Greig2006-12-124-24/+132
| | | | | | limit is set correctly. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486255 13f79535-47bb-0310-9956-ffa450edef68
* QPID-164Martin Ritchie2006-12-128-229/+1506
| | | | | | | | | | | JMSMapMessage.java - fixed incorrect exceptions and return values. Data now sent as a Bytes message. MapMessageTest.java - updated to be more through with the testing of the returned message EncodingUtils.java - added unsignedIntegerLength() FieldTableFactory.java - removed specific PropertyFieldTable reference PropertyFieldTable.java - fixed encoding issues that were causing BufferOverflow errors. PropertyFieldTableTest.java - added test to ensure that the encoding size is correct for ALL types. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486254 13f79535-47bb-0310-9956-ffa450edef68
* set logging level with propertyStephen Vinoski2006-12-121-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486206 13f79535-47bb-0310-9956-ffa450edef68
* QPID-171 Patch supplied by Rob Godfrey to fix problem where close check for ↵Robert Greig2006-12-122-12/+84
| | | | | | publisher methods did not appear to be done. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486198 13f79535-47bb-0310-9956-ffa450edef68
* More example fixes and updated pomMarnie McCormack2006-12-124-36/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486165 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to example classesMarnie McCormack2006-12-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486162 13f79535-47bb-0310-9956-ffa450edef68
* printing the error stack traceBhupendra Bhusman Bhardwaj2006-12-123-25/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486149 13f79535-47bb-0310-9956-ffa450edef68
* QPID-95 : Patch supplied by Rob Godfrey - throws correct exception when ↵Robert Greig2006-12-124-12/+222
| | | | | | encountering a non-routable mandatory message git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486132 13f79535-47bb-0310-9956-ffa450edef68
* QPID-102: fixed reset(), null handling and readBytes() processing in ↵Robert Greig2006-12-124-283/+425
| | | | | | StreamMessage. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486118 13f79535-47bb-0310-9956-ffa450edef68
* Removed example dir from here as created under client dirMarnie McCormack2006-12-1218-1773/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486098 13f79535-47bb-0310-9956-ffa450edef68
* Re-introduced example classesMarnie McCormack2006-12-1219-0/+1884
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486084 13f79535-47bb-0310-9956-ffa450edef68
* systests test reorgStephen Vinoski2006-12-1215-40/+30
| | | | | | | | * move unused tests to src/old_test * modify pom.xml to remove surefire inclusions and exclusions git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486021 13f79535-47bb-0310-9956-ffa450edef68
* complete client test reorganizationStephen Vinoski2006-12-124-6/+0
| | | | | | | | * a couple more directory moves * remove inclusions and exclusions from surefire config in pom.xml git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486010 13f79535-47bb-0310-9956-ffa450edef68
* client test reorganizationStephen Vinoski2006-12-12100-19/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486008 13f79535-47bb-0310-9956-ffa450edef68
* QPID-102: removed some superfluous code from JMSStreamMessage.Robert Greig2006-12-111-87/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485854 13f79535-47bb-0310-9956-ffa450edef68
* QPID-102: add type conversion logic in StreamMessage.Robert Greig2006-12-112-76/+464
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485852 13f79535-47bb-0310-9956-ffa450edef68
* Corrected compile errorKim van der Riet2006-12-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485788 13f79535-47bb-0310-9956-ffa450edef68
* This contains a fix for QPID-165 and QPID-166Rajith Muditha Attapattu2006-12-1110-13/+137
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485735 13f79535-47bb-0310-9956-ffa450edef68
* Added stubs for new Content interface to support new AMQP 0-9 transportKim van der Riet2006-12-112-0/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485730 13f79535-47bb-0310-9956-ffa450edef68
* fix misplaced double quoteStephen Vinoski2006-12-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-163 - attempting to change the client id results in an exception being ↵Robert Greig2006-12-092-11/+49
| | | | | | thrown. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-102 Addition of StreamMessage supportRobert Greig2006-12-099-107/+1358
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@484987 13f79535-47bb-0310-9956-ffa450edef68
* minor client build changesStephen Vinoski2006-12-082-5/+6
| | | | | | | | * changed the name of the output directory for generated sources * temporary workaround to restore build avoidance wrt code generation git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@484848 13f79535-47bb-0310-9956-ffa450edef68
* fix for QPID-116Stephen Vinoski2006-12-082-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@484843 13f79535-47bb-0310-9956-ffa450edef68
* make hard-coded logging level variableStephen Vinoski2006-12-081-4/+1
| | | | | | | | | The log4j logging level was hard-coded to WARN. This change picks up the level from the amqj.logging.level property, so it can be varied on the command line. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@484658 13f79535-47bb-0310-9956-ffa450edef68
* added preconditions to check session status before invoking methods as per ↵Rajith Muditha Attapattu2006-12-081-0/+15
| | | | | | the JMS spec git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483977 13f79535-47bb-0310-9956-ffa450edef68
* Reverted Mina 1.0.1 change as it is causing buffer decode errorsMartin Ritchie2006-12-081-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483911 13f79535-47bb-0310-9956-ffa450edef68
* Upgraded Mina to 1.0.1Martin Ritchie2006-12-081-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483879 13f79535-47bb-0310-9956-ffa450edef68
* changes for Eclipse supportStephen Vinoski2006-12-071-154/+0
| | | | | | | | | removed all the checkstyle and pmd dependencies and configuration, as we don't use any of that stuff. we can always add it back later if we decide that code style rules should be checked. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483671 13f79535-47bb-0310-9956-ffa450edef68
* Quick change to generator to generate into framing dir only. NOTE: cannot ↵Kim van der Riet2006-12-071-4/+3
| | | | | | use more than one version at the same time with this change in place (until the new generator is integrated, that is...) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483645 13f79535-47bb-0310-9956-ffa450edef68
* QPID-9Martin Ritchie2006-12-071-1/+101
| | | | | | Added checks on the field names git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483559 13f79535-47bb-0310-9956-ffa450edef68
* QPID-9Martin Ritchie2006-12-074-189/+338
| | | | | | | | | | BasicContentHeaderPropertiesTest.java & PropertyFieldTableTest.java updated to use EncodingUtils.java to calculate expected Sizes. PropertyFieldTable.java - Updated to use wider range of encoded values, Rather than very wasteful XML encoding. EncodingUtils.java - updated to centralise the new encodings. added target to ignore on eclipse-plugin folder git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483503 13f79535-47bb-0310-9956-ffa450edef68
* Added line to check setPropertyNames as useful temp system Marnie McCormack2006-12-071-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483424 13f79535-47bb-0310-9956-ffa450edef68
* Added setObjectProperty test for now, will refactor this class anonMarnie McCormack2006-12-071-10/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483423 13f79535-47bb-0310-9956-ffa450edef68
* QPID-152Martin Ritchie2006-12-071-4/+2
| | | | | | This was just an oversight the Header has a _type string but was never used. Put in methods to call set/get it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483419 13f79535-47bb-0310-9956-ffa450edef68
* Adding unit tests Marnie McCormack2006-12-071-0/+159
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483404 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-159. These implementations now throw the correct ↵Rajith Muditha Attapattu2006-12-066-18/+167
| | | | | | exceptions as required by the spec git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483129 13f79535-47bb-0310-9956-ffa450edef68
* QPID-125Bhupendra Bhusman Bhardwaj2006-12-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-125Bhupendra Bhusman Bhardwaj2006-12-062-7/+45
| | | | | | excluded the qpid management eclipse-plugin module and dependencies from bin and client distribution jars git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483118 13f79535-47bb-0310-9956-ffa450edef68
* QPID-125Bhupendra Bhusman Bhardwaj2006-12-064-27/+187
| | | | | | maven build and distribution for qpid management eclipse-plugin git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483116 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: ↵Bhupendra Bhusman Bhardwaj2006-12-065-27/+3
| | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483107 13f79535-47bb-0310-9956-ffa450edef68
* QPID-125Bhupendra Bhusman Bhardwaj2006-12-0612-224/+335
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483106 13f79535-47bb-0310-9956-ffa450edef68
* FieldTable change.Martin Ritchie2006-12-0523-734/+1102
| | | | | | | | | | | | | | | | | | | | | | | | | | FieldTable is now an interface with a PropertyFieldTable.java implementation. This PropertyFieldTable has been updated to handle the wire level encoding and decoding of the underlying map. It also allows XML encoding of the data as used by JMSMapMessage. Currently the AMQP doesn't support all the Java primitives as a result all values are written out as XML using a prefix of 'X'. (See QPID-9 for further details) Changes where not specified are changes from new FieldTable() to FieldTableFactory.newFieldTable() AbstractJMSMessage.java - the type prefixing of properties is now not requried as all the functionality has been moved to PropertyFieldTable.java. In addition set/getObjectProperty is now implemented as PFT does this. basic Tests have been updated to send all property values. FieldTableKeyEnumeration.java has been removed as it is nolonger required. The PFT handles this internally. ToDo: The Tests need to be consolidated so that there is a clear view of the code coverage. QPID-158 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482733 13f79535-47bb-0310-9956-ffa450edef68
* use gnu mode for tarLongFileMode to avoid warnings about long pathnamesStephen Vinoski2006-12-051-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482697 13f79535-47bb-0310-9956-ffa450edef68
* QPID-51Bhupendra Bhusman Bhardwaj2006-12-054-29/+96
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482571 13f79535-47bb-0310-9956-ffa450edef68