summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-179 Now has hook for pre-send preparation of message which in turn ↵Robert Greig2006-12-135-133/+141
| | | | | | allows us to handle the distinction between null and empty String text message bodies. Actual distinction is carried in a message property. Patch supplied by Rob Godfrey. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486783 13f79535-47bb-0310-9956-ffa450edef68
* QPID-182. Removed old GRM hack.Steven Shaw2006-12-131-11/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486762 13f79535-47bb-0310-9956-ffa450edef68
* QPID-176 Patch supplied by Rob Godfrey. Check for topic is now more ↵Robert Greig2006-12-132-134/+244
| | | | | | sophisticated since simple null check is not adequate. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486731 13f79535-47bb-0310-9956-ffa450edef68
* QPID-177 Patch supplied by Rob Godfrey: adapter now calls the correct ↵Robert Greig2006-12-132-36/+163
| | | | | | createTextMessage overloaded method. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-9Martin Ritchie2006-12-133-26/+38
| | | | | | | | Updated EncodingUtils.java to include a single Character field so we can tell the difference between a char and a string of length 1. Tests changed accordingly. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486648 13f79535-47bb-0310-9956-ffa450edef68
* QPID-149Martin Ritchie2006-12-138-51/+73
| | | | | | | | | replyTo destination was invalid when using TemporaryQueues as the getEncodingName was using a simple method for encoding the Destination. This has been updated to use a BindingURL as this is more transportable. getEncodingName removed from all AMQDestination subclasses and now is implemented in AMQDestination as a call to toURL() Created static Destination.createDestination(BindingURL) to create the correct destination from a BindingURL. PropertiesFileInitialContextFactory.java and AbstractJMSMessage.java updated to use this. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486647 13f79535-47bb-0310-9956-ffa450edef68
* Minor white space and logging changesMartin Ritchie2006-12-133-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486646 13f79535-47bb-0310-9956-ffa450edef68
* Added comments about possible RejectedExecutionException that may occur when ↵Martin Ritchie2006-12-132-2/+12
| | | | | | starting to process aSync deliveries as the broker closes its execution pools. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-172Martin Ritchie2006-12-131-1/+7
| | | | | | Applied the same change to the second call to <threadpool>.execute() to be sure that a RejectedExecutionException doesn't appear. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486626 13f79535-47bb-0310-9956-ffa450edef68
* included the eclipse-plugin assembly file for unixBhupendra Bhusman Bhardwaj2006-12-133-7/+119
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486624 13f79535-47bb-0310-9956-ffa450edef68
* included the config file pathBhupendra Bhusman Bhardwaj2006-12-132-20/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486623 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: ↵Bhupendra Bhusman Bhardwaj2006-12-132-0/+5
| | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486621 13f79535-47bb-0310-9956-ffa450edef68
* 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