summaryrefslogtreecommitdiff
path: root/qpid/java/client/src/main
Commit message (Collapse)AuthorAgeFilesLines
* 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@612620 13f79535-47bb-0310-9956-ffa450edef68
* Fixed various compilation errorsRajith Muditha Attapattu2008-01-168-49/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612593 13f79535-47bb-0310-9956-ffa450edef68
* Please refer JIRA's 739,740 and 741 for more information about the issues.Rajith Muditha Attapattu2008-01-169-84/+72
| | | | | | | | | | | | | | | | | | | | AMQDestination Renamed the destinationName to routingKey as it is incorrectly used. Also modified it to recognize fannout exchange AMQQueue Modified to return the proper routing key to support situations where the queue name and the routing key is different. BasicMessageProducer_0_10.java Added a temp hack to interoperate with python. The bug is in python and it needs to be fixed. Basically python relies on the content length to pass the content frames properly. So I added a line to calculate the content length and sets it in the message properties. The rest was modified to reflect the change done in AMQDestination. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612581 13f79535-47bb-0310-9956-ffa450edef68
* see QPID-739Arnaud Simon2008-01-161-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612471 13f79535-47bb-0310-9956-ffa450edef68
* Added MESSAGE_FLOW_MAX_BYTES that is used by new examples. This value may ↵Arnaud Simon2008-01-161-0/+1
| | | | | | need to be changed as it has only be added to repair the build. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612396 13f79535-47bb-0310-9956-ffa450edef68
* cashed headers: see QPID-720Arnaud Simon2008-01-046-15/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608840 13f79535-47bb-0310-9956-ffa450edef68
* added "..qpidity" package (see Qpid-719)Arnaud Simon2008-01-041-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608823 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-710: changed start so connection is started before messages are deliveredArnaud Simon2007-12-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@604939 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-708: changed setCleintID to throw the expected exceptionArnaud Simon2007-12-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@604799 13f79535-47bb-0310-9956-ffa450edef68
* changed for accepting messages without headearsArnaud Simon2007-12-071-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@602116 13f79535-47bb-0310-9956-ffa450edef68
* Added a very basic plain nio transport. You could flip between the ↵Rajith Muditha Attapattu2007-11-303-5/+21
| | | | | | | | | transports using -Dtransport="nio". By default it's the MINA transport. You can also turn on batching for the nio transport by using -Dbatch="true". This option has no effect on MINA. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599856 13f79535-47bb-0310-9956-ffa450edef68
* added flushArnaud Simon2007-11-291-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599452 13f79535-47bb-0310-9956-ffa450edef68
* Setting the message to null to mark for garbage collectionRajith Muditha Attapattu2007-11-292-4/+7
| | | | | | | | noAck still has to clear our internal command ids. increased the default max prefetch to 1000 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599255 13f79535-47bb-0310-9956-ffa450edef68
* Added the JVM switch -DnoAck to disable the sending the semantic ackRajith Muditha Attapattu2007-11-271-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598719 13f79535-47bb-0310-9956-ffa450edef68
* added a jvm switch called -DnoAck to disable the semantic ack, the current ↵Rajith Muditha Attapattu2007-11-271-2/+1
| | | | | | solution used a Qpid specific NO_ACK method in the extended session. However if people are using a pure JMS API then they have no way of taking use of this feature, therefore I added this jvm switch git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598717 13f79535-47bb-0310-9956-ffa450edef68