summaryrefslogtreecommitdiff
path: root/java/client/src/main
Commit message (Collapse)AuthorAgeFilesLines
* QPID-832 merge M2.xAidan Skinner2008-04-2470-1320/+3761
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-939 Added "ID:" to message IDArnaud Simon2008-04-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-798 Make property per connection and/or system wide; change name to ↵Arnaud Simon2008-04-184-2/+26
| | | | | | SYNC_PERSISTENT to denote only used on persistent messages git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649409 13f79535-47bb-0310-9956-ffa450edef68
* QPID-796 Made connection URL property + use session level methodArnaud Simon2008-04-175-11/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649070 13f79535-47bb-0310-9956-ffa450edef68
* QPID-919 Changed AMQBrokerDetails to throw an URL exception when the port ↵Arnaud Simon2008-04-171-0/+7
| | | | | | number is not specified. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: don't depend on constant values matching up when converting ↵Rafael H. Schloming2008-04-161-1/+13
| | | | | | between JMS and AMQP delivery modes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648771 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: add back ExceptionHelper.java to fix the buildRafael H. Schloming2008-04-161-0/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648699 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: updates to the java client to use the 0-10 final spec instead of ↵Rafael H. Schloming2008-04-1660-12503/+373
| | | | | | the 0-10 preview spec; this includes improvements to the codegen process as well as some modifications to the shared code path in the client to not lose per message state when consumers are closed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-798 Added boolean property fully_sync when true a sync is sent after a ↵Arnaud Simon2008-04-041-3/+10
| | | | | | persistent message is transfered. . git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644689 13f79535-47bb-0310-9956-ffa450edef68
* QPID-796: Added ability to enable/disable message prefetching. Prefetching ↵Arnaud Simon2008-04-043-34/+135
| | | | | | is controlled through the property max_prefetch, it is turned off when max_prefetch =0. (this is 0.10 code path change) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644688 13f79535-47bb-0310-9956-ffa450edef68
* QPID-829 Remove 0.10 specific URL. The code path is now selected based on ↵Arnaud Simon2008-04-027-87/+97
| | | | | | broker response. We first try the highest protocol version and update the handler if the broker replies with a different protocol version. NOTE that we need to update the current java broker and 0.8 client for handling protocol headers. This should happen with the M2.1 merge. For the moment we only support an in VM 0.8 broker. Moreover, we'll need to migrate to a 0.10 vs 99.0 protocol version. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643822 13f79535-47bb-0310-9956-ffa450edef68
* Revision 636791 says: "Added constant to represent the AMQP versions, as ↵Arnaud Simon2008-03-181-1/+2
| | | | | | previously it was hard-coded." Those constants must be used when the connection is established. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@638344 13f79535-47bb-0310-9956-ffa450edef68
* Removed redundant code (see QPID-838). As this is a major 0.10 change tck ↵Arnaud Simon2008-03-072-92/+10
| | | | | | has been run prior to committing it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634696 13f79535-47bb-0310-9956-ffa450edef68
* This is a very simple fix for QPID-837 (this code will be changed once the ↵Arnaud Simon2008-03-071-1/+1
| | | | | | merge is completed) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634664 13f79535-47bb-0310-9956-ffa450edef68
* Stop the dispatcher thread before closing the session so it does not acquire ↵Arnaud Simon2008-03-041-0/+4
| | | | | | a lock on _messageDeliveryLock (See QPID-833) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633522 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-823: Dispatcher thread should be closed after consumers have been closed. Arnaud Simon2008-02-291-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632331 13f79535-47bb-0310-9956-ffa450edef68
* See Qpid-817Arnaud Simon2008-02-281-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631931 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the toString method to avoid printing both a routingkey and bindingkey ↵Rajith Muditha Attapattu2008-02-271-8/+8
| | | | | | | | | and also to properly printout the bindingkeys when required. This bug caused 3 test failures. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631698 13f79535-47bb-0310-9956-ffa450edef68
* This contains the ground work for QPID-803.Rajith Muditha Attapattu2008-02-2710-83/+240
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631486 13f79535-47bb-0310-9956-ffa450edef68
* Changed checkPreConditions for accessing directly to _messageSelectorArnaud Simon2008-02-253-3/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@630847 13f79535-47bb-0310-9956-ffa450edef68
* added message releasing when messag listener is setArnaud Simon2008-02-211-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629806 13f79535-47bb-0310-9956-ffa450edef68
* changed for creating durable queue for a durable subscriberArnaud Simon2008-02-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629750 13f79535-47bb-0310-9956-ffa450edef68
* changed for notifying message arrival when the header does not have a payloadArnaud Simon2008-02-211-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629749 13f79535-47bb-0310-9956-ffa450edef68
* protect the _currentException variable with its own lock, this avoids ↵Rafael H. Schloming2008-02-151-9/+13
| | | | | | deadlocks between getCurrentException and the dispatcher thread git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@628132 13f79535-47bb-0310-9956-ffa450edef68
* recompute internal 0-10 message for reused messagesRafael H. Schloming2008-02-142-12/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627655 13f79535-47bb-0310-9956-ffa450edef68
* rethrow exception rather than ignoring itRafael H. Schloming2008-02-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627653 13f79535-47bb-0310-9956-ffa450edef68
* set initial causeRafael H. Schloming2008-02-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627652 13f79535-47bb-0310-9956-ffa450edef68
* Fix for Qpid-793Rajith Muditha Attapattu2008-02-141-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627634 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-791Rajith Muditha Attapattu2008-02-141-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627629 13f79535-47bb-0310-9956-ffa450edef68
* modified it to show the selector test bugRajith Muditha Attapattu2008-02-131-3/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627543 13f79535-47bb-0310-9956-ffa450edef68
* applied patch from rajith to fix reply-toRafael H. Schloming2008-02-121-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627187 13f79535-47bb-0310-9956-ffa450edef68
* added a test for message send followed by immediate connection close; fixed ↵Rafael H. Schloming2008-02-121-0/+38
| | | | | | connection close handshaking git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627157 13f79535-47bb-0310-9956-ffa450edef68
* added test for exception listener; fixed NPERafael H. Schloming2008-02-071-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619538 13f79535-47bb-0310-9956-ffa450edef68
* Removed the System.outs from the code.Rajith Muditha Attapattu2008-02-061-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619192 13f79535-47bb-0310-9956-ffa450edef68
* Added code to pass in the throwable to the closedListener so that it can be ↵Rajith Muditha Attapattu2008-02-0610-20/+47
| | | | | | included in the JMS Exception thrown via the ExceptionListener git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619189 13f79535-47bb-0310-9956-ffa450edef68
* added close notificationRafael H. Schloming2008-02-061-1/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619182 13f79535-47bb-0310-9956-ffa450edef68
* Added close logic for releasing pre-fetched messages, see QPID-778Arnaud Simon2008-02-063-3/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619043 13f79535-47bb-0310-9956-ffa450edef68
* Changed for using Window mode see QPID-778Arnaud Simon2008-02-062-29/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@619012 13f79535-47bb-0310-9956-ffa450edef68
* QPID-777 and QPID-778Arnaud Simon2008-02-067-234/+266
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@618986 13f79535-47bb-0310-9956-ffa450edef68
* Byte message were losing their payload see QPI-779Arnaud Simon2008-02-062-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@618984 13f79535-47bb-0310-9956-ffa450edef68
* Added code to connect the network error exceptions to the JMS Exception ↵Rajith Muditha Attapattu2008-02-052-1/+11
| | | | | | listener. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@618519 13f79535-47bb-0310-9956-ffa450edef68
* added exception callback to ConnectonDelegateRafael H. Schloming2008-02-041-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@618437 13f79535-47bb-0310-9956-ffa450edef68
* avoid use of Throwable.initCause(e) that is illegal with java 1.6Rafael H. Schloming2008-01-311-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@617305 13f79535-47bb-0310-9956-ffa450edef68
* added support to notify connection.close to the JMSExceptionListenerRajith Muditha Attapattu2008-01-291-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@616542 13f79535-47bb-0310-9956-ffa450edef68
* added a null check in the getContentLength methodRajith Muditha Attapattu2008-01-241-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@614784 13f79535-47bb-0310-9956-ffa450edef68
* replaced printlns with debug statementsArnaud Simon2008-01-181-3/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@613163 13f79535-47bb-0310-9956-ffa450edef68
* Qpid 742Arnaud Simon2008-01-182-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@613114 13f79535-47bb-0310-9956-ffa450edef68
* see qpid-743Arnaud Simon2008-01-171-4/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@612821 13f79535-47bb-0310-9956-ffa450edef68
* see qpid-742Arnaud Simon2008-01-175-2/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@612820 13f79535-47bb-0310-9956-ffa450edef68
* fixed an error in AMQTopic.javaRajith Muditha Attapattu2008-01-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@612620 13f79535-47bb-0310-9956-ffa450edef68