summaryrefslogtreecommitdiff
path: root/java/client/src
Commit message (Collapse)AuthorAgeFilesLines
* fixed session memory leak exposed by SessionCreateTestRafael H. Schloming2009-07-251-14/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@797705 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1797: update bundle version format and output filenames, modify ant ↵Robert Gemmell2009-07-111-3/+4
| | | | | | | | | bundle task only to run for required modules git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793184 13f79535-47bb-0310-9956-ffa450edef68
* added system properties to control declaration of exchanges and queuesRafael H. Schloming2009-06-241-2/+14
| | | | | | QPID-155 requests this change git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788179 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1923: made createDurableSubscriber fail on a temporary topicRafael H. Schloming2009-06-223-4/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787231 13f79535-47bb-0310-9956-ffa450edef68
* made test ports configurable; this required adding variable expansion to ↵Rafael H. Schloming2009-06-181-2/+14
| | | | | | PropertiesFileInitialContextFactory git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@786269 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1887Rajith Muditha Attapattu2009-06-031-10/+14
| | | | | | | | | I incorporated the review comments and made the following changes. The current time is generated only if ttl is set or disable Timestamp is set to false. If ttl is set we set it and also calculate the expiration as current_time + ttl. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781515 13f79535-47bb-0310-9956-ffa450edef68
* Fixed QPID-1888 for the java broker. Also fixed a bug caught by the new ↵Rafael H. Schloming2009-06-031-2/+8
| | | | | | selector test where message ids were being set to the string 'ID:null' when message-ids are disabled. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781507 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1888Rajith Muditha Attapattu2009-06-031-0/+18
| | | | | | | The SelectorTest contains a test case to catch this as the JMS tck does not have one. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781244 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1887Rajith Muditha Attapattu2009-06-021-4/+2
| | | | | | | The TimeToLiveTest should be enough to cover this case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781141 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1875Rajith Muditha Attapattu2009-05-281-0/+12
| | | | | | | | The BindingURLParser is updated to grab the clientID and subscription to form the queue name. I also added a test case to cover this. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1864: sync the dispatch queue to make sure there are no messages in it ↵Rafael H. Schloming2009-05-192-4/+30
| | | | | | before we rollback, and fix the ordering so that messages are released in queue order git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@776378 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1859Rajith Muditha Attapattu2009-05-143-44/+19
| | | | | | | | | For FailoverSingleServer the default for retries is set to 0 and the current_retries start from 0 instead of -1. For FailoverRoundRobinServers the current_broker_index now starts from 0 instead of -1. The AMQConnection now uses the getCurrentBrokerDetails() instead of the getNextBrokerDetails() to get the initial broker to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774899 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1823: Allow recycling of channel IDsAidan Skinner2009-04-214-5/+75
| | | | | | | | | | | | AMQConnection.getNextChannelID: add method to abstract channel id assignment, allow max to be set AMQConnectionDelegate*: add getMaxChannelID AMQConnectionDelegate_0_10: use getNextChannelID for this session-id SessionCreateTest: add test that attempts to create 65555 sessions on one connection AMQConnectionTest: add unit test for getNextChannelID SessionCreateTest takes a long, long time to run so is excluded by default git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767185 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1824 : Add ability to use a ConnectionURL String to configure a ↵Martin Ritchie2009-04-212-0/+86
| | | | | | ConfigurationFactory via a 3rd party tools that use Bean properties such as Mule or Spring. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767150 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1809 : When a DisconnectedException is recieved check the StateManager ↵Martin Ritchie2009-04-151-0/+11
| | | | | | to see if there is a cause of the disconnection that we can throw instead to give more meaning. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765132 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1779 : Update to ensure CACFTest reports failures correctly and ↵Martin Ritchie2009-04-142-1/+31
| | | | | | resolved the issue that it was not showing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764790 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1779 : Fixed the close problem so that we only send Consumer/Session ↵Martin Ritchie2009-04-112-3/+10
| | | | | | closes when we have a connnection available to send the frame. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764140 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1779 : Application of patches attached to JIRA. Should address ↵Martin Ritchie2009-04-104-12/+43
| | | | | | | | connection close issues experienced on 0-8/9 branch Excluded test from TCP runs as it is hardwired to InVM. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764109 13f79535-47bb-0310-9956-ffa450edef68
* This is a test case for QPID-1777Rajith Muditha Attapattu2009-03-312-0/+98
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@760305 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1778 : Add NoFailover FailoverMethod that blocks that still allows ↵Martin Ritchie2009-03-274-3/+72
| | | | | | connection retry but only on the initial connection. Failover will not be attempted after an established connection is lost. Updated FailoverMethodTest to test this behaviour. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@759097 13f79535-47bb-0310-9956-ffa450edef68
* This is a simple fix for the problem highlighted in QPID-1777Rajith Muditha Attapattu2009-03-261-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@758820 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-1761 and QPID-1762: made BBEncoder.grow() flip the buffer ↵Rafael H. Schloming2009-03-204-26/+22
| | | | | | before copying; added a BBEncoder test; made unrecognized mime types default to BytesMessage; added logging of exception root cause to AMQSession; fixed miscelaneous test failures git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@756328 13f79535-47bb-0310-9956-ffa450edef68
* These classes are not used in any meaningful way.Rajith Muditha Attapattu2009-03-191-135/+0
| | | | | | | I am removing them to avoid any confusion they may cause. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@756231 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1760Rajith Muditha Attapattu2009-03-194-47/+12
| | | | | | | | The AbstractBytesMessage will now use the toString method from AbstractJMSMessage Also I have modified the toBodyString method in AbstractBytesMessage to use a function that can handle unprintable charachters and print contents upto a maximum of 100 bytes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@756228 13f79535-47bb-0310-9956-ffa450edef68
* Allow immediate and mandatory defaults to be changedMartin Ritchie2009-03-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752528 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1720Rajith Muditha Attapattu2009-03-062-7/+29
| | | | | | | The fix is a bit of a hack, but I don't see another way to handle it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1451 : Added the ability to log first message recevied in Queue Browser.Martin Ritchie2009-03-061-31/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750868 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1713Rajith Muditha Attapattu2009-03-041-14/+144
| | | | | | | | The automated test case for this is still being worked out. However this feature has been tested manually. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750205 13f79535-47bb-0310-9956-ffa450edef68
* Corrected a spelling mistakeRajith Muditha Attapattu2009-03-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750204 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1712: changed default value for _cycleRetries to 1Arnaud Simon2009-03-041-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750025 13f79535-47bb-0310-9956-ffa450edef68
* reset byte credit after flushing when not prefetching, this is a follow up ↵Rafael H. Schloming2009-03-031-4/+4
| | | | | | fix for QPID-1642/QPID-1643 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749842 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1692Rajith Muditha Attapattu2009-02-261-3/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748197 13f79535-47bb-0310-9956-ffa450edef68
* don't try to return messages unless the session is startedRafael H. Schloming2009-02-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748158 13f79535-47bb-0310-9956-ffa450edef68
* fixup of change for QPID-1642 and QPID-1643Rafael H. Schloming2009-02-262-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747977 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1106Rajith Muditha Attapattu2009-02-251-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747964 13f79535-47bb-0310-9956-ffa450edef68
* Made the various receive variants check that the server queue is empty ↵Rafael H. Schloming2009-02-259-121/+165
| | | | | | before returning null. Also modified AMQQueueBrowser to use receiveNoWait() when browsing queues using 0-10. These changes uncovered numerous second order bugs, mostly in failover. These are also fixed. This fixes QPID-1642 and QPID-1643. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747963 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1106 and QPID-1677Rajith Muditha Attapattu2009-02-255-9/+100
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747962 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1684: removed polluting rewind and useless importsArnaud Simon2009-02-251-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1665: turn off ack delay if qpid.session.max_ack_delay is set to a ↵Rafael H. Schloming2009-02-191-17/+26
| | | | | | non-positive value git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@745900 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1665: add a timer to ensure message acking is never delayed more than ↵Rafael H. Schloming2009-02-191-15/+45
| | | | | | 1000 ms by default, this is configurable by qpid.session.max_ack_delay git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@745892 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1665: changed acknowledgeMessage so to ack messages even if maxprefetch ↵Arnaud Simon2009-02-161-2/+2
| | | | | | is greater than 1 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@744917 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1623: Allow null as a valid destination for JMSReplyToAidan Skinner2009-02-113-2/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743367 13f79535-47bb-0310-9956-ffa450edef68
* Missed the modifications to FailoverRoundRobinServers.java during the commit ↵Rajith Muditha Attapattu2009-02-091-1/+1
| | | | | | | | | for QPID-1649 Missed the modifications to ServerDelegate during the cleanup done in rev 742269 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@742278 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1645Rajith Muditha Attapattu2009-02-091-0/+1
| | | | | | | | | Added support to specify the sasl_mechs as a space separated list in the connection URL. By default it will use PLAIN. You could provide a list of mechs to support or force to use one GASSAPI or CRAM-MD5 by specifying only that in the connection URL. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@742267 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1649Rajith Muditha Attapattu2009-02-095-4/+194
| | | | | | | There is some code in AMQConnectionDelegate_0_10.java related to QPID-1645 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@742260 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1644Rajith Muditha Attapattu2009-02-092-5/+8
| | | | | | | If the exchange name starts with "amq." then the passive flag will be set to true in the exchangeDeclare command git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@742255 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1654Rajith Muditha Attapattu2009-02-092-11/+65
| | | | | | | This contains the first step towards supporting a queue bound to any exchange type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@742250 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for the problem highlighted in QPID-1374Rajith Muditha Attapattu2009-02-063-23/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@741754 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1609.Rajith Muditha Attapattu2009-01-236-41/+84
| | | | | | | | Currently we only check idle state on the incomming side. In the future we plan to add code to send a heartbeat when we reach the idle state on the outgoing side. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@737125 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1608Rajith Muditha Attapattu2009-01-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736447 13f79535-47bb-0310-9956-ffa450edef68