summaryrefslogtreecommitdiff
path: root/java/client/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* QPID-1605: added an assertion to catch acknowledgments of message-ids ↵Rafael H. Schloming2009-01-217-45/+122
| | | | | | outside the range permitted on a session; added code to pause failover until messages from old sessions have been cleared out of the dispatcher queue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736316 13f79535-47bb-0310-9956-ffa450edef68
* This is related QPID-1479Rajith Muditha Attapattu2009-01-132-3/+25
| | | | | | | This commit contains the modifications for using the thread abstraction within MINA. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734214 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1479Rajith Muditha Attapattu2009-01-131-18/+37
| | | | | | | This commit contains the core classes for adding the thread abstraction patch git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734205 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1487: Make AMQDestination generate URLs with a destination set to the ↵Aidan Skinner2008-11-262-1/+43
| | | | | | routing key. Add a test for this. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720919 13f79535-47bb-0310-9956-ffa450edef68
* Appologies for the sudden checkin without notice, close to the release cycle.Rajith Muditha Attapattu2008-11-211-37/+18
| | | | | | | Reverting the changes back. Will attach a patch and commit after the release. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719657 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1479.Rajith Muditha Attapattu2008-11-211-18/+37
| | | | | | | | | | | | | | | For starters I have changed the IoSender.java IoReceiver.java and AMQSession.java#Dispatcher to use the Thread factory to create the threads they require. The ThreadFactory has two implimentations, the default being the java.lang.Threads. The other is the RealtimeThreadFactory which uses reflection to create threads with a specific priority. -Dqpid.thread_factory=<thread_factory_class> will decide which thread factory should be loaded. -Dqpid.rt_thread_priority=<int> specifies the gloabl real time thread priority and defaults to 20. You could also set individual thread priorities by adding the nessacery config+code changes. I have also changed the Testkit and QpidBench to use the Thread factory so you could use them for testing/benchmarking work on RT JVMs. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719628 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1454 : Synchronize round the setting and usage of _failoverLatch, with ↵Martin Ritchie2008-11-181-3/+12
| | | | | | a new lock. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718554 13f79535-47bb-0310-9956-ffa450edef68
* updated version numbers and release notes for M4Rafael H. Schloming2008-11-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@714267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1430: *ahem* better fix for NPE on connection closeRafael H. Schloming2008-11-061-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711939 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1434 : Changed rethrow() name based on feedback from RobMartin Ritchie2008-11-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711848 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1431 : Prevent listeners being added to _frameListeners when an ↵Martin Ritchie2008-11-064-13/+739
| | | | | | exception state has occured due to connection closure. This adds additional synchronisation to the error handling condition. It also removes the need for a CopyOnWriteArrayList that was perhaps the wrong data structure for this list. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711822 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1326Rajith Muditha Attapattu2008-11-051-0/+4
| | | | | | | | If a transport is specified and if "//" is missing from the URL, an error will be thrown. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711740 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1430: fixed an NPE on connection closeRafael H. Schloming2008-11-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711377 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1420: swapped out the size limited ArrayBlockingQueue with a ↵Rafael H. Schloming2008-10-301-3/+4
| | | | | | LinkedBlockingQueue, this eliminates the need to coordinate the size of the synchronousQueue with the max prefetch, and hopefully prevents the deadlock described in the JIRA git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1339:Rafael H. Schloming2008-10-277-55/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Modified QpidTestCase to start/stop multiple brokers for failover testing. - Modified QpidTestCase to substitute port variables into broker start/stop commands. - Modified test profiles to use the new port variables. - Modified QpidTestCase to permit multiple exclude files. - Modified test profiles to make use of a common exclude list: ExcludeList - Added ConnectionTest.testResumeEmptyReplayBuffer. - Made default exception handling for Connection and Session log the exception. - Added SenderExcetion to specifically signal problems with transmitting connection data. - Modified Session to catch and deal with connection send failures for sessions with positive expiry. - Modified FailoverBaseCase to work for non VM brokers. - Made FailoverTest fail if failover times out. - Modified JMS implementation to make use of the recently added low level session resume. - Unexcluded failover tests from 0-10 test profiles. - Excluded MultipleJCAProviderRegistrationTest due to its testing strategy resulting in spurious failure when running as part of the larger test suite. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708093 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1394 : Registration of JCAProvider is incorrect in client and broker ↵Martin Ritchie2008-10-243-5/+19
| | | | | | SASL configurations git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1398: use bnd tool to produce osgi bundles with 'ant bundle'Aidan Skinner2008-10-241-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707654 13f79535-47bb-0310-9956-ffa450edef68