summaryrefslogtreecommitdiff
path: root/java/client
Commit message (Collapse)AuthorAgeFilesLines
* Changed Content to use ByteBuffer, added Message.Transfer and Message.Cancel ↵Kim van der Riet2007-01-182-5/+3
| | | | | | handlers git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497585 13f79535-47bb-0310-9956-ffa450edef68
* Client: added request and response managers for channel 0Kim van der Riet2007-01-181-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497450 13f79535-47bb-0310-9956-ffa450edef68
* Last of client compile errors and exceptionsKim van der Riet2007-01-173-14/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497195 13f79535-47bb-0310-9956-ffa450edef68
* Solved remaining compile problems in client except for missing line in ↵Kim van der Riet2007-01-174-43/+74
| | | | | | UnprocessedMessage.java file. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497179 13f79535-47bb-0310-9956-ffa450edef68
* fixed the compilation errors in the message classes and changed to use ↵Rajith Muditha Attapattu2007-01-1717-84/+87
| | | | | | MessageHeaders instead of the old ContentHeaders class git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497169 13f79535-47bb-0310-9956-ffa450edef68
* The method signatures are changed to use the new MessageHeaders and Content ↵Rajith Muditha Attapattu2007-01-171-4/+3
| | | | | | classes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497162 13f79535-47bb-0310-9956-ffa450edef68
* This contains modifications to create messages using the new MessageHeaders ↵Rajith Muditha Attapattu2007-01-171-12/+10
| | | | | | and Content classes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497161 13f79535-47bb-0310-9956-ffa450edef68
* Conversion of client/BasicMessageProducer to new Message classKim van der Riet2007-01-171-53/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497138 13f79535-47bb-0310-9956-ffa450edef68
* Fixed typo in client/AMQSession.java from last checkinKim van der Riet2007-01-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497093 13f79535-47bb-0310-9956-ffa450edef68
* added error handling and resolved compilation errorsRajith Muditha Attapattu2007-01-171-20/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497078 13f79535-47bb-0310-9956-ffa450edef68
* added error handling and resolved compilation errorsRajith Muditha Attapattu2007-01-172-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497063 13f79535-47bb-0310-9956-ffa450edef68
* Filled in the MessageTransferMethodHandler and added a few fields to the ↵Rajith Muditha Attapattu2007-01-177-53/+87
| | | | | | | | | | MessageHeaders class. Minor modifications to AMQProtocolSession to directly fire the unprocessed message to AMQSession instead of strong in a map. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497062 13f79535-47bb-0310-9956-ffa450edef68
* Corrected typoKim van der Riet2007-01-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@496874 13f79535-47bb-0310-9956-ffa450edef68
* Created wiring to client RequestManagers and ResponseManagers, refactored ↵Kim van der Riet2007-01-1611-150/+240
| | | | | | all frame write code to use new write mechanisms. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@496873 13f79535-47bb-0310-9956-ffa450edef68
* Removed the generics from the client handlersRajith Muditha Attapattu2007-01-1610-21/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@496732 13f79535-47bb-0310-9956-ffa450edef68
* Merged the refactor to a common AMQMethodListener class on trunk, plus the ↵Kim van der Riet2007-01-156-60/+66
| | | | | | race condition fix of Robert Godfrey. This opens the way for Request and Response managers to use a common event dispatch for both client and server. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@496326 13f79535-47bb-0310-9956-ffa450edef68
* Refactored to create a common AMQMethodEvent class; Added clinet Method* ↵Kim van der Riet2007-01-1229-187/+510
| | | | | | handlers, removed old Basic* handlers. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@495581 13f79535-47bb-0310-9956-ffa450edef68
* new class to hold message headersRajith Muditha Attapattu2007-01-121-0/+633
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@495451 13f79535-47bb-0310-9956-ffa450edef68
* Compilation fixes. The idea is to substitute the Basic methods with the new ↵Rajith Muditha Attapattu2007-01-1013-217/+266
| | | | | | Message class git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@495043 13f79535-47bb-0310-9956-ffa450edef68
* Created new common interfaces to support the RequestResponseManager on both ↵Kim van der Riet2007-01-101-1/+2
| | | | | | client and server git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@495000 13f79535-47bb-0310-9956-ffa450edef68
* Updated hardwired version occurrences in java from major=8 minor=0 to ↵Kim van der Riet2007-01-0510-56/+56
| | | | | | major=0 minor=9 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@493049 13f79535-47bb-0310-9956-ffa450edef68
* apply patch for QPID-231Stephen Vinoski2006-12-281-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@490872 13f79535-47bb-0310-9956-ffa450edef68
* QPID-229 Fixed spurious import in test classRobert Greig2006-12-221-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489804 13f79535-47bb-0310-9956-ffa450edef68
* QPID-229 : Patch supplied by Rob Godfrey - Change implementation of FieldTableRobert Greig2006-12-223-7/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489748 13f79535-47bb-0310-9956-ffa450edef68
* AMQP version using new generator - Part 1. In these changes, all places ↵Kim van der Riet2006-12-2210-43/+226
| | | | | | where version-specific info is required, it has been hard-wired to major=8, minor=0. The next phase of changes will connect the version info to that obtained from ProtocolInitiation for the current session. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489691 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: ↵Robert Greig2006-12-225-701/+1150
| | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-227Bhupendra Bhusman Bhardwaj2006-12-213-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489403 13f79535-47bb-0310-9956-ffa450edef68
* add clover support, fix logging level variablesStephen Vinoski2006-12-201-1/+0
| | | | | | | | Added support for the clover plugin to the top-level pom, and eliminated redundant amqj.logging.level variables from module poms. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489215 13f79535-47bb-0310-9956-ffa450edef68
* QPID-225Martin Ritchie2006-12-201-1/+14
| | | | | | Applied Patch for queue browsing with client acknowledgement git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489140 13f79535-47bb-0310-9956-ffa450edef68
* QPID-101Martin Ritchie2006-12-206-26/+306
| | | | | | | | | | | | | | | | | | | | | Initial Implementation of Queue Browsing by Robert Godfrey and Martin Ritchie AMQChannel.java - record messages browsed so not to discard them on ack. FilterManagerFactory.java - Added a NoConsumerFilter ConcurrentSelectorDeliveryManager.java - Update to send browsers messages without taking the message from other consumers Subscription.java - Added autoClose and isBrowser methods SubscriptionTestHelper.java / RemoteSubscriptionImpl.java / SubscriptionImpl.java - implemented new interface methods Added NoConsumerFilter.java Patches from Rob Godfrey for client implmentation AMQSession.java - Added AUTO_CLOSE and NO_CONSUME properties to arguments FieldTable for consume method. BasicMessageConsumer.java - updates to correctly close consumer when an BasicCancel is received from the broker. AMQProtocolSession.java - method to allow cancellation of the client AMQStateManager.java - added handler for BasicCancelOkMethodHandler.java Added new AMQQueueBrowser.java BasicCancelOkMethodHandler.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489106 13f79535-47bb-0310-9956-ffa450edef68
* QPID-223Martin Ritchie2006-12-206-34/+59
| | | | | | Applied patch from Rupert Smith git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489082 13f79535-47bb-0310-9956-ffa450edef68
* Maven output clean up.Martin Ritchie2006-12-192-7/+7
| | | | | | Mainly removed exception stack traces from expected exceptions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488713 13f79535-47bb-0310-9956-ffa450edef68
* QPID-216Martin Ritchie2006-12-192-10/+13
| | | | | | | | | | | | | | | | | | BasicConsumeMethodHandler.java - Pulled the nolocal param from the method body and passed down channel to subscription. SubscriptionFactory.java / AMQQueue.java/AMQChannel.java - passed the nolocal parameter through to the Subscription ConnectionStartOkMethodHandler.java - Saved the client properties so the client identifier can be used in comparison with the publisher id to implement no_local AMQMinaProtocolSession.java - added _clientProperties to store the sent client properties. AMQProtocolSession.java - interface changes to get/set ClientProperties ConcurrentSelectorDeliveryManager.java - only need to do hasInterset as this will take care of the hasFilters optimisation check. SubscriptionImpl.java - Added code to do comparison of client ids to determin insterest in a given message. SubscriptionSet.java - tidied up code to use hasInterest as this is where the nolocal is implemented. ConnectionStartMethodHandler.java - Moved literal values to a ClientProperties.java enumeration and a QpidProperties.java values. QpidConnectionMetaData.java - updated to get values from QpidProperties.java MockProtocolSession.java - null implementation of new get/set methods git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488712 13f79535-47bb-0310-9956-ffa450edef68
* QPID-21Martin Ritchie2006-12-197-38/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added: SelectorParser.jj - ActiveMQ selector javacc grammar used to generate SelectorParser.java server/filter - Selector Filtering code from ActiveMQ project adjusted to suite our class and package structure. server/message - Decorator classes to allow access to the JMSMessage inside the AMQMessage ConcurrentSelectorDeliveryManager.java - A new DeliveryManager that utilises PreDeliveryQueues to implement selectors AMQInvalidSelectorException.java - thrown on client and broker when the Selector text is invalid. Common: log4j.properties to remove error log4j warnings on Common tests. Modified: broker/pom.xml - to generate SelectorParser.java AMQChannel.java - Addition of argument fieldtable for filter setup. BasicConsumeMethodHandler.java - writing of InvalidSelector channel close exception. AMQMessage.java - Added decorator to get access to the enclosed JMSMessage AMQQueue.java - Enhanced 'deliverymanager' property to allow the selection of the ConcurrentSelectorDeliveryManager. Subscription.java - Enhanced interface to allow a subscription to state an 'interest' in a given message. SubscriptionFactory.java - Added method to allow passing of filter arguments. SubscriptionImpl.java - Implemented new Subscription.java methods. SubscriptionManager.java - Added ability to get a list of current subscribers. SubscriptionSet.java - augmented nextSubscriber to allow the subscriber to exert the new hasInterest feature. SynchronizedDeliveryManager.java - fixed Logging class AMQSession - Added filter extraction from consume call and pass it on to the registration. ChannelCloseMethodHandler.java - Handle the reception and correct raising of the InvalidSelector Exception AbstractJMSMessage.java - Expanded imports BlockingMethodFrameListener.java - added extra info to a debug output line. SocketTransportConnection.java - made output an info not a warn. PropertiesFileInitialContextFactory.java - updated to allow the PROVIDER_URL to specify a property file to read in for the initial values. ClusteredSubscriptionManager.java - Implementation of SubscriptionSet.java NestedSubscriptionManager.java - Implementation of SubscriptionManager.java RemoteSubscriptionImpl.java - Implementation Subscription.java AMQConstant.java - Added '322' "Invalid Selector" SubscriptionTestHelper.java - Implementation of Subscription.java Edited specs/amqp-8.0.xml to add field table to consume method. Thanks to the ActiveMQ project for writing the initial SelectorParser.jj and associated filter Expressions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488624 13f79535-47bb-0310-9956-ffa450edef68
* QPID-215 : Patch supplied by Rob Godfrey - Implement custom JMSX propertiesRobert Greig2006-12-197-46/+233
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488596 13f79535-47bb-0310-9956-ffa450edef68
* clean up warnings about unused variablesStephen Vinoski2006-12-188-21/+8
| | | | | | | | Remove all warnings in common, broker, client, and systests regarding unused variables, as indicated by Eclipse builds. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488450 13f79535-47bb-0310-9956-ffa450edef68
* QPID-212 QPID-214 Patch supplied by Rob GodfreyRobert Greig2006-12-184-18/+172
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488377 13f79535-47bb-0310-9956-ffa450edef68
* QPID-209 Fix to clear unacked message list on recover()Robert Greig2006-12-182-17/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488249 13f79535-47bb-0310-9956-ffa450edef68
* QPID-209 : Patch supplied by Rob Godfrey - Fix acknowledge so it only ↵Robert Greig2006-12-184-30/+108
| | | | | | acknowledges messages that have actually been consumed git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488159 13f79535-47bb-0310-9956-ffa450edef68
* remove unused importsStephen Vinoski2006-12-1827-55/+0
| | | | | | | | | Remove unused imports for common, broker, client, and systests as reported by Eclipse. Note that this includes imports in the Java XSL template used to generate the framing code in common. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488134 13f79535-47bb-0310-9956-ffa450edef68
* 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