summaryrefslogtreecommitdiff
path: root/java/client
Commit message (Collapse)AuthorAgeFilesLines
* QPID-207 : Patch supplied by Rob Godfrey - fix implementation of acknowledge ↵Robert Greig2006-12-165-15/+151
| | | | | | as per JMS spec git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487903 13f79535-47bb-0310-9956-ffa450edef68
* QPID-206 : Fix byte buffer reseting in AbstractJMSMessageRobert Greig2006-12-165-15/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487849 13f79535-47bb-0310-9956-ffa450edef68
* QPID-205 : Do not allow subscription to temporary topics created on a ↵Robert Greig2006-12-166-74/+182
| | | | | | different session. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487821 13f79535-47bb-0310-9956-ffa450edef68
* QPID-204 : Implement TemporaryTopic.deleteRobert Greig2006-12-164-10/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487804 13f79535-47bb-0310-9956-ffa450edef68
* QPID-202 : Implement TemporaryQueue.deleteRobert Greig2006-12-164-20/+161
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487801 13f79535-47bb-0310-9956-ffa450edef68
* QPID-202 : Fix so not to throw NullPointerException when using unidentified ↵Robert Greig2006-12-161-31/+36
| | | | | | senders git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487782 13f79535-47bb-0310-9956-ffa450edef68
* QPID-201 : Fix to throw correct exception when getting char as null in ↵Robert Greig2006-12-161-0/+21
| | | | | | JMSMapMessage git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487779 13f79535-47bb-0310-9956-ffa450edef68
* QPID-195 : Fix to JMSObjectMessage so that setObject(null) rteurns the ↵Robert Greig2006-12-162-2/+10
| | | | | | message to it's initial state (_data = null), for which getObject() correctly returns null. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487778 13f79535-47bb-0310-9956-ffa450edef68
* This contains a fix for QPID-200Rajith Muditha Attapattu2006-12-152-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487704 13f79535-47bb-0310-9956-ffa450edef68
* reinstating the fix for QPID-191 that was wiped out as a result of another fixRajith Muditha Attapattu2006-12-151-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-194 Patch supplied by Rob Godfrey.Robert Greig2006-12-152-18/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-183 Patch supplied by Rob Godfrey. Major changes to durable topic ↵Robert Greig2006-12-1516-202/+542
| | | | | | subscription handling. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-182Martin Ritchie2006-12-151-12/+2
| | | | | | Fixed the incorrect exception being thrown by JMSPropertyFieldTable.java. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487548 13f79535-47bb-0310-9956-ffa450edef68
* QPID-181 QPID-180Martin Ritchie2006-12-155-299/+424
| | | | | | | | | | | | | | AbstractJMSMessage.java - updated to use getJMSHeaders JMSMapMessage.java - JMSPropertyFieldTable.java - Moved functionality of setting and retrieving a JMS property. Now shared by the Headers and MapMessageTest.java MapMessageTest.java - Updated the exceptions that are caught as all methods should throw a JMSException i.e. MessageFormatException TextMessageTest.java - Added tests for the Message Properties common/pom.xml - Added JMS dependency for the JMSPropertyFieldTable.java and associated tests EncodingUtils.java - changed comments and changed getencodedCharLength return to an int PropertyFieldTable.java - Cleaned up and now uses enum for prefixs. Created comprehensive test of both PropertyFieldTable classes. AMQPInvalidClassException.java - created to throw a runtime exception when trying to add a non-primative value. Forcing clients to handle this would break the Map usage of the FieldTable. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487481 13f79535-47bb-0310-9956-ffa450edef68
* This contains a fix for QPID-191 and QPID-192Rajith Muditha Attapattu2006-12-153-6/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487435 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: ↵Robert Greig2006-12-142-16/+195
| | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487383 13f79535-47bb-0310-9956-ffa450edef68
* QPID-193 Make createConsumer synchronous to avoid races in client code.Robert Greig2006-12-142-9/+83
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487368 13f79535-47bb-0310-9956-ffa450edef68
* fixed a merge conflict for TopicPublisherAdapter.java and a possible fix for ↵Rajith Muditha Attapattu2006-12-142-27/+38
| | | | | | QPID-183 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487214 13f79535-47bb-0310-9956-ffa450edef68
* Removing CTS as no longer useful, since team have access to JMC TCK and no ↵Marnie McCormack2006-12-149-713/+0
| | | | | | progress on CTS rendering it an obsolete task. See http://issues.apache.org/jira/browse/QPID-169 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487177 13f79535-47bb-0310-9956-ffa450edef68
* Added error code to the construction JMS exception passed back to the ↵Marnie McCormack2006-12-141-1/+8
| | | | | | exception listener in exceptionReceived method, where exception subclasses AMQException and thus exposes an error code. See JIRA-186 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487176 13f79535-47bb-0310-9956-ffa450edef68
* 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-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
* 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-131-3/+1
| | | | | | | | 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-124-145/+1176
| | | | | | | | | | | 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
* 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-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
* 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
* 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
* 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
* 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
* 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